swayidle is nice and extensions should float

This commit is contained in:
Cy Pokhrel 2024-11-12 19:22:09 -05:00
parent e987a194d7
commit fb20314728
No known key found for this signature in database
GPG key ID: 1200FBE36C2ADE2E

View file

@ -120,10 +120,11 @@ bindsym $mod+Control+l exec $lock
font pango:$font_family $font_size font pango:$font_family $font_size
for_window [app_id="^menu$"] floating enable, border none for_window [app_id=mpv] floating enable, sticky enable, inhibit_idle open
for_window [app_id=mpv] floating enable, sticky enable
for_window [class="pomatez"] floating enable, sticky enable for_window [class="pomatez"] floating enable, sticky enable
for_window [class="PacketTracer"] floating enable, border normal for_window [class="PacketTracer"] floating enable, border normal
for_window [app_id="LibreWolf" title="^Extension"] floating enable
for_window [floating] border csd
bar { bar {
status_command i3status-rs status_command i3status-rs
@ -153,10 +154,16 @@ input "type:keyboard" {
} }
exec wl-paste --watch cliphist store exec wl-paste --watch cliphist store
exec mako > $HOME/mako.log 2>&1 exec mako >> $HOME/mako.log 2>&1
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec dbus-update-activation-environment --all exec dbus-update-activation-environment --all
exec swayidle -w \
timeout 300 'swaylock -f' \
timeout 305 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
before-sleep 'playerctl pause; swaylock -f'
include /etc/sway/config.d/* include /etc/sway/config.d/*
exec system-dnotify --ready exec system-dnotify --ready