hyprland-dotfiles/polybar/launch.sh

26 lines
929 B
Bash
Raw Permalink Normal View History

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