diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/sway/binds.conf | 2 | ||||
| -rw-r--r-- | .config/sway/config | 9 | ||||
| -rw-r--r-- | .config/sway/env | 3 | ||||
| -rw-r--r-- | .config/sway/input.conf | 2 |
4 files changed, 11 insertions, 5 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf index 008a201..230fd25 100644 --- a/.config/sway/binds.conf +++ b/.config/sway/binds.conf @@ -256,7 +256,7 @@ bindsym XF86AudioPrev exec playerctl -p playerctld previous bindsym XF86WakeUp exec true # switch video mode -bindsym XF86Display exec kanshictl reload +bindsym XF86Display exec kanshictl reload; output * dpms on # config bindsym XF86Tools exec true # keyboard diff --git a/.config/sway/config b/.config/sway/config index f1a9eec..ada5b4f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -69,7 +69,16 @@ include colors.conf # }}} exec { + dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP + light -S 80 + swayidle -w \ + timeout 540 'lock' \ + timeout 800 'swaymsg output \* dpms off' \ + resume 'swaymsg output \* dpms on' \ + before-sleep 'lock' \ + lock 'lock' + once -- s6-svscan ${HOME}/.local/share/s6 } diff --git a/.config/sway/env b/.config/sway/env index 79d03c1..d091809 100644 --- a/.config/sway/env +++ b/.config/sway/env @@ -27,6 +27,3 @@ export XDG_SESSION_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway export BEMENU_BACKEND=wayland - -# export WLR_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0" -# export WLR_DRM_DEVICES="/dev/dri/card0" diff --git a/.config/sway/input.conf b/.config/sway/input.conf index 2f5028a..0d0a335 100644 --- a/.config/sway/input.conf +++ b/.config/sway/input.conf @@ -20,7 +20,7 @@ input type:touchpad { tap enabled natural_scroll enabled - events disabled + #events disabled } #input type:tablet_tool { # accel_profile flat |