feat: waybar launch with delay

This commit is contained in:
hesam-init 2024-02-12 13:43:27 +03:30
parent 5e8875ae06
commit fd79d1300e
3 changed files with 4 additions and 5 deletions

View file

@ -15,7 +15,7 @@ exec-once = swaybg -i ~/Wallpapers/macos.png
# exec-once = swww init; swww kill; swww init # idk why tbh
# Status bar
exec-once = $scr_path/waybar-launch.sh
exec-once = sleep 1 $scr_path/waybar-launch.sh
# exec-once = eww daemon && eww open bar
# exec-once = swayidle -w timeout 300 'gtklock' before-sleep 'gtklock' &

View file

@ -1,9 +1,11 @@
# -----------------------------------------------------
# Window rules
# -----------------------------------------------------
windowrulev2 = bordercolor rgb(FF0000) rgb(880808) 15deg,fullscreen:1
windowrulev2= float,class:^(org.telegram.desktop|telegramdesktop)$,title:^(Media viewer)$
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)$
windowrulev2 = bordercolor rgb(FF0000) rgb(880808) 15deg,fullscreen:1

View file

@ -10,9 +10,6 @@
window#waybar {
background-color: transparent;
transition-property: background-color;
transition-duration: 1s;
}
window#waybar.hidden {