Add toggle script for dd widget
This commit is contained in:
parent
4e211fb2e2
commit
757c186630
9
.config/i3/scripts/dd_stats_toggle.sh
Executable file
9
.config/i3/scripts/dd_stats_toggle.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if command /usr/bin/eww windows | grep *dd_capacity >> /dev/null ; then
|
||||
echo "Dd open";
|
||||
/usr/bin/eww close dd_capacity;
|
||||
else
|
||||
echo "Dd closed";
|
||||
/usr/bin/eww open dd_capacity;
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user