Updates
This commit is contained in:
@@ -8,10 +8,20 @@ if [[ ! `pidof eww` ]]; then
|
||||
sleep 0.5
|
||||
fi
|
||||
|
||||
sc=$($HOME/dotfiles/.settings/eww-monitor.sh)
|
||||
if [[ ! -f "$FILE" ]]; then
|
||||
touch "$FILE"
|
||||
${EWW} --config "$CFG" open-many ml4wlauncher resources logout suspend lock reboot shutdown close
|
||||
echo ":: Opening on Monitor $sc"
|
||||
${EWW} --config "$CFG" open ml4wlauncher --screen $sc
|
||||
${EWW} --config "$CFG" open resources --screen $sc
|
||||
${EWW} --config "$CFG" open logout --screen $sc
|
||||
${EWW} --config "$CFG" open suspend --screen $sc
|
||||
${EWW} --config "$CFG" open lock --screen $sc
|
||||
${EWW} --config "$CFG" open reboot --screen $sc
|
||||
${EWW} --config "$CFG" open shutdown --screen $sc
|
||||
${EWW} --config "$CFG" open close --screen $sc
|
||||
else
|
||||
${EWW} --config "$CFG" close resources ml4wlauncher logout suspend lock reboot shutdown close
|
||||
echo ":: Closing widgets"
|
||||
rm "$FILE"
|
||||
fi
|
||||
Reference in New Issue
Block a user