move waybar to the left

- make waybar text only
- rearrange all the modules
- add sticky float to the picture in picture
- remove name from zellij editor pane
- add dnd mode

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2024-07-20 18:03:39 +05:30
parent 9f298d08da
commit e727130c60
8 changed files with 234 additions and 449 deletions
+14 -4
View File
@@ -1,7 +1,17 @@
#!/bin/bash
COUNT=$(dunstctl count waiting)
ENABLED=
DISABLED=
if [ $COUNT != 0 ]; then DISABLED="$COUNT"; fi
if dunstctl is-paused | grep -q "false" ; then echo $ENABLED; else echo $DISABLED; fi
status=""
class=""
tooltip="Notifications are "
if dunstctl is-paused | grep -q "false" ; then
status="NOT"
tooltip+="active"
else
status="DND"
class="dnd"
tooltip+="paused"
fi
if [ $COUNT != 0 ]; then text+=":$COUNT"; fi
printf '{"text":"%s","tooltip":"%s","class":"%s"}' "$status" "$tooltip" "$class" | jq --unbuffered --compact-output