first commit
This commit is contained in:
commit
38a53acd48
47 changed files with 3916 additions and 0 deletions
10
.config/hypr/scripts/restore-waybar.sh
Executable file
10
.config/hypr/scripts/restore-waybar.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Launch waybar depending on the last status
|
||||
waybar_status=~/.config/hypr/status/waybar
|
||||
if [ "$(cat $waybar_status)" == "on" ]; then
|
||||
killall waybar
|
||||
waybar &
|
||||
elif [ "$(cat $waybar_status)" != "off" ]; then
|
||||
hyprctl notify 0 3000 0 Failed to retrieve waybar status
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue