Compare commits
6 Commits
7eddfb408c
...
cea6deafec
| Author | SHA1 | Date | |
|---|---|---|---|
|
cea6deafec
|
|||
|
8b1b0915cb
|
|||
|
a4d3d0113e
|
|||
|
a8b0fed1a1
|
|||
|
30748f41b0
|
|||
|
698612fb2a
|
@ -7,6 +7,10 @@ set -x EDITOR nvim
|
|||||||
set -x QT_STYLE_OVERRIDE Oxygen
|
set -x QT_STYLE_OVERRIDE Oxygen
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
|
{% if hostname == "buran" %}
|
||||||
|
set -x QT_QPA_PLATFORMTHEME qt5ct
|
||||||
|
{% end %}
|
||||||
|
|
||||||
{% if username == "u0_a213" %}
|
{% if username == "u0_a213" %}
|
||||||
set -x USER hulthe
|
set -x USER hulthe
|
||||||
{% end %}
|
{% end %}
|
||||||
@ -48,3 +52,12 @@ fish_ssh_agent
|
|||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
|
|
||||||
|
{% if hostname == "buran" %}
|
||||||
|
# start sway if logging in on tty 1
|
||||||
|
if status is-login
|
||||||
|
if test $XDG_SESSION_TYPE = "tty" -a $XDG_VTNR = "1"
|
||||||
|
exec sway
|
||||||
|
end
|
||||||
|
end
|
||||||
|
{% end %}
|
||||||
|
|||||||
4
tree/.config/gtk-3.0/settings.ini.tpl
Normal file
4
tree/.config/gtk-3.0/settings.ini.tpl
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{% if hostname == "buran" %}
|
||||||
|
[Settings]
|
||||||
|
gtk-application-prefer-dark-theme = true
|
||||||
|
{% end %}
|
||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"suggest.noselect": true,
|
||||||
"languageserver": {
|
"languageserver": {
|
||||||
"rust": {
|
"rust": {
|
||||||
"command": "rust-analyzer",
|
"command": "rust-analyzer",
|
||||||
|
|||||||
@ -181,7 +181,7 @@ noremap <leader>h :noh<Enter>
|
|||||||
noremap <c-r> :Rooter<Enter>
|
noremap <c-r> :Rooter<Enter>
|
||||||
let g:rooter_manual_only = 1
|
let g:rooter_manual_only = 1
|
||||||
|
|
||||||
" Toggle between buffers
|
" Toggle between begin
|
||||||
nnoremap <leader><leader> <c-^>
|
nnoremap <leader><leader> <c-^>
|
||||||
|
|
||||||
" Managing tabs
|
" Managing tabs
|
||||||
@ -200,6 +200,11 @@ nmap <leader>d :<C-u>CocList diagnostics<Enter>
|
|||||||
nmap <leader>c :<C-u>CocList commands<Enter>
|
nmap <leader>c :<C-u>CocList commands<Enter>
|
||||||
nmap <leader>s :<C-u>CocList -I symbols<Enter>
|
nmap <leader>s :<C-u>CocList -I symbols<Enter>
|
||||||
nmap <leader>o :<C-u>CocOutline<Enter>
|
nmap <leader>o :<C-u>CocOutline<Enter>
|
||||||
|
imap <expr><Enter> coc#pum#visible() ? coc#pum#confirm() : "\<Enter>"
|
||||||
|
imap <silent><expr> <TAB>
|
||||||
|
\ coc#pum#visible() ? coc#pum#next(1) :
|
||||||
|
\ coc#refresh()
|
||||||
|
imap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
||||||
|
|
||||||
" grammarous
|
" grammarous
|
||||||
nmap <leader>gc :GrammarousCheck<Enter>
|
nmap <leader>gc :GrammarousCheck<Enter>
|
||||||
|
|||||||
@ -25,7 +25,18 @@ xwayland enable
|
|||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
|
#
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
{% if hostname == "vostok" %}
|
||||||
|
output eDP-1 scale 1.5
|
||||||
|
output DP-1 scale 1.5
|
||||||
|
{% elif hostname == "buran" %}
|
||||||
|
output eDP-1 scale 2.0
|
||||||
|
output DP-1 scale 1.5
|
||||||
|
{% end %}
|
||||||
output * bg ~/.config/wallpapers/2560x1440/rocket.jpg fill
|
output * bg ~/.config/wallpapers/2560x1440/rocket.jpg fill
|
||||||
|
|
||||||
# Window decoration
|
# Window decoration
|
||||||
@ -36,14 +47,6 @@ client.unfocused #56636e #56636e #e0c1c1 #7c818c #56636e
|
|||||||
client.urgent #7c818c #bf616a #ffffff #900000 #56636e
|
client.urgent #7c818c #bf616a #ffffff #900000 #56636e
|
||||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #56636e
|
client.placeholder #000000 #0c0c0c #ffffff #000000 #56636e
|
||||||
|
|
||||||
#
|
|
||||||
# Example configuration:
|
|
||||||
#
|
|
||||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
|
||||||
#
|
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
|
||||||
output eDP-1 scale 1.5 position 3413,480
|
|
||||||
output DP-2 resolution 5120x2160 scale 1.5 position 0,0
|
|
||||||
|
|
||||||
### Autostart
|
### Autostart
|
||||||
exec nextcloud
|
exec nextcloud
|
||||||
@ -117,8 +120,8 @@ input * {
|
|||||||
bindsym XF86AudioLowerVolume exec voldown
|
bindsym XF86AudioLowerVolume exec voldown
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
|
bindsym XF86MonBrightnessDown exec brightnessctl --min-value=10 set 10%-
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl set +10%
|
bindsym XF86MonBrightnessUp exec brightnessctl --min-value=10 set +10%
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
bindsym XF86AudioNext exec playerctl next
|
bindsym XF86AudioNext exec playerctl next
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
@ -22,6 +22,16 @@ OPTIONAL_CMDS="grim lockscreen-blur"
|
|||||||
SCREENCAP="grim -t ppm -"
|
SCREENCAP="grim -t ppm -"
|
||||||
BLUR_FACTOR=40
|
BLUR_FACTOR=40
|
||||||
|
|
||||||
|
{% elif hostname == "buran" %}
|
||||||
|
|
||||||
|
# rendered for buran
|
||||||
|
LOCKPROG=swaylock
|
||||||
|
LOCKARGS="--config $HOME/.config/sway/swaylock.config --image $TMP_IMG"
|
||||||
|
LOCKARGS_NOCOOL="--config $HOME/.config/sway/swaylock.config --color 302f3b"
|
||||||
|
OPTIONAL_CMDS="grim lockscreen-blur"
|
||||||
|
SCREENCAP="grim -t ppm -"
|
||||||
|
BLUR_FACTOR=40
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
echo "screenlock not configured for this system"
|
echo "screenlock not configured for this system"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
4
tree/.local/bin/voldown
Executable file
4
tree/.local/bin/voldown
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
volshow
|
||||||
9
tree/.local/bin/volshow
Executable file
9
tree/.local/bin/volshow
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
alacritty -t "Volume" \
|
||||||
|
--class "volume_indicator" \
|
||||||
|
--config-file "$HOME/.config/alacritty/silent.yml" \
|
||||||
|
--command volume_indicator \
|
||||||
|
--cols 30 \
|
||||||
|
--rows 3 \
|
||||||
|
--timeout 1000
|
||||||
4
tree/.local/bin/volup
Executable file
4
tree/.local/bin/volup
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
volshow
|
||||||
Reference in New Issue
Block a user