Hyprland-gentoo/dotfiles/waybar/toggle.sh

16 lines
599 B
Bash
Raw Permalink Normal View History

2024-09-14 10:42:47 -04:00
#!/bin/bash
# _____ _ __ __ _
# |_ _|__ __ _ __ _| | ___ \ \ / /_ _ _ _| |__ __ _ _ __
# | |/ _ \ / _` |/ _` | |/ _ \ \ \ /\ / / _` | | | | '_ \ / _` | '__|
# | | (_) | (_| | (_| | | __/ \ V V / (_| | |_| | |_) | (_| | |
# |_|\___/ \__, |\__, |_|\___| \_/\_/ \__,_|\__, |_.__/ \__,_|_|
# |___/ |___/ |___/
#
if [ -f ~/.cache/waybar-disabled ] ;then
rm ~/.cache/waybar-disabled
else
touch ~/.cache/waybar-disabled
fi
~/dotfiles/waybar/launch.sh &