mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 20:01:49 +08:00
update sway for pipewire and add hibernate
This commit is contained in:
parent
58d208c204
commit
226d6aad07
@ -11,7 +11,7 @@ set $menu wofi | xargs swaymsg exec --
|
||||
##starting userspace software
|
||||
exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500
|
||||
exec light -S 70
|
||||
exec --no-startup-id pipewire
|
||||
exec gentoo-pipewire-launcher
|
||||
exec swaync
|
||||
exec playerctld daemon
|
||||
|
||||
@ -53,6 +53,7 @@ bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYS
|
||||
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||
|
||||
bindsym XF86AudioPause exec 'playerctl pause'
|
||||
bindsym XF86AudioPlay exec 'playerctl play'
|
||||
bindsym XF86AudioStop exec 'playerctl stop'
|
||||
bindsym XF86AudioNext exec 'playerctl next'
|
||||
bindsym XF86AudioPrev exec 'playerctl previous'
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
choice=`echo "suspend\nshutdown\npoweroff\nreboot\nlock" | wofi -d -Oalphabetical`
|
||||
choice=`echo "suspend\nshutdown\npoweroff\nreboot\nlock\nhibernate" | wofi -d -Oalphabetical`
|
||||
if test "$choice" = lock ; then
|
||||
bright=`light`
|
||||
swayidle -w \
|
||||
|
Loading…
Reference in New Issue
Block a user