Skip to content

Commit 388c0ff

Browse files
committed
feat: improve zend config
1 parent 63bb4b6 commit 388c0ff

File tree

5 files changed

+18
-26
lines changed

5 files changed

+18
-26
lines changed

nix/_home-files.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ in
3131
".zprofile".source = symlink "${dotfilesPath}/shell/zsh/.zprofile";
3232
".zshenv".source = symlink "${dotfilesPath}/shell/zsh/.zshenv";
3333
".zshrc".source = symlink "${dotfilesPath}/shell/zsh/.zshrc";
34-
"Library/LaunchAgents/com.user.disable.airpods.microphone.plist".source = symlink "${dotfilesPath}/os/mac/LaunchAgents/com.user.disable.airpods.microphone.plist";
3534
"Library/Application Support/Code/User/keybindings.json".source = symlink "${dotfilesPath}/editors/code/keybindings.json";
3635
"Library/Application Support/Code/User/settings.json".source = symlink "${dotfilesPath}/editors/code/settings.json";
3736
"Library/Application Support/Code/User/snippets".source = symlink "${dotfilesPath}/editors/code/snippets";
3837
"Library/Application Support/com.elgato.StreamDeck/ProfilesV2".source = symlink "${dotfilesPath}/modules/private/mac/streamdeck/ProfilesV2";
3938
"Library/Application Support/obs-studio/basic".source = symlink "${dotfilesPath}/modules/private/mac/obs/basic";
4039
"Library/Application Support/obs-studio/global.ini".source = symlink "${dotfilesPath}/modules/private/mac/obs/global.ini";
40+
"Library/Application Support/zen/Profiles/8fh0vfxw.Default (alpha)/chrome/userChrome.css".source = symlink "${dotfilesPath}/os/mac/zen/userChrome.css";
41+
"Library/LaunchAgents/com.user.disable.airpods.microphone.plist".source = symlink "${dotfilesPath}/os/mac/LaunchAgents/com.user.disable.airpods.microphone.plist";
4142
}

nix/_packages.nix

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
with pkgs; [
55
bat
6-
clojure-lsp
76
cmatrix
87
coreutils
98
delta

os/mac/karabiner-elements/karabiner.json

+7-23
Original file line numberDiff line numberDiff line change
@@ -714,35 +714,19 @@
714714
"bundle_identifiers" : [ "app.zen-browser.zen" ]
715715
} ],
716716
"type" : "basic"
717-
} ]
718-
}, {
719-
"description" : "[zen] opt+tab switch tabs in order",
720-
"manipulators" : [ {
721-
"from" : {
722-
"key_code" : "tab",
723-
"modifiers" : {
724-
"mandatory" : [ "left_option" ]
725-
}
726-
},
727-
"to" : [ {
728-
"key_code" : "down_arrow",
729-
"modifiers" : [ "left_command", "left_option" ]
730-
} ],
731-
"conditions" : [ {
732-
"type" : "frontmost_application_if",
733-
"bundle_identifiers" : [ "app.zen-browser.zen" ]
734-
} ],
735-
"type" : "basic"
736717
}, {
737718
"from" : {
738-
"key_code" : "tab",
719+
"key_code" : "t",
739720
"modifiers" : {
740-
"mandatory" : [ "left_option", "left_shift" ]
721+
"mandatory" : [ "left_command" ]
741722
}
742723
},
743724
"to" : [ {
744-
"key_code" : "up_arrow",
745-
"modifiers" : [ "left_command", "left_option" ]
725+
"key_code" : "t",
726+
"modifiers" : [ "left_command" ]
727+
}, {
728+
"key_code" : "l",
729+
"modifiers" : [ "left_command" ]
746730
} ],
747731
"conditions" : [ {
748732
"type" : "frontmost_application_if",

os/mac/karabiner-goku/karabiner.edn

+6-1
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,15 @@
146146
{:des "[zen] Toggle sidebar"
147147
:rules [:ZenBrowser [:sidebar-primary-toggle :!COc]]}
148148
{:des "[zen] Change workspace"
149-
:rules [:ZenBrowser [:switch-account :!TOright_arrow] [:switch-account-esc :!TOright_arrow] [:next-workspace :!TOright_arrow] [:prev-workspace :!COq]]}
149+
:rules [:ZenBrowser [:switch-account :!TOright_arrow]
150+
[:switch-account-esc :!TOright_arrow]
151+
[:next-workspace :!TOright_arrow]
152+
[:prev-workspace :!COq]]}
150153

151154
{:des "[zen] Change to compact"
152155
:rules [:ZenBrowser [:sidebar-secondary-toggle :!Ob]]}
156+
{:des "[zen] Cmd + tab also shows the url bar"
157+
:rules [:ZenBrowser [:!Ct [:!Ct :!Cl]]]}
153158

154159
{:des "[chatgpt] Toggle sidebar"
155160
:rules [:ChatGPT [:sidebar-primary-toggle :!Cs]]}

os/mac/zen/userChrome.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
:root .tab-content {
2+
font-size: 1.2rem;
3+
}

0 commit comments

Comments
 (0)