nix-config/hyprland/.config/hypr/toggle-yambar.sh
2023-04-30 12:53:02 -04:00

9 lines
130 B
Bash
Executable File

#!/bin/sh
if [[ -f "/tmp/yambar.pid" ]]; then
killall yambar
rm "/tmp/yambar.pid"
else
launch yambar >> /tmp/yambar.pid
fi