2023-08-28 11:33:53 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# ____ _ _ __ __ _
|
|
|
|
# / ___|| |_ __ _ _ __| |_ \ \ / /_ _ _ _| |__ __ _ _ __
|
|
|
|
# \___ \| __/ _` | '__| __| \ \ /\ / / _` | | | | '_ \ / _` | '__|
|
|
|
|
# ___) | || (_| | | | |_ \ V V / (_| | |_| | |_) | (_| | |
|
|
|
|
# |____/ \__\__,_|_| \__| \_/\_/ \__,_|\__, |_.__/ \__,_|_|
|
|
|
|
# |___/
|
|
|
|
# by Stephan Raabe (2023)
|
|
|
|
# -----------------------------------------------------
|
|
|
|
|
|
|
|
# -----------------------------------------------------
|
|
|
|
# Quit running waybar instances
|
|
|
|
# -----------------------------------------------------
|
|
|
|
killall waybar
|
|
|
|
|
|
|
|
# -----------------------------------------------------
|
|
|
|
# Loading the configuration based on the username
|
|
|
|
# -----------------------------------------------------
|
|
|
|
if [[ $USER = "raabe" ]]
|
|
|
|
then
|
2023-09-10 13:06:22 +00:00
|
|
|
waybar -c ~/dotfiles/waybar/myconfig & -s ~/dotfiles/waybar/style.css
|
2023-08-28 11:33:53 +00:00
|
|
|
else
|
|
|
|
waybar &
|
|
|
|
fi
|