dotfiles/.config/i3/scripts/dd_stats_toggle.sh

10 lines
206 B
Bash
Raw Permalink Normal View History

2021-04-26 15:41:40 +00:00
#!/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