fix: more sketchybar/jankyborders fixes

This commit is contained in:
winston 2024-05-31 03:57:05 +02:00
parent 3e9bcb57a2
commit 3833243351
Signed by: winston
GPG key ID: 3786770EDBC2B481
3 changed files with 54 additions and 52 deletions

View file

@ -97,16 +97,16 @@ def color [name: string, alpha: float = 1.0] {
$"label.color=(color violet)" $"label.color=(color violet)"
--set "Mullvad VPN" --set "Mullvad VPN"
$"alias.color=(color orange)" $"alias.color=(color orange)"
--set "Control Centre,Battery" --set "Control Center,Battery"
$"alias.color=(color gold)" $"alias.color=(color gold)"
--set clock --set clock
$"icon.color=(color violet)" $"icon.color=(color violet)"
$"label.color=(color violet)") $"label.color=(color violet)")
# set the jankyborders colors as well # set the jankyborders colors as well
if ((which borders).type? == "external") { if ((which borders).type?.0? == "external") {
(borders (borders
$"active_color=(colors rose)" $"active_color=(color blue)"
$"inactive_color=(colors gray)" $"inactive_color=(color gray)"
width=5.0) width=5.0)
} }

View file

@ -23,11 +23,11 @@ sketchybar -m --add event theme_changed AppleInterfaceThemeChangedNotification
--set colordummy --set colordummy
drawing=off drawing=off
$"script=($pluginDir)/colordummy.nu" $"script=($pluginDir)/colordummy.nu"
--subscribe colordummy theme_changed --subscribe colordummy theme_changed)
)
##### Changing Defaults ##### ##### Changing Defaults #####
(sketchybar --default (sketchybar
--default
updates=when_shown updates=when_shown
drawing=on drawing=on
icon.font="Symbols Nerd Font:2048-em:18.0" icon.font="Symbols Nerd Font:2048-em:18.0"
@ -35,8 +35,7 @@ sketchybar -m --add event theme_changed AppleInterfaceThemeChangedNotification
label.padding_left=2 label.padding_left=2
label.padding_right=2 label.padding_right=2
icon.padding_left=2 icon.padding_left=2
icon.padding_right=2 icon.padding_right=2)
)
# }}} # }}}
## left side of the bar {{{ ## left side of the bar {{{

View file

@ -22,7 +22,10 @@
services = { services = {
sketchybar = { sketchybar = {
enable = true; enable = true;
extraPackages = with pkgs; [ nushell ]; extraPackages = with pkgs; [
jankyborders
nushell
];
}; };
yabai = { yabai = {
enable = true; enable = true;