diff options
author | David Runge <dave@sleepmap.de> | 2019-04-15 23:53:52 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2019-04-15 23:53:52 +0200 |
commit | 81161bf2495521616988ca2158b4a8dca0a71a2c (patch) | |
tree | 040191d18e2e8f8c8bb0e16043169937469fffcc /.config/sway/config | |
parent | f1e1e87cda105252199c525d3a02358eac8f1e31 (diff) | |
download | dotfiles-81161bf2495521616988ca2158b4a8dca0a71a2c.tar.gz dotfiles-81161bf2495521616988ca2158b4a8dca0a71a2c.tar.bz2 dotfiles-81161bf2495521616988ca2158b4a8dca0a71a2c.tar.xz dotfiles-81161bf2495521616988ca2158b4a8dca0a71a2c.zip |
.config/sway/config: Adding keyboard shortcuts for audio. Adding nextcloud to session. Adding more useful flags to swaylock.
Diffstat (limited to '.config/sway/config')
-rw-r--r-- | .config/sway/config | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.config/sway/config b/.config/sway/config index ef2ba54..cc76e60 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -81,6 +81,15 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # brightness bindsym XF86MonBrightnessDown exec $brightness_down bindsym XF86MonBrightnessUp exec $brightness_up + # sound + bindsym XF86AudioRaiseVolume exec set_volume increase + bindsym XF86AudioLowerVolume exec set_volume decrease + bindsym XF86AudioMute exec set_volume toggle + bindsym XF86AudioPrev exec notify_mpd prev + bindsym XF86AudioNext exec notify_mpd next + bindsym XF86AudioPlay exec notify_mpd toggle + bindsym XF86AudioStop exec notify_mpd stop + # # Moving around: # @@ -213,10 +222,11 @@ bar { # Execs exec [ -x /usr/bin/swayidle ] && [ -x /usr/bin/swaylock ] && swayidle -w \ - timeout 300 'swaylock -f -c 000000' \ + timeout 300 'swaylock -F -f -e -c 000000' \ timeout 600 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ before-sleep 'swaylock -f -c 000000' exec [ -x /usr/bin/lxpolkit ] && /usr/bin/lxpolkit +exec [ -x /usr/bin/nextcloud ] && /usr/bin/nextcloud include /etc/sway/config.d/* |