This commit is contained in:
2025-07-08 15:41:57 +03:00
parent 4e21f8615f
commit 5edf866351
4 changed files with 250 additions and 8 deletions

21
config
View File

@@ -84,10 +84,15 @@ output HDMI-A-1 {
# Idle configuration
###############################################################################
# Lock screen after 300 seconds of inactivity, then turn off displays
# Lock screen after 900 seconds of inactivity, then turn off displays
#exec swayidle -w \
# timeout 900 'swaylock -f -c 000000' \
# timeout 1800 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
# before-sleep 'swaylock -f -c 000000'
# Lock screen after 900 seconds of inactivity
exec swayidle -w \
timeout 900 'swaylock -f -c 000000' \
timeout 1800 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f -c 000000'
###############################################################################
@@ -450,8 +455,8 @@ bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# Screenshots
bindsym Print exec grim
bindsym $mod+Print exec grim -g "$(slurp)"
bindsym Print exec grim - | swappy -f -
bindsym $mod+Print exec grim -g "$(slurp)" - | swappy -f -
## Modify // Toggle Bar // <> i ##
bindsym $mod+i bar mode toggle
@@ -477,10 +482,10 @@ bar {
separator #666666
# border backgr. text
focused_workspace #4c7899 #285577 #ffffff
active_workspace #333333 #5f676a #ffffff
inactive_workspace #333333 #222222 #888888
urgent_workspace #2f343a #900000 #ffffff
focused_workspace #ffffff #000000 #ffffff
active_workspace #000000 #000000 #ffffff
inactive_workspace #000000 #000000 #ffffff
urgent_workspace #000000 #000000 #ffffff
}
}