diff options
Diffstat (limited to 'i3/.i3/config')
-rw-r--r-- | i3/.i3/config | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/i3/.i3/config b/i3/.i3/config index 05330c2..39817ec 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -12,10 +12,13 @@ exec xautolock -time 10 -locker 'i3lock -d' -corners 000- -cornersize 30 bindsym $mod+Control+Shift+l exec xautolock -locknow # Assignments -assign [class="Firefox"] 1 +assign [class="firefox-esr"] 1 assign [class="thunderbird"] 10 assign [class="Zotero"] 3 +# Zoom uses lots of pop-ups +for_window [class="zoom"] floating enable + # Menus bindsym $mod+d exec dmenu_run -i -fn 'DejaVu Sans' bindsym $mod+p exec passmenu -i -l 20 -fn 'DejaVu Sans' @@ -35,15 +38,20 @@ bindsym $mod+Shift+i exec urxvt -name floating-large -e sudo htop for_window [class="URxvt" instance="floating-small"] floating toggle resize set 600 400 bindsym XF86Calculator exec urxvt -name floating-small -e python3 -# Special keys +# Special keys: print screen bindsym Print exec scrot -z '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png' bindsym Shift+Print exec scrot -z -u '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png' bindsym --release Control+Print exec scrot -z -s '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png' -bindsym XF86AudioMute exec amixer sset Master toggle && kill -s 10 `pidof i3status` -bindsym XF86AudioRaiseVolume exec amixer sset Master 1%+ && kill -s 10 `pidof i3status` -bindsym XF86AudioLowerVolume exec amixer sset Master 1%- && kill -s 10 `pidof i3status` +# Special keys: locate cursor +bindsym $mod+c exec find-cursor -c '#ff0000' + +# Special keys: audio +bindsym XF86AudioMute exec amixer -D pulse sset Master toggle && kill -s 10 `pidof i3status` +bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && kill -s 10 `pidof i3status` +bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && kill -s 10 `pidof i3status` +# Special keys: monitor brightness / nightlight bindsym XF86MonBrightnessUp exec bash -c 'echo "$(($(cat /sys/class/backlight/amdgpu_bl0/brightness)+10))" > /sys/class/backlight/amdgpu_bl0/brightness' bindsym XF86MonBrightnessDown exec bash -c 'echo "$(($(cat /sys/class/backlight/amdgpu_bl0/brightness)-10))" > /sys/class/backlight/amdgpu_bl0/brightness' bindsym Shift+XF86MonBrightnessUp exec bash -c 'echo 255 > /sys/class/backlight/amdgpu_bl0/brightness' |