This commit is contained in:
Le-foucheur authored and GitHub committed 2024-09-14 19:16:24 +02:00
1 parent dbdbd377fb
commit 84ab8eb2ad
10 files changed
+118

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
# Wait until waybar is fully available (for tray)
wait_waybar () {
# Ask dbus to check if waybar is available
while [[ -z $(dbus-send --session --dest=org.freedesktop.DBus --type=method_call --print-reply /org/freedesktop/DBus org.freedesktop.DBus.ListNames | grep "fr.arouillard.waybar" ) ]]
do
sleep 0.5
done
}
# Per computer processus
#gammastep& # Blue light reducer
bluetoothctl power off # power off bluetooth at startup
# Start other processus
wait_waybar
keepassxc&