fix stuffs
This commit is contained in:
parent
1cb11aef59
commit
1efeda4130
6 changed files with 43 additions and 30 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
result
|
||||
/.pre-commit-config.yaml
|
||||
|
|
|
|||
|
|
@ -124,33 +124,32 @@
|
|||
ShowPathbar = true;
|
||||
ShowStatusBar = false;
|
||||
};
|
||||
#
|
||||
# NSGlobalDomain = {
|
||||
# # AppleMeasurementUnits = "Centimeters";
|
||||
# AppleMetricUnits = 1;
|
||||
# AppleShowAllExtensions = true;
|
||||
# # AppleTemperatureUnit = "Celsius";
|
||||
# # AppleInterfaceStyle = "Dark";
|
||||
# AppleInterfaceStyle = null; # -- light mode
|
||||
# AppleInterfaceStyleSwitchesAutomatically = false;
|
||||
# InitialKeyRepeat = 20;
|
||||
# KeyRepeat = 2;
|
||||
# NSAutomaticCapitalizationEnabled = false;
|
||||
# NSAutomaticDashSubstitutionEnabled = false;
|
||||
# NSAutomaticPeriodSubstitutionEnabled = false;
|
||||
# NSAutomaticQuoteSubstitutionEnabled = false;
|
||||
# NSAutomaticSpellingCorrectionEnabled = false;
|
||||
# NSDisableAutomaticTermination = true;
|
||||
# NSAutomaticWindowAnimationsEnabled = false;
|
||||
# NSDocumentSaveNewDocumentsToCloud = false;
|
||||
# NSNavPanelExpandedStateForSaveMode = true;
|
||||
# NSNavPanelExpandedStateForSaveMode2 = true;
|
||||
# NSTableViewDefaultSizeMode = 2;
|
||||
# NSWindowResizeTime = 1.0e-4;
|
||||
# PMPrintingExpandedStateForPrint = true;
|
||||
# PMPrintingExpandedStateForPrint2 = true;
|
||||
# };
|
||||
# LaunchServices.LSQuarantine = false;
|
||||
NSGlobalDomain = {
|
||||
# AppleMeasurementUnits = "Centimeters";
|
||||
AppleMetricUnits = 1;
|
||||
AppleShowAllExtensions = true;
|
||||
# AppleTemperatureUnit = "Celsius";
|
||||
AppleInterfaceStyle = "Dark";
|
||||
# AppleInterfaceStyle = null; # -- light mode
|
||||
AppleInterfaceStyleSwitchesAutomatically = false;
|
||||
InitialKeyRepeat = 20;
|
||||
KeyRepeat = 2;
|
||||
NSAutomaticCapitalizationEnabled = false;
|
||||
NSAutomaticDashSubstitutionEnabled = false;
|
||||
NSAutomaticPeriodSubstitutionEnabled = false;
|
||||
NSAutomaticQuoteSubstitutionEnabled = false;
|
||||
NSAutomaticSpellingCorrectionEnabled = false;
|
||||
NSDisableAutomaticTermination = true;
|
||||
NSAutomaticWindowAnimationsEnabled = false;
|
||||
NSDocumentSaveNewDocumentsToCloud = false;
|
||||
NSNavPanelExpandedStateForSaveMode = true;
|
||||
NSNavPanelExpandedStateForSaveMode2 = true;
|
||||
NSTableViewDefaultSizeMode = 2;
|
||||
NSWindowResizeTime = 1.0e-4;
|
||||
PMPrintingExpandedStateForPrint = true;
|
||||
PMPrintingExpandedStateForPrint2 = true;
|
||||
};
|
||||
LaunchServices.LSQuarantine = false;
|
||||
};
|
||||
|
||||
environment.systemPackages =
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
ice = mkEnableOption "Enable Ice Menu Manager";
|
||||
contexts = mkEnableOption "Enable Contexts";
|
||||
forklift = mkEnableOption "Enable Forklift 4";
|
||||
flux = mkEnableOption "Enable f.lux";
|
||||
};
|
||||
|
||||
config = lib.mkMerge [
|
||||
|
|
@ -48,7 +49,7 @@
|
|||
enable = true;
|
||||
onActivation = {
|
||||
# autoUpdate = true;
|
||||
# cleanup = "zap";
|
||||
cleanup = "zap";
|
||||
};
|
||||
global = {
|
||||
brewfile = true;
|
||||
|
|
@ -157,5 +158,10 @@
|
|||
"forklift"
|
||||
];
|
||||
})
|
||||
(lib.mkIf config.custom.brew.flux {
|
||||
homebrew.casks = [
|
||||
"flux"
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,6 +39,12 @@ local cal = sbar.add("item", {
|
|||
-- Padding item required because of bracket
|
||||
sbar.add("item", { position = "right", width = settings.group_paddings })
|
||||
|
||||
-- cal:subscribe({ "forced", "routine", "system_woke" }, function(env)
|
||||
-- cal:set({ icon = os.date(" %B %d %a"), label = os.date(" %H:%M") })
|
||||
-- end)
|
||||
cal:subscribe({ "forced", "routine", "system_woke" }, function(env)
|
||||
cal:set({ icon = os.date(" %B %d %a"), label = os.date(" %H:%M") })
|
||||
cal:set({
|
||||
icon = os.date(" %B %d %a"),
|
||||
label = os.date(" %I:%M %p") -- 12-hour format with AM/PM
|
||||
})
|
||||
end)
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
scroll-reverser = true;
|
||||
ice = true;
|
||||
contexts = true;
|
||||
flux = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ let
|
|||
./${host}
|
||||
./${host}/hardware.nix
|
||||
../nixos
|
||||
../overlays
|
||||
(
|
||||
{ config, ... }:
|
||||
{
|
||||
|
|
@ -53,6 +52,7 @@ let
|
|||
inherit host user system;
|
||||
system-font = "Consolas";
|
||||
dots = "/home/${user}/dotfiles";
|
||||
home-dir = config.home-manager.users.${user}.home.homeDirectory;
|
||||
};
|
||||
|
||||
users.${user} = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue