aboutsummaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-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.
+
};
};
};