aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3')
-rw-r--r--i3/.i3/config7
l---------i3/bin/find-cursor1
2 files changed, 7 insertions, 1 deletions
diff --git a/i3/.i3/config b/i3/.i3/config
index 05330c2..c2c6bd0 100644
--- a/i3/.i3/config
+++ b/i3/.i3/config
@@ -35,15 +35,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