This one requires some configuration to set up (I've added notes in the readme):
define on_enter commands in .skhdrc to call a new simple-bar bash script. This script will simply cache the given mode name, and optionally a color (default white).
enable System Preferences > Privacy & Security > Automation > skhd > ubersicht, to allow skhd to issue AppleScript commands to Ubersicht.
I've added a setting for this to the process widget settings.
The logic that determines whether to display the span for the mode name will NOT print anything if the mode name is "default". I've assumed this default since that's used in the example skhdrc provided by the author. Should this be a config setting? Show mode name regardless of name?
Do let me know if you have changes you think would be helpful for the readme/configuration/the way the script is set up.
Addressing https://github.com/Jean-Tinland/simple-bar/issues/205#issuecomment-1074408036, I've introduced another update to the process widget: this adds
skhd
mode next to the space layout IFF it's something other than the string"default"
.This one requires some configuration to set up (I've added notes in the readme):
on_enter
commands in.skhdrc
to call a new simple-bar bash script. This script will simply cache the given mode name, and optionally a color (default white).skhd
to issue AppleScript commands to Ubersicht.I've added a setting for this to the process widget settings.
The logic that determines whether to display the
span
for the mode name will NOT print anything if the mode name is"default"
. I've assumed this default since that's used in the example skhdrc provided by the author. Should this be a config setting? Show mode name regardless of name?Do let me know if you have changes you think would be helpful for the readme/configuration/the way the script is set up.
some screenshots:
during
default
mode (i.e. normal operation)(display current layout:
false
)(display current layout:
true
)