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)"
--set "Mullvad VPN"
$"alias.color=(color orange)"
--set "Control Centre,Battery"
--set "Control Center,Battery"
$"alias.color=(color gold)"
--set clock
$"icon.color=(color violet)"
$"label.color=(color violet)")
# set the jankyborders colors as well
if ((which borders).type? == "external") {
if ((which borders).type?.0? == "external") {
(borders
$"active_color=(colors rose)"
$"inactive_color=(colors gray)"
$"active_color=(color blue)"
$"inactive_color=(color gray)"
width=5.0)
}

View file

@ -23,11 +23,11 @@ sketchybar -m --add event theme_changed AppleInterfaceThemeChangedNotification
--set colordummy
drawing=off
$"script=($pluginDir)/colordummy.nu"
--subscribe colordummy theme_changed
)
--subscribe colordummy theme_changed)
##### Changing Defaults #####
(sketchybar --default
(sketchybar
--default
updates=when_shown
drawing=on
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_right=2
icon.padding_left=2
icon.padding_right=2
)
icon.padding_right=2)
# }}}
## left side of the bar {{{

View file

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