fix: auto start and window rules

This commit is contained in:
hesam-init 2024-02-12 18:56:49 +03:30
parent 2ae645e518
commit 32fa7aff42
2 changed files with 7 additions and 3 deletions

View file

@ -14,8 +14,8 @@ exec-once = swaybg -i ~/Wallpapers/macos.png &
# exec-once = swww init; swww kill; swww init # idk why tbh
# status bar :
exec-once = $scr_path/dunst-launch.sh
exec-once = $scr_path/waybar-launch.sh
exec-once = sleep 1 && $scr_path/waybar-launch.sh &
exec-once = sleep 1 && $scr_path/dunst-launch.sh &
# exec-once = eww daemon && eww open bar
# exec-once = swayidle -w timeout 300 'gtklock' before-sleep 'gtklock' &
# exec-once = swayidle -w timeout 450 'pidof java || systemctl suspend' & # dont sleep if playing minecraft, else nvidia will fuck up

View file

@ -3,9 +3,13 @@
# -----------------------------------------------------
windowrulev2 = bordercolor rgb(FF0000) rgb(880808) 15deg,fullscreen:1
windowrulev2= float,class:^(org.telegram.desktop|telegramdesktop)$,title:^(Media viewer)$
windowrulev2= float,class:^(org.telegram.desktop|telegramdesktop)$,title:^(Media viewer|.*steam.*)$
windowrulev2= animation popin,class:^(org.telegram.desktop|telegramdesktop)$
windowrulev2 = float,class:^(pavucontrol|wlogout|dunst|Dunst|org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = animation popin,class:^(alacritty|Alacritty|pavucontrol|org.kde.polkit-kde-authentication-agent-1)$
# apps workspace :
windowrulev2 = workspace 3,class:^(nekoray|Nekoray)$
windowrulev2 = workspace 4,class:^(org.telegram.desktop|telegramdesktop|discord)$
windowrulev2 = workspace 5,class:^(.*steam.*)$