diff --git a/apps/de/sway/config b/apps/de/sway/config index 3ddb841..35953d1 100644 --- a/apps/de/sway/config +++ b/apps/de/sway/config @@ -158,7 +158,6 @@ client.focused #66d9ef #66d9ef #66d9ef #66d9ef #66d9ef client.focused_inactive #111111 #111111 #ffffff #111111 #111111 client.unfocused #111111 #111111 #ffffff #111111 #111111 -exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' exec mako exec gammastep -t 6500:3500 -l 39.0:-94.5 exec_always makoctl reload diff --git a/env/desktop/sway/config.d/main b/env/desktop/sway/config.d/main index 790d314..711dbc7 100644 --- a/env/desktop/sway/config.d/main +++ b/env/desktop/sway/config.d/main @@ -1,3 +1,5 @@ +exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' + # shared workspace 1 output DP-1 workspace 2 output DP-1 diff --git a/env/laptop/sway/config.d/main b/env/laptop/sway/config.d/main index 048496c..e3e1218 100644 --- a/env/laptop/sway/config.d/main +++ b/env/laptop/sway/config.d/main @@ -1,4 +1,8 @@ -# TODO: setup displays +exec libinput-gestures -c $DOTFILES_PATH/apps/de/libinput/sway-gestures.conf + +# exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000' + +# TODO: setup displays (when docked for work?) output eDP-1 res 1600x900 pos 0 0 bindswitch lid:toggle exec swaylock @@ -14,5 +18,3 @@ input type:touchpad { input type:keyboard { xkb_options ctrl:nocaps } - -exec libinput-gestures -c $DOTFILES_PATH/apps/de/libinput/sway-gestures.conf