waybar: move to systemd service, update clock
This commit is contained in:
parent
650b741777
commit
2e9119018c
5 changed files with 44 additions and 24 deletions
|
@ -1,16 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
CONFIG_DIR=$HOME/.config/sway/waybar.d
|
||||
CONFIG=$CONFIG_DIR/config
|
||||
CONFIG_HOST=$CONFIG_DIR/config_$(hostname)
|
||||
if [ -f $CONFIG_HOST ]; then
|
||||
CONFIG=$CONFIG_HOST
|
||||
fi
|
||||
STYLE=$CONFIG_DIR/style.css
|
||||
|
||||
# Terminate already running bar instances
|
||||
# pkill -SIGUSR2 -x waybar
|
||||
pkill -x waybar
|
||||
# execute new instance
|
||||
waybar -c $CONFIG -s $STYLE
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue