Author: Adam Evyčędo <git@apiote.xyz>
media keys
.config/sway/config | 11 ++++++++++-
diff --git a/.config/sway/config b/.config/sway/config index 1f028a1a0df9c71608bdd512aa4ab13a944f8925..49b603761e2ed60b825ffb626b36fc3da87c4e15 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -82,6 +82,9 @@ bindsym XF86AudioRaiseVolume exec sh -c '. ~/.config/sh/functions; volume +' bindsym XF86AudioLowerVolume exec sh -c '. ~/.config/sh/functions; volume -' bindsym XF86AudioMute exec sh -c '. ~/.config/sh/functions; volume t' +bindsym $mod+F8 exec sh -c '. ~/.config/sh/functions; volume +' +bindsym $mod+F7 exec sh -c '. ~/.config/sh/functions; volume -' +bindsym $mod+F6 exec sh -c '. ~/.config/sh/functions; volume t' bindsym XF86AudioPrev exec playerctl -p $(playerctl -l | tail -n1) previous bindsym $mod+p exec playerctl -p $(playerctl -l | tail -n1) previous @@ -92,14 +95,21 @@ bindsym $mod+n exec playerctl -p $(playerctl -l | tail -n1) next bindsym --locked XF86MonBrightnessUp exec sh -c '. ~/.config/sh/functions; backlight +' bindsym --locked XF86MonBrightnessDown exec sh -c '. ~/.config/sh/functions; backlight -' +bindsym --locked $mod+F3 exec sh -c '. ~/.config/sh/functions; backlight +' +bindsym --locked $mod+F2 exec sh -c '. ~/.config/sh/functions; backlight -' bindsym --locked XF86KbdBrightnessUp exec ~/.local/bin/kbdBacklight + bindsym --locked XF86KbdBrightnessDown exec ~/.local/bin/kbdBacklight - +bindsym --locked $mod+F10 exec ~/.local/bin/kbdBacklight + +bindsym --locked $mod+F9 exec ~/.local/bin/kbdBacklight - bindsym XF86WLAN exec sh -c '. ~/.config/sh/functions; toggle_wifi' +bindsym $mod+F12 exec sh -c '. ~/.config/sh/functions; toggle_wifi' bindsym --locked XF86Launch3 exec sh -c '. ~/.config/sh/functions; backlight t' +bindsym --locked $mod+F11 exec sh -c '. ~/.config/sh/functions; backlight t' # todo bindsym XF86Display exec ~/Code/Scripts/changeDisplay +# todo bindsym $mod+F4 exec ~/Code/Scripts/changeDisplay bindsym $mod+Ctrl+l exec swaylock bindsym Print exec sh -c '. ~/.config/sh/functions; screenshot' @@ -119,7 +129,6 @@ bindsym $mod+Shift+down focus down bindsym $mod+Shift+left focus left bindsym $mod+Shift+right focus right -# for_window [app_id="guake"] floating enable, move position center, move up 340 px, resize set 1920 400; bindsym --release Super_L exec sh -c '. ~/.config/sh/functions; guak' exec_always ~/.config/sway/sway_startup.sh