add ghostty exception, autohide menubar
This commit is contained in:
parent
95c225adc8
commit
0cc2fd3722
2 changed files with 19 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
userSettings,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
#Use touchid or watch to activate sudo
|
#Use touchid or watch to activate sudo
|
||||||
security.pam.services.sudo_local = {
|
security.pam.services.sudo_local = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -12,7 +16,7 @@
|
||||||
stateVersion = 6;
|
stateVersion = 6;
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
# Turn quaranite off
|
# Turn quarantine off
|
||||||
LaunchServices = {
|
LaunchServices = {
|
||||||
LSQuarantine = false;
|
LSQuarantine = false;
|
||||||
};
|
};
|
||||||
|
@ -70,6 +74,10 @@
|
||||||
ShowPathbar = true;
|
ShowPathbar = true;
|
||||||
FXEnableExtensionChangeWarning = false;
|
FXEnableExtensionChangeWarning = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
_HIHideMenuBar = {
|
||||||
|
enable = userSettings.darwinTiling;
|
||||||
|
};
|
||||||
CustomSystemPreferences = {
|
CustomSystemPreferences = {
|
||||||
"com.apple.universalaccess" = {
|
"com.apple.universalaccess" = {
|
||||||
closeViewTrackpadGestureZoomEnabled = 1;
|
closeViewTrackpadGestureZoomEnabled = 1;
|
||||||
|
|
|
@ -112,6 +112,15 @@
|
||||||
"-c"
|
"-c"
|
||||||
"/run/current-system/sw/bin/sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE"
|
"/run/current-system/sw/bin/sketchybar --trigger aerospace_workspace_change FOCUSED_WORKSPACE=$AEROSPACE_FOCUSED_WORKSPACE"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
on-window-detected = [
|
||||||
|
#Ghostty currently renders tabs as individual processes
|
||||||
|
#Fix comes from https://ghostty.org/docs/help/macos-tiling-wms
|
||||||
|
{
|
||||||
|
"if".app-id = "com.mitchellh.ghostty";
|
||||||
|
run = ["layout tiling"];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue