From 47d8d2a54a58e1be3862d5b028dc4b11af738da2 Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Tue, 30 Aug 2022 13:04:52 -0400 Subject: [PATCH] add brightness controls mode --- conf.d/mode_brightness.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 conf.d/mode_brightness.conf diff --git a/conf.d/mode_brightness.conf b/conf.d/mode_brightness.conf new file mode 100644 index 0000000..23443fc --- /dev/null +++ b/conf.d/mode_brightness.conf @@ -0,0 +1,19 @@ +bindsym $mod+x mode "brightness" +mode "brightness" { + bindsym j exec "brightnessctl s +10%" + bindsym k exec "brightnessctl s 10%-" + bindsym 1 exec "brightnessctl s 10%" + bindsym 2 exec "brightnessctl s 20%" + bindsym 3 exec "brightnessctl s 30%" + bindsym 4 exec "brightnessctl s 40%" + bindsym 5 exec "brightnessctl s 50%" + bindsym 6 exec "brightnessctl s 60%" + bindsym 7 exec "brightnessctl s 70%" + bindsym 8 exec "brightnessctl s 80%" + bindsym 9 exec "brightnessctl s 90%" + bindsym 0 exec "brightnessctl s 1000%" + + + bindsym Return mode "default" + bindsym Escape mode "default" +}