Skip to content

Commit

Permalink
darwin/system/interface: add spacer tiles to dock
Browse files Browse the repository at this point in the history
Using fork until LnL7/nix-darwin#1187 merged
  • Loading branch information
khaneliman committed Nov 21, 2024
1 parent e108a9e commit 85fb000
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
11 changes: 6 additions & 5 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

# macOS Support (master)
darwin = {
url = "github:lnl7/nix-darwin";
# url = "github:lnl7/nix-darwin";
url = "github:khaneliman/nix-darwin/spacer";
# url = "git+file:///Users/khaneliman/github/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};

Expand Down
12 changes: 5 additions & 7 deletions modules/darwin/system/interface/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,28 +110,26 @@ in
"/System/Applications/Launchpad.app"
"/System/Applications/System Settings.app"
"/System/Applications/App Store.app"
# TODO: implement small_blank
# Need to update upstream to accept something like this
# ''{tile-data={}; tile-type="small-spacer-tile";}''
"small-spacer-tile"
"/System/Applications/Messages.app"
"${pkgs.caprine-bin}/Applications/Caprine.app"
"${pkgs.element-desktop}/Applications/Element.app"
"/Applications/Microsoft Teams.app"
"${pkgs.discord}/Applications/Discord.app"
"/Applications/Thunderbird.app"
# TODO: implement small_blank
"small-spacer-tile"
"/Applications/Firefox Developer Edition.app"
"/Applications/Safari.app"
"/Applications/Fantastical.app"
"/System/Applications/Reminders.app"
"/System/Applications/Notes.app"
# TODO: implement small_blank
"small-spacer-tile"
"/System/Applications/Music.app"
"/Applications/Plex.app"
# TODO: implement small_blank
"small-spacer-tile"
"${pkgs.vscode}/Applications/Visual Studio Code.app"
"${pkgs.bruno}/Applications/Bruno.app"
# TODO: implement small_blank
"small-spacer-tile"
"${pkgs.wezterm}/Applications/WezTerm.app"
];
};
Expand Down

0 comments on commit 85fb000

Please sign in to comment.