Changed: Sketchybar
This commit is contained in:
@@ -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
|
||||
# '';
|
||||
};
|
||||
|
||||
}
|
@@ -67,4 +67,8 @@
|
||||
ctrl - q : open -a kitty --args --directory="~"
|
||||
'';
|
||||
};
|
||||
|
||||
services.sketchybar = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user