Skip to content

Commit

Permalink
✨ icebar, dariwn defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
shelken committed Sep 14, 2024
1 parent c7ced8e commit fddf9ce
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 2 deletions.
1 change: 1 addition & 0 deletions home/darwin/wm/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{...}: {
imports = [
./aerospace.nix
./ice-bar.nix
];
}
28 changes: 28 additions & 0 deletions home/darwin/wm/ice-bar.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
lib,
mylib,
config,
pkgs,
# options,
...
}: let
inherit (lib) mkIf;
inherit (mylib) mkBoolOpt;
cfg = config.shelken.wm.iceBar;
in {
options.shelken.wm.iceBar = {
enable = mkBoolOpt false "Whether or not to enable iceBar.";
};

config = mkIf cfg.enable {
# xdg.configFile = {
# "aerospace/aerospace.toml" = {
# source = ./aerospace/aerospace.toml;
# };
# };

home.packages = with pkgs; [
ice-bar
];
};
}
5 changes: 4 additions & 1 deletion hosts/yuuko/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
# inherit (myvars.networking.ssh) extraConfig;
# };
shelken = {
wm.aerospace.enable = true;
wm = {
aerospace.enable = true;
iceBar.enable = true;
};
secrets.enable = true;
};
}
2 changes: 1 addition & 1 deletion modules/darwin/apps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ in {
"stats" # beautiful system status monitor in menu bar
# "appcleaner" # app uninstall
# "applite" # homebrew ui; need macOS 13+
"hiddenbar" # menubar plugin
# "hiddenbar" # menubar plugin
# "picgo" # picbed
"the-unarchiver" # zip,unzip
# "imageoptim" # image compress
Expand Down
28 changes: 28 additions & 0 deletions modules/darwin/system.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,34 @@
"company.thebrowser.Browser" = {
currentAppIconName = "flutedGlass";
};
# Stats
"eu.exelban.Stats" = {
# "Battery_state" = 0;
# "CPU_state" = 1;
LaunchAtLoginNext = 1;
"Network_state" = 1;
runAtLoginInitialized = 1;
# setupProcess = 1;
"update-interval" = "Never";
};
# ice-bar
"com.jordanbaird.Ice" = {
AutoRehide = 1;
CanToggleAlwaysHiddenSection = 1;
# CustomIceIconIsTemplate = 0;
# NSColorPanelMode = 4;
# NSColorPickerPreferredRGBEntryMode = 2;
SUAutomaticallyUpdate = 0;
SUEnableAutomaticChecks = 0;
# SUHasLaunchedBefore = 1;
ShowIceIcon = 0;
ShowOnClick = 1;
ShowOnHover = 0;
ShowOnScroll = 1;
ShowSectionDividers = 0;
# "hasMigrated0_8_0" = 1;
# MenuBarAppearanceConfiguration = "{bytes = 0x7b226861 73426f72 64657222 3a66616c ... 2f5c2f38 3d227d7d }";
};
};

loginwindow = {
Expand Down

0 comments on commit fddf9ce

Please sign in to comment.