Changed: Sketchybar

This commit is contained in:
2025-09-27 16:20:11 +02:00
parent aa3e1cedce
commit c3197b86a9
2 changed files with 4 additions and 43 deletions

View File

@@ -1,43 +0,0 @@
{
inputs,
pkgs,
...
}:
{
home.packages = with pkgs; [
sketchybar-app-font
# menubar-cli # (needs to come from an overlay, check https://github.com/Kcraft059/Nix-Config/blob/master/overlays/menubar-cli.nix for implementation - bin by @FelixKratz)
];
programs.sketchybar = {
enable = true;
service = rec {
enable = true;
errorLogFile = "/tmp/sketchybar.log";
outLogFile = errorLogFile;
};
configType = "bash";
config = {
source = "${inputs.sketchybar-config}"; # flake input path
recursive = true; # copy entire tree
};
extraPackages = with pkgs; [
# menubar-cli # see above
imagemagick
macmon
];
};
# Example of providing dynamic icon map or other generated files
xdg.configFile = {
"sketchybar/dyn-icon_map.sh".source = "${pkgs.sketchybar-app-font}/bin/icon_map.sh";
# Optional: inline user overrides without forking
# "sketchybar/config.sh".text = ''
# NOTCH_WIDTH=200
# MUSIC_INFO_WIDTH=100
# '';
};
}

View File

@@ -67,4 +67,8 @@
ctrl - q : open -a kitty --args --directory="~"
'';
};
services.sketchybar = {
enable = true;
};
}