New Wallpaper Selection! Other Tweaks as well
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
"on-click-right": "blueman-manager",
|
||||
},
|
||||
"battery": {
|
||||
"interval":10,
|
||||
"interval":30,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
@@ -81,7 +81,7 @@
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": " {}",
|
||||
"interval": 600,
|
||||
"interval": 1800,
|
||||
"exec": "checkupdates | wc -l",
|
||||
"exec-if": "exit 0",
|
||||
"on-click": "kitty sh -c 'yay; sudo pacman -Syu; echo Done - Press enter to exit; read'; pkill -SIGRTMIN+8 waybar",
|
||||
|
||||
@@ -1,2 +1,13 @@
|
||||
pkill waybar
|
||||
waybar
|
||||
#!/bin/bash
|
||||
|
||||
# Check if waybar is running
|
||||
if pgrep -x "waybar" > /dev/null; then
|
||||
# If running, kill the waybar process
|
||||
pkill -x "waybar"
|
||||
echo "Waybar stopped."
|
||||
else
|
||||
# If not running, start waybar
|
||||
waybar &
|
||||
echo "Waybar started."
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user