forked from extern/nix-config
hyprland: Add toggle yambar script
This commit is contained in:
parent
cdd27be432
commit
b00d8c9ebb
8
hyprland/.config/hypr/toggle-yambar.sh
Executable file
8
hyprland/.config/hypr/toggle-yambar.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [[ -f "/tmp/yambar.pid" ]]; then
|
||||
killall yambar
|
||||
rm "/tmp/yambar.pid"
|
||||
else
|
||||
launch yambar >> /tmp/yambar.pid
|
||||
fi
|
Loading…
Reference in New Issue
Block a user