refactor(hypr): launch waybar with a launcher script
This commit is contained in:
parent
7a88dee6bf
commit
a30b177bca
@ -7,7 +7,7 @@ source = ~/.config/hypr/wm/window-rules.conf
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME
|
||||
exec-once = ~/.config/hypr/scripts/launchers/events-monitor.bash
|
||||
exec-once = GTK_THEME="THIS THEME DOESN'T EXIST" waybar
|
||||
exec-once = ~/.config/hypr/scripts/launchers/launch-waybar.bash
|
||||
exec-once = mako --history 1
|
||||
exec-once = udiskie --tray
|
||||
exec-once = blueman-applet
|
||||
|
@ -1,7 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
main() {
|
||||
kill -9 "$(pidof waybar)" >/dev/null
|
||||
GTK_THEME="THIS THEME DOESN'T EXIST" waybar &
|
||||
kill -15 "$(pidof waybar)" >/dev/null
|
||||
until GTK_THEME="THIS THEME DOESN'T EXIST" waybar; do
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
main
|
||||
|
Loading…
Reference in New Issue
Block a user