swayidle tweak, remove foot padding
This commit is contained in:
@@ -23,7 +23,6 @@ dpi-aware=yes
|
|||||||
# initial-window-size-pixels=700x500 # Or,
|
# initial-window-size-pixels=700x500 # Or,
|
||||||
# initial-window-size-chars=<COLSxROWS>
|
# initial-window-size-chars=<COLSxROWS>
|
||||||
# initial-window-mode=windowed
|
# initial-window-mode=windowed
|
||||||
pad=12x12 # optionally append 'center'
|
|
||||||
# resize-delay-ms=100
|
# resize-delay-ms=100
|
||||||
|
|
||||||
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
|
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
|
||||||
|
|||||||
+7
-2
@@ -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
|
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
exec swayidle idlehint 1
|
exec_always swayidle -w \
|
||||||
exec_always swayidle -w before-sleep "gtklock -d"
|
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
|
# Start foot server
|
||||||
exec_always --no-startup-id foot --server
|
exec_always --no-startup-id foot --server
|
||||||
|
|||||||
Reference in New Issue
Block a user