summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-05-27 21:58:48 +0100
committerubq323 <ubq323@ubq323.website>2023-05-27 21:58:48 +0100
commit3ca073e1d3b19a38e6a72803c3e08763567b3d16 (patch)
treeebbc2aa6ced781cf7351234c5bd9e8b62e66fff7 /.config
parentce9afcf6114d0ac7fa0d8acf5739feaa18d76803 (diff)
bash history, sway idle
Diffstat (limited to '.config')
-rw-r--r--.config/sway/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 9cce4d7..e023b1f 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -144,6 +144,10 @@ set $lock swaylock -f --indicator-radius 400 --indicator-thickness 20 --ring-col
bindsym $mod+o exec $lock
bindsym $mod+Shift+o exec $lock && zzz
+exec swayidle -w \
+ timeout 120 $lock \
+ timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
+
bindsym XF86AudioRaiseVolume exec 'amixer set Master 5%+'
bindsym XF86AudioLowerVolume exec 'amixer set Master 5%-'
bindsym XF86AudioMute exec 'amixer set Master toggle'