Sway idle stuff - preparing to setup auto-hibernate/sleep for laptop
This commit is contained in:
parent
5cdebc9603
commit
7216b48388
|
@ -158,7 +158,6 @@ client.focused #66d9ef #66d9ef #66d9ef #66d9ef #66d9ef
|
||||||
client.focused_inactive #111111 #111111 #ffffff #111111 #111111
|
client.focused_inactive #111111 #111111 #ffffff #111111 #111111
|
||||||
client.unfocused #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 mako
|
||||||
exec gammastep -t 6500:3500 -l 39.0:-94.5
|
exec gammastep -t 6500:3500 -l 39.0:-94.5
|
||||||
exec_always makoctl reload
|
exec_always makoctl reload
|
||||||
|
|
2
env/desktop/sway/config.d/main
vendored
2
env/desktop/sway/config.d/main
vendored
|
@ -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
|
# shared
|
||||||
workspace 1 output DP-1
|
workspace 1 output DP-1
|
||||||
workspace 2 output DP-1
|
workspace 2 output DP-1
|
||||||
|
|
8
env/laptop/sway/config.d/main
vendored
8
env/laptop/sway/config.d/main
vendored
|
@ -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
|
output eDP-1 res 1600x900 pos 0 0
|
||||||
|
|
||||||
bindswitch lid:toggle exec swaylock
|
bindswitch lid:toggle exec swaylock
|
||||||
|
@ -14,5 +18,3 @@ input type:touchpad {
|
||||||
input type:keyboard {
|
input type:keyboard {
|
||||||
xkb_options ctrl:nocaps
|
xkb_options ctrl:nocaps
|
||||||
}
|
}
|
||||||
|
|
||||||
exec libinput-gestures -c $DOTFILES_PATH/apps/de/libinput/sway-gestures.conf
|
|
||||||
|
|
Reference in a new issue