feat: add menu bar clock setting

This commit is contained in:
Guanran Wang 2023-09-20 07:05:27 +08:00
parent a92536217e
commit affe94bcc5
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -39,20 +39,31 @@
programs.zsh.enable = true; # default shell on catalina programs.zsh.enable = true; # default shell on catalina
programs.fish.enable = true; programs.fish.enable = true;
system.defaults.finder = { system.defaults = {
# Apple... Do I really have to change literally # Apple... Do I really have to change literally
# every setting in Finder to make it actually usable # every setting in macOS to make it actually usable
# NOTE: default of those options is `null` (unmanaged)
_FXShowPosixPathInTitle = false; finder = {
AppleShowAllExtensions = true; _FXShowPosixPathInTitle = false;
AppleShowAllFiles = true; AppleShowAllExtensions = true;
CreateDesktop = false; AppleShowAllFiles = true;
FXDefaultSearchScope = "SCcf"; # "SCcf" = Current folder CreateDesktop = false;
FXEnableExtensionChangeWarning = false; FXDefaultSearchScope = "SCcf"; # "SCcf" = Current folder
FXPreferredViewStyle = "Nlsv"; # "icnv" = Icon view, "Nlsv" = List view, "clmv" = Column View, "Flwv" = Gallery View FXEnableExtensionChangeWarning = false;
QuitMenuItem = true; FXPreferredViewStyle = "Nlsv"; # "icnv" = Icon view, "Nlsv" = List view, "clmv" = Column View, "Flwv" = Gallery View
ShowPathbar = true; QuitMenuItem = true;
ShowStatusBar = false; ShowPathbar = true;
ShowStatusBar = false;
};
menuExtraClock = {
IsAnalog = false;
Show24Hour = false;
ShowAMPM = true;
ShowDate = 0; # 0 = show, 1, 2 = don't show
ShowDayOfMonth = true;
ShowDayOfWeek = true;
ShowSeconds = false;
};
}; };
# Set Git commit hash for darwin-version. # Set Git commit hash for darwin-version.