fix: swayidle poopy
This commit is contained in:
@@ -23,11 +23,11 @@ bindsym $mod+Shift+tab workspace prev_on_output
|
||||
# Lockscreen configuration
|
||||
set $screenlock 'swaylock -f -c 282828'
|
||||
# Idle configuration
|
||||
exec swayidle -w \
|
||||
timeout 300 $screenlock \
|
||||
timeout 600 'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep $screenlock
|
||||
# exec swayidle -w \
|
||||
# timeout 300 $screenlock \
|
||||
# timeout 600 'swaymsg "output * dpms off"' \
|
||||
# resume 'swaymsg "output * dpms on"' \
|
||||
# before-sleep $screenlock
|
||||
|
||||
bindsym --to-code {
|
||||
$mod+b splith
|
||||
|
||||
@@ -84,6 +84,7 @@ bindsym $mod+$alt+v exec --no-startup-id clipcat-menu
|
||||
bindsym $mod+shift+s exec grimshot savecopy anything
|
||||
|
||||
# Yuh
|
||||
exec systemctl --user import-environment
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
Reference in New Issue
Block a user