Wiki
Home

sway

Keybindings

- https://i3wm.org/docs/userguide.html#keybindings

-

Swayidle Idlemanager

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'

swayidle -w \
	timeout 300 'swaylock -f -c 000000' \
	timeout 305 'swaymsg "output * dpms off"' \
		 resume 'swaymsg "output * dpms on"' \
	before-sleep 'swaylock -f -c 000000'

swayidle -w \
	timeout 300 'swaymsg "output * dpms off"' \
		 resume 'swaymsg "output * dpms on"' \
	before-sleep 'swaylock -f -c 6c6c93'
for_window [class=".*"] inhibit_idle fullscreen
for_window [app_id=".*"] inhibit_idle fullscreen

Switch in waybar: https://github.com/EndeavourOS-Community-Editions/sway/blob/main/.config/waybar/config