Move waybar to top of startup script

This commit is contained in:
Sravan Balaji
2024-10-07 07:25:31 -04:00
parent 1eeb0e8ab9
commit 91631a7f2a
3 changed files with 9 additions and 9 deletions

View File

@@ -9050,6 +9050,8 @@ exec dbus-run-session -- dwl -s '$HOME/.scripts/wayland-startup.sh --startup'
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle dwl/.scripts/wayland-startup.sh #+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle dwl/.scripts/wayland-startup.sh
declare -a startup_array=(\ declare -a startup_array=(\
# Status Bar
"$HOME/.config/dwl/waybar/launch.sh" \ # Waybar (dwl configuration)
# Background Processes # Background Processes
"/usr/libexec/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent "/usr/libexec/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent
"/usr/bin/kdeconnectd --replace" \ # KDE Connect Daemon "/usr/bin/kdeconnectd --replace" \ # KDE Connect Daemon
@@ -9062,8 +9064,6 @@ declare -a startup_array=(\
"/usr/bin/shikane" \ # Display Setup "/usr/bin/shikane" \ # Display Setup
"$HOME/.azotebg" \ # Wallpaper "$HOME/.azotebg" \ # Wallpaper
"/usr/bin/gammastep -x" \ # Reset gammastep night light "/usr/bin/gammastep -x" \ # Reset gammastep night light
# Status Bar
"$HOME/.config/dwl/waybar/launch.sh" \ # Waybar (dwl configuration)
# Tray Applications # Tray Applications
"/usr/bin/gammastep-indicator" \ # Gamamstep Night Light Indicator "/usr/bin/gammastep-indicator" \ # Gamamstep Night Light Indicator
"/usr/bin/blueman-applet" \ # Bluetooth Manager Applet "/usr/bin/blueman-applet" \ # Bluetooth Manager Applet
@@ -9077,6 +9077,8 @@ declare -a startup_array=(\
) )
declare -a kill_startup_array=(\ declare -a kill_startup_array=(\
# Status Bar
"pkill waybar" \
# Background Processes # Background Processes
"pkill polkit-gnome-au" \ "pkill polkit-gnome-au" \
"pkill kdeconnectd" \ "pkill kdeconnectd" \
@@ -9087,8 +9089,6 @@ declare -a kill_startup_array=(\
# Display / Compositor Setup # Display / Compositor Setup
"pkill shikane" \ "pkill shikane" \
"pkill gammastep" \ "pkill gammastep" \
# Status Bar
"pkill waybar" \
# Tray Applications # Tray Applications
"pkill gammastep-indic" \ "pkill gammastep-indic" \
"pkill blueman-applet" \ "pkill blueman-applet" \

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
declare -a startup_array=(\ declare -a startup_array=(\
# Status Bar
"$HOME/.config/dwl/waybar/launch.sh" \ # Waybar (dwl configuration)
# Background Processes # Background Processes
"/usr/libexec/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent "/usr/libexec/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent
"/usr/bin/kdeconnectd --replace" \ # KDE Connect Daemon "/usr/bin/kdeconnectd --replace" \ # KDE Connect Daemon
@@ -12,8 +14,6 @@ declare -a startup_array=(\
"/usr/bin/shikane" \ # Display Setup "/usr/bin/shikane" \ # Display Setup
"$HOME/.azotebg" \ # Wallpaper "$HOME/.azotebg" \ # Wallpaper
"/usr/bin/gammastep -x" \ # Reset gammastep night light "/usr/bin/gammastep -x" \ # Reset gammastep night light
# Status Bar
"$HOME/.config/dwl/waybar/launch.sh" \ # Waybar (dwl configuration)
# Tray Applications # Tray Applications
"/usr/bin/gammastep-indicator" \ # Gamamstep Night Light Indicator "/usr/bin/gammastep-indicator" \ # Gamamstep Night Light Indicator
"/usr/bin/blueman-applet" \ # Bluetooth Manager Applet "/usr/bin/blueman-applet" \ # Bluetooth Manager Applet
@@ -27,6 +27,8 @@ declare -a startup_array=(\
) )
declare -a kill_startup_array=(\ declare -a kill_startup_array=(\
# Status Bar
"pkill waybar" \
# Background Processes # Background Processes
"pkill polkit-gnome-au" \ "pkill polkit-gnome-au" \
"pkill kdeconnectd" \ "pkill kdeconnectd" \
@@ -37,8 +39,6 @@ declare -a kill_startup_array=(\
# Display / Compositor Setup # Display / Compositor Setup
"pkill shikane" \ "pkill shikane" \
"pkill gammastep" \ "pkill gammastep" \
# Status Bar
"pkill waybar" \
# Tray Applications # Tray Applications
"pkill gammastep-indic" \ "pkill gammastep-indic" \
"pkill blueman-applet" \ "pkill blueman-applet" \