waybar: use default config for most hosts, add mail status
This commit is contained in:
parent
4939e65708
commit
b4b0adf131
6 changed files with 52 additions and 286 deletions
|
@ -1,7 +1,11 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
CONFIG_DIR=$HOME/.config/sway/waybar.d
|
||||
CONFIG=$CONFIG_DIR/$(hostname).conf
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue