summaryrefslogtreecommitdiff
path: root/modules/home/i3wm
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-05 22:23:18 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-05 22:23:18 +0100
commitc83ef65e1bf2ef3018d7aadb76629006be8a4b1f (patch)
tree4cad12abb85b14fe9f87c8f742780f116b9acaaa /modules/home/i3wm
parentdb8a98ea19fee395d6beb4dd16b2b2eb8a307b6a (diff)
added volume and brightness key functionality
Diffstat (limited to 'modules/home/i3wm')
-rw-r--r--modules/home/i3wm/nord-blue/i3.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/home/i3wm/nord-blue/i3.nix b/modules/home/i3wm/nord-blue/i3.nix
index 14810bf..daa3f04 100644
--- a/modules/home/i3wm/nord-blue/i3.nix
+++ b/modules/home/i3wm/nord-blue/i3.nix
@@ -59,6 +59,22 @@ in
"${mod}+Shift+Down" = "focus down";
"${mod}+Shift+Up" = "focus up";
"${mod}+Shift+Right" = "focus right";
+
+
+ # === F-KEYS === #
+
+ # Volume
+ "XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ +5%"; # Raise volume by 5%
+ "XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ -5%"; # Lower volume by 5%
+ "XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; # Toggle volume (audio) on/off
+ "XF86AudioMicMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; # Toggle mic on/off
+
+
+ # Brigtness
+ "XF86MonBrightnessUp" = "exec brightnessctl set +5%"; # Raise brightness by 5%
+ "XF86MonBrightnessDown" = "exec brightnessctl set -5%"; # Lower brightness by 5%
+ # NOTE: Yes, the brightness can go to 0%, thus turning the screen off.
+
};
};
};