aecdb34116
- Add fetch script which fetches the current config that is used by the system into the git repo - Add install script which copies the config in the repo into the config folder for the user - Add waybar as config
14 lines
216 B
Bash
Executable File
14 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check if waybar is running
|
|
if pgrep -x "waybar" > /dev/null; then
|
|
# If running, kill the waybar process
|
|
pkill -x "waybar"
|
|
waybar &
|
|
else
|
|
# If not running, start waybar
|
|
waybar &
|
|
fi
|
|
|
|
|