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