aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-17 15:26:43 -0300
committerEuAndreh <eu@euandre.org>2023-02-17 15:26:43 -0300
commit46010778db3288a59eb3fedee39fd3a8ab340aee (patch)
treefe3afae72a18f86eb7aed09ab8bf5cf4e57e327b
parentbin/: Use explicit "--" separator for assert-arg usages (diff)
downloaddotfiles-46010778db3288a59eb3fedee39fd3a8ab340aee.tar.gz
dotfiles-46010778db3288a59eb3fedee39fd3a8ab340aee.tar.xz
Use "brightnessctl" both on xmonad and i3
-rw-r--r--etc/guix/home.scm2
-rw-r--r--etc/i3/config4
-rw-r--r--etc/xmonad/xmonad.hs4
3 files changed, 5 insertions, 5 deletions
diff --git a/etc/guix/home.scm b/etc/guix/home.scm
index df0f56d..b834150 100644
--- a/etc/guix/home.scm
+++ b/etc/guix/home.scm
@@ -519,7 +519,7 @@
hicolor-icon-theme
- xbacklight
+ brightnessctl
electrum
keepassxc
diff --git a/etc/i3/config b/etc/i3/config
index 18d109a..212ebee 100644
--- a/etc/i3/config
+++ b/etc/i3/config
@@ -37,8 +37,8 @@ Bindsym Shift+F5 exec player rotate
bindsym F6 exec player forward
bindsym Shift+F6 exec player next
-bindsym F7 exec brightness -1
-bindsym F8 exec brightness +1
+bindsym F7 exec brightnessctl -- set -10%
+bindsym F8 exec brightnessctl -- set +10%
bindsym --release Print exec shot
bindsym --release $mod+Print exec shot -m
diff --git a/etc/xmonad/xmonad.hs b/etc/xmonad/xmonad.hs
index d7e45ac..b65b04d 100644
--- a/etc/xmonad/xmonad.hs
+++ b/etc/xmonad/xmonad.hs
@@ -45,8 +45,8 @@ myKeyPBindings =
, ("<F6>", spawn "player forward")
, ("S-<F6>", spawn "player next")
- , ("<F7>", spawn "brightness -1")
- , ("<F8>", spawn "brightness +1")
+ , ("<F7>", spawn "brightnessctl -- set -10%")
+ , ("<F8>", spawn "brightnessctl -- set +10%")
, ("M-c", spawn "mate-calc")
, ("M-u", spawn "wms uuid")