diff --git a/CONFIG/foot/foot.ini b/CONFIG/foot/foot.ini index d3d2dec..b7827ad 100644 --- a/CONFIG/foot/foot.ini +++ b/CONFIG/foot/foot.ini @@ -23,7 +23,6 @@ dpi-aware=yes # initial-window-size-pixels=700x500 # Or, # initial-window-size-chars= # initial-window-mode=windowed -pad=12x12 # optionally append 'center' # resize-delay-ms=100 # notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body} diff --git a/CONFIG/sway/config b/CONFIG/sway/config index 0268965..ea76f20 100644 --- a/CONFIG/sway/config +++ b/CONFIG/sway/config @@ -259,8 +259,13 @@ exec hash dbus-update-activation-environment 2>/dev/null && \ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP # Idle configuration -exec swayidle idlehint 1 -exec_always swayidle -w before-sleep "gtklock -d" +exec_always swayidle -w \ + timeout 240 'brightnessctl set 1' resume 'brightnessctl -r' \ + timeout 1200 'gtklock -d' \ + timeout 2400 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ + before-sleep 'gtklock -d' \ + after-resume 'swaymsg reload' \ + idlehint 240 # Start foot server exec_always --no-startup-id foot --server