that's a bunch of cool new stuff
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
while :
|
||||
do
|
||||
tooltip=$(hyprshade current)
|
||||
|
||||
if [[ -z "$tooltip" ]]; then
|
||||
tooltip="Off"
|
||||
fi
|
||||
|
||||
text=""
|
||||
|
||||
if [[ -z "$tooltip" ]]; then
|
||||
text=""
|
||||
fi
|
||||
|
||||
echo '{"text": "'$text'", "tooltip": "Current shader: '$tooltip'", "class": "hyprshade", "alt": "'$tooltip'"}'
|
||||
|
||||
sleep 1
|
||||
done
|
||||
Reference in New Issue
Block a user