mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 13:25:38 +00:00
fix: mac dock persistent-apps now supported directly
This commit is contained in:
parent
400d45df39
commit
9b0d363909
@ -130,10 +130,7 @@
|
|||||||
"com.apple.dock" = {
|
"com.apple.dock" = {
|
||||||
magnification = true;
|
magnification = true;
|
||||||
largesize = 48;
|
largesize = 48;
|
||||||
persistent-apps = let
|
persistent-apps = [
|
||||||
dockText = app:
|
|
||||||
"<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>${app}</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>";
|
|
||||||
in map dockText [
|
|
||||||
"/Applications/1Password.app"
|
"/Applications/1Password.app"
|
||||||
"${pkgs.slack}/Applications/Slack.app"
|
"${pkgs.slack}/Applications/Slack.app"
|
||||||
"/System/Applications/Calendar.app"
|
"/System/Applications/Calendar.app"
|
||||||
|
Loading…
Reference in New Issue
Block a user