aboutsummaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config12
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/*