|
|
|
@ -23,8 +23,7 @@ bindsym $mod+Shift+r reload
|
|
|
|
|
bindsym $mod+Shift+o exec mimeo "$(wl-paste)"
|
|
|
|
|
|
|
|
|
|
# turn on and off internal screen
|
|
|
|
|
bindsym --locked XF86Search output eDP-1 enable
|
|
|
|
|
bindsym --locked Shift+XF86Search output eDP-1 disable
|
|
|
|
|
bindsym --locked XF86Search output eDP-1 toggle
|
|
|
|
|
|
|
|
|
|
# FZF
|
|
|
|
|
# exit menu
|
|
|
|
@ -115,9 +114,9 @@ bindsym $mod+r mode "resize"
|
|
|
|
|
bindsym $mod+b exec firefox-nightly
|
|
|
|
|
|
|
|
|
|
# media keys
|
|
|
|
|
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > /tmp/sway.wob
|
|
|
|
|
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > /tmp/sway.wob
|
|
|
|
|
bindsym --locked XF86AudioMute exec pulseaudio-ctl mute
|
|
|
|
|
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob
|
|
|
|
|
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob
|
|
|
|
|
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
|
|
|
|
|
bindsym --locked XF86AudioNext exec playerctl next
|
|
|
|
|
bindsym --locked XF86AudioPrev exec playerctl previous
|
|
|
|
|
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
|
|
|
@ -135,8 +134,8 @@ bindsym $mod+m+l output eDP-1 transform 90
|
|
|
|
|
bindsym $mod+m+k output eDP-1 transform 0
|
|
|
|
|
|
|
|
|
|
# display brightness
|
|
|
|
|
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > /tmp/sway.wob
|
|
|
|
|
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > /tmp/sway.wob
|
|
|
|
|
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
|
|
|
|
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
|
|
|
|
|
|
|
|
|
# Switch to urgent workspace
|
|
|
|
|
bindsym $mod+u [urgent=latest] focus
|
|
|
|
|