From 2eb534c73d64b021d22fca595595f694bb558cfe Mon Sep 17 00:00:00 2001 From: Jimbo Date: Sun, 20 Oct 2024 04:47:35 -0400 Subject: [PATCH] Add back small brightness shift mod --- modules/home/sway/hotkeys/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/modules/home/sway/hotkeys/default.nix b/modules/home/sway/hotkeys/default.nix index 6675234..0683f85 100644 --- a/modules/home/sway/hotkeys/default.nix +++ b/modules/home/sway/hotkeys/default.nix @@ -98,17 +98,12 @@ "${secMod}+Up" = ''exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+''; "${secMod}+Down" = ''exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-''; - # MPV volume control + # MPD Controls + "${primeMod}+Backslash" = ''exec mpc toggle''; "${secMod}+Shift+Up" = ''exec mpc volume +3''; "${secMod}+Shift+Down" = ''exec mpc volume -3''; - - # Play MPD or Firefox - "${primeMod}+Backslash" = ''exec mpc toggle''; - "${secMod}+XF86AudioPlay" = ''exec playerctl --player=librewolf play-pause''; - - # Next/Previous - "${secMod}+Right" = ''exec mpc next''; - "${secMod}+Left" = ''exec mpc prev''; + "${secMod}+Shift+Right" = ''exec mpc next''; + "${secMod}+Shift+Left" = ''exec mpc prev''; ## Notification keys @@ -123,12 +118,14 @@ "${secMod}+f" = ''exec swayshot --swappy''; "${secMod}+Shift+f" = ''exec swayshot --screen''; - # Server SSH - "${primeMod}+Ctrl+Return" = ''exec foot ssh ${config.ips.server}''; + # SSH + "${primeMod}+${secMod}+Return" = ''exec foot ssh ${config.ips.server}''; # Display Brightness and Keyboard Brightness "${primeMod}+equal" = ''exec light -A 5''; "${primeMod}+minus" = ''exec light -U 5''; + "${primeMod}+Shift+equal" = ''exec light -A 1''; + "${primeMod}+Shift+minus" = ''exec light -U 1''; "XF86KbdBrightnessUp" = ''exec light -s sysfs/leds/smc::kbd_backlight -A 5''; "XF86KbdBrightnessDown" = ''exec light -s sysfs/leds/smc::kbd_backlight -U 5'';