cmacrae / spacebar

A minimal status bar for macOS. Ideal for use with tiling window managers like yabai
MIT License
1.22k stars 52 forks source link

macos12 only one space can display the bar #95

Closed matyle closed 2 years ago

matyle commented 2 years ago

macos12 only one space can display the bar my terminal at one virtual desktop,I start the spacebar,so it shows in the one.But the second place doesn't show bar

matyle commented 2 years ago
#!/usr/bin/env sh

spacebar -m config position             top
spacebar -m config height               26
spacebar -m config title                on
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            "Helvetica Neue:Bold:12.0"
spacebar -m config icon_font            "Hack Nerd Font:Regular:12.0"
spacebar -m config background_color     0xff202020
spacebar -m config foreground_color     0xffa8a8a8
spacebar -m config space_icon_color     0xff458588
spacebar -m config power_icon_color     0xffcd950c
spacebar -m config battery_icon_color   0xffd75f5f
spacebar -m config dnd_icon_color       0xffa8a8a8
spacebar -m config clock_icon_color     0xffa8a8a8
spacebar -m config power_icon_strip      
spacebar -m config space_icon_strip     1 2 3 4 5 6 7 8 9 10
spacebar -m config space_icon           
spacebar -m config clock_icon           
spacebar -m config dnd_icon             
spacebar -m config clock_format         "%d/%m/%y %R"
spacebar -m config right_shell          on
spacebar -m config right_shell_icon     
spacebar -m config right_shell_command  "whoami"

echo "spacebar configuration loaded.."
matyle commented 2 years ago

spacebar -m config display all other display can show bar,but other space doesn't show

jbagnara commented 2 years ago

Building https://github.com/cmacrae/spacebar/pull/91 fixed this for me

ericsong commented 2 years ago

Instructions for building can be found here https://github.com/cmacrae/spacebar/issues/94#issuecomment-987758238