This commit is contained in:
Stephan Raabe
2024-04-20 17:57:31 +02:00
parent be8b15c1a0
commit 1ee73645e1
72 changed files with 347 additions and 772 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
FILE="$HOME/.cache/ml4w_sidebar"
CFG="$HOME/dotfiles/eww/ml4w-sidebar"
EWW=`which eww`
if [[ ! `pidof eww` ]]; then
${EWW} daemon
sleep 0.5
fi
if [[ ! -f "$FILE" ]]; then
touch "$FILE"
${EWW} --config "$CFG" open-many ml4wlauncher resources logout suspend lock reboot shutdown
else
${EWW} --config "$CFG" close resources ml4wlauncher logout suspend lock reboot shutdown
rm "$FILE"
fi