When starting or restarting spacebar, either on boot up or manually via brew services, more often than not many config lines aren't applied. Simple booleans and values like the title or height works 100% of the time, but other lines such as background_color or space_icon_strip are only applied 5% of the time (but never mixmatch. Either they all apply or none of them do). To fix I have to restart spacebar until it works every time I reboot.
I've tried all config locations, and tried using spacebar -c but am getting this:
$ spacebar -c ~/.config/spacebar/spacebarrc
spacebar: could not acquire lock-file! abort..
This is my .spacebarrc:
#!/usr/bin/env sh
spacebar -m config position top
spacebar -m config height 34
spacebar -m config title off
spacebar -m config spaces on
spacebar -m config clock on
spacebar -m config power on
spacebar -m config padding_left 20
spacebar -m config padding_right 20
spacebar -m config spacing_left 25
spacebar -m config spacing_right 15
spacebar -m config text_font "MesloLGS NF:Regular:13.0"
spacebar -m config icon_font "MesloLGS NF:Regular:13.0"
spacebar -m config right_shell on
spacebar -m config right_shell_command "whoami"
spacebar -m config right_shell_icon
spacebar -m config right_shell_icon_color 0xffebdbb2
spacebar -m config background_color 0xff000000
spacebar -m config foreground_color 0xffebdbb2
spacebar -m config space_icon_color 0xfffb4934
spacebar -m config power_icon_color 0xffcd950c
spacebar -m config battery_icon_color 0xffd75f5f
spacebar -m config dnd_icon_color 0xff83a598
spacebar -m config clock_icon_color 0xffebdbb2
spacebar -m config power_icon_strip
spacebar -m config space_icon_strip I II III IV V VI VII VIII IX X
spacebar -m config space_icon
spacebar -m config clock_icon
spacebar -m config dnd_icon
spacebar -m config clock_format "%d/%m|%R"
echo "spacebar configuration loaded.."
This is what it looks like when it's usually not applied (notice that the title = off config is applied):
What it's supposed to look like (using correct bg colour, space icons, and right shell + clock):
Seems like there's a higher chance of it applying correctly if I restart my machine instead of restarting the service.
When starting or restarting spacebar, either on boot up or manually via
brew services
, more often than not many config lines aren't applied. Simple booleans and values like thetitle
orheight
works 100% of the time, but other lines such asbackground_color
orspace_icon_strip
are only applied 5% of the time (but never mixmatch. Either they all apply or none of them do). To fix I have to restart spacebar until it works every time I reboot.I've tried all config locations, and tried using
spacebar -c
but am getting this:This is my .spacebarrc:
This is what it looks like when it's usually not applied (notice that the![broken](https://user-images.githubusercontent.com/22228197/170577404-62986ac3-4fce-48f2-8fa3-947d613640fb.png)
title = off
config is applied):What it's supposed to look like (using correct bg colour, space icons, and right shell + clock):![working](https://user-images.githubusercontent.com/22228197/170579183-acdea6ee-86dc-44f0-aa41-9e0a31792d27.png)
Seems like there's a higher chance of it applying correctly if I restart my machine instead of restarting the service.