Hyprland-dotfiles/polybar/launch.sh

26 lines
929 B
Bash
Raw Normal View History

2023-04-06 08:30:10 -04:00
#!/usr/bin/env bash
2023-08-17 04:27:39 -04:00
# ____ _ _ ____ _ _
# / ___|| |_ __ _ _ __| |_ | _ \ ___ | |_ _| |__ __ _ _ __
# \___ \| __/ _` | '__| __| | |_) / _ \| | | | | '_ \ / _` | '__|
# ___) | || (_| | | | |_ | __/ (_) | | |_| | |_) | (_| | |
# |____/ \__\__,_|_| \__| |_| \___/|_|\__, |_.__/ \__,_|_|
# |___/
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
2023-04-06 08:30:10 -04:00
2023-08-17 04:27:39 -04:00
# -----------------------------------------------------
# Quit running polybar instances
# -----------------------------------------------------
2023-04-06 08:30:10 -04:00
polybar-msg cmd quit
2023-08-17 04:27:39 -04:00
# -----------------------------------------------------
# Loading the configuration based on the username
# -----------------------------------------------------
if [[ $USER = "raabe" ]]
then
polybar -r mypolybar
else
polybar -r mybar
fi