diff options
Diffstat (limited to 'i3')
-rw-r--r-- | i3/.i3/config | 10 | ||||
l--------- | i3/bin/find-cursor | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/i3/.i3/config b/i3/.i3/config index 05330c2..ac7186e 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -16,6 +16,9 @@ assign [class="Firefox"] 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' +# Special keys: locate cursor +bindsym $mod+c exec find-cursor -c '#ff0000' + +# Special keys: audio 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: 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' diff --git a/i3/bin/find-cursor b/i3/bin/find-cursor new file mode 120000 index 0000000..4ea0e80 --- /dev/null +++ b/i3/bin/find-cursor @@ -0,0 +1 @@ +../../find-cursor/find-cursor
\ No newline at end of file |