Skip to content

Commit acdf58a

Browse files
committed
feat: update node version
1 parent fa142e4 commit acdf58a

File tree

10 files changed

+201
-97
lines changed

10 files changed

+201
-97
lines changed

nix/_homebrew.nix

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
{
44
enable = true;
55
taps = [];
6-
brews = ["cliclick"];
6+
brews = [
7+
"cliclick"
8+
"choose-gui"
9+
];
710
casks = [
811
"adobe-creative-cloud"
912
"arc"
1013
"betterdisplay"
1114
"capcut"
1215
"cloudflare-warp"
13-
"cursor"
1416
"contexts"
17+
"cursor"
1518
"displaylink"
1619
"elgato-camera-hub"
1720
"elgato-control-center"
@@ -21,6 +24,7 @@
2124
"google-drive"
2225
"grandperspective"
2326
"handbrake"
27+
"iina"
2428
"iterm2"
2529
"jetbrains-toolbox"
2630
"karabiner-elements"
@@ -34,7 +38,6 @@
3438
"stremio"
3539
"telegram"
3640
"visual-studio-code"
37-
"iina"
3841
"zed"
3942
];
4043
masApps = {

nix/_macos-defaults.nix

-4
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,4 @@
100100
trackpad.TrackpadRightClick = true;
101101
trackpad.TrackpadThreeFingerDrag = false;
102102
trackpad.TrackpadThreeFingerTapGesture = 0;
103-
universalaccess.closeViewScrollWheelToggle = true;
104-
universalaccess.closeViewZoomFollowsFocus = true;
105-
universalaccess.reduceMotion = false;
106-
universalaccess.reduceTransparency = false;
107103
}

nix/_packages.nix

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ with pkgs; [
2020
htop
2121
hyperfine
2222
jdk21
23-
nodejs_20
23+
nodejs_22
2424
ollama
2525
php81
2626
php83Packages.composer
@@ -41,7 +41,6 @@ with pkgs; [
4141
zsh
4242

4343
# gui
44-
choose-gui
4544
gum
4645
kitty
4746
mas

nix/flake.lock

+16-50
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

os/mac/ghostty/config

+40-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,50 @@
11
# Font
2-
font-family = "DankMono Nerd Font Mono"
3-
font-size = 18
2+
font-family = DankMono Nerd Font Mono
3+
font-size = 20
4+
font-thicken = false
5+
font-style-bold = false
6+
font-style-bold-italic = false
7+
adjust-cell-height = 5
8+
font-feature = -calt
9+
font-feature = -liga
10+
font-feature = -dlig
411

5-
# Padding
12+
# UI
613
window-padding-x = 10
714
window-padding-y = 5
15+
window-padding-balance = true
16+
mouse-hide-while-typing = true
17+
window-width = 100
18+
window-height = 30
819

9-
# Opacity
20+
# Theme
21+
background = #1d1d1d
22+
foreground = #e8dbb6
23+
cursor-color = #e8dbb6
24+
palette = 0=#272727
25+
palette = 1=#e67e6d
26+
palette = 2=#b8ba46
27+
palette = 3=#f0bf4f
28+
palette = 4=#8aa398
29+
palette = 5=#c78899
30+
palette = 6=#98be81
31+
palette = 7=#e8dbb6
32+
palette = 8=#8f8375
33+
palette = 9=#e49386
1034
background-opacity = 0.9
1135
background-blur-radius = 10
36+
unfocused-split-opacity = 0.5
37+
unfocused-split-fill = #2d2d2d
38+
macos-icon = custom-style
39+
macos-icon-frame = aluminum
40+
macos-icon-ghost-color = #3cff64
41+
macos-icon-screen-color = #3cff64
1242

1343
# Window
1444
# window-decoration = false
15-
macos-titlebar-style = "hidden"
45+
macos-titlebar-style = hidden
46+
47+
# Features
48+
link-url = true
49+
auto-update = download
50+
auto-update-channel = tip

os/mac/karabiner-elements/karabiner.json

+92
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,98 @@
598598
} ],
599599
"type" : "basic"
600600
} ]
601+
}, {
602+
"description" : "[zen] Toggle sidebar",
603+
"manipulators" : [ {
604+
"from" : {
605+
"modifiers" : {
606+
"mandatory" : [ "left_command" ]
607+
},
608+
"key_code" : "1"
609+
},
610+
"to" : [ {
611+
"key_code" : "s",
612+
"modifiers" : [ "left_command", "left_option" ]
613+
} ],
614+
"conditions" : [ {
615+
"type" : "frontmost_application_if",
616+
"bundle_identifiers" : [ "org.mozilla.com.zen.browser" ]
617+
} ],
618+
"type" : "basic"
619+
} ]
620+
}, {
621+
"description" : "[zen] CMD P also to show url menu",
622+
"manipulators" : [ {
623+
"from" : {
624+
"key_code" : "p",
625+
"modifiers" : {
626+
"mandatory" : [ "left_command" ]
627+
}
628+
},
629+
"to" : [ {
630+
"key_code" : "l",
631+
"modifiers" : [ "left_command" ]
632+
} ],
633+
"conditions" : [ {
634+
"type" : "frontmost_application_if",
635+
"bundle_identifiers" : [ "org.mozilla.com.zen.browser" ]
636+
} ],
637+
"type" : "basic"
638+
} ]
639+
}, {
640+
"description" : "[zen] CMD Shift D shows url menu permanently",
641+
"manipulators" : [ {
642+
"from" : {
643+
"key_code" : "d",
644+
"modifiers" : {
645+
"mandatory" : [ "left_command", "left_shift" ]
646+
}
647+
},
648+
"to" : [ {
649+
"key_code" : "t",
650+
"modifiers" : [ "left_command", "left_option" ]
651+
} ],
652+
"conditions" : [ {
653+
"type" : "frontmost_application_if",
654+
"bundle_identifiers" : [ "org.mozilla.com.zen.browser" ]
655+
} ],
656+
"type" : "basic"
657+
} ]
658+
}, {
659+
"description" : "[zen] opt+tab switch tabs in order",
660+
"manipulators" : [ {
661+
"from" : {
662+
"key_code" : "tab",
663+
"modifiers" : {
664+
"mandatory" : [ "left_option" ]
665+
}
666+
},
667+
"to" : [ {
668+
"key_code" : "down_arrow",
669+
"modifiers" : [ "left_command", "left_option" ]
670+
} ],
671+
"conditions" : [ {
672+
"type" : "frontmost_application_if",
673+
"bundle_identifiers" : [ "org.mozilla.com.zen.browser" ]
674+
} ],
675+
"type" : "basic"
676+
}, {
677+
"from" : {
678+
"key_code" : "tab",
679+
"modifiers" : {
680+
"mandatory" : [ "left_option", "left_shift" ]
681+
}
682+
},
683+
"to" : [ {
684+
"key_code" : "up_arrow",
685+
"modifiers" : [ "left_command", "left_option" ]
686+
} ],
687+
"conditions" : [ {
688+
"type" : "frontmost_application_if",
689+
"bundle_identifiers" : [ "org.mozilla.com.zen.browser" ]
690+
} ],
691+
"type" : "basic"
692+
} ]
601693
}, {
602694
"description" : "[chatgpt] Toggle sidebar",
603695
"manipulators" : [ {

os/mac/karabiner-goku/karabiner.edn

+15-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
:Reminders ["com.apple.reminders"]
2525
:Safari ["com.apple.Safari"]
2626
:Slack ["com.tinyspeck.slackmacgap"]
27-
:VSCode ["com.microsoft.VSCode"]}
27+
:VSCode ["com.microsoft.VSCode"]
28+
:ZenBrowser ["org.mozilla.com.zen.browser"]}
2829
:froms {:clipboard-history {:modi [:left_command :left_shift] :key :v}
2930
:create-folder {:modi [:left_control :left_option :left_command] :key :p}
3031
:create-new {:modi [:left_command] :key :n}
@@ -134,14 +135,21 @@
134135
:rules [:Arc [:switch-account-esc :!COright_arrow]]}
135136
{:des "[arc] CMD P also to show url menu"
136137
:rules [:Arc [:!Cp :!Cl]]}
137-
;; {:des "[arc] CMD e show open tabs thanks to Arc Raycast extension"
138-
;; :rules [:Arc [:!Ce :!TOCSl]]}
139138
{:des "[arc] opt+tab switch tabs in order"
140139
:rules [:Arc [:!Otab :!COdown_arrow] [:!OStab :!COup_arrow]]}
141-
;; {:des "[arc] CMD+D to split vertically"
142-
;; :rules [:Arc [:!Cd :!TSequal_sign]]}
143-
;; {:des "[arc] Move between split view"
144-
;; :rules [:Arc [:!COleft_arrow :!TSopen_bracket] [:!COright_arrow :!TSclose_bracket]]}
140+
141+
{:des "[zen] Toggle sidebar"
142+
:rules [:ZenBrowser [:sidebar-primary-toggle :!COs]]}
143+
;{:des "[zen] Switch profile"
144+
;:rules [:ZenBrowser [:switch-account :!COright_arrow]]}
145+
;{:des "[zen] Switch profile"
146+
;:rules [:ZenBrowser [:switch-account-esc :!COright_arrow]]}
147+
{:des "[zen] CMD P also to show url menu"
148+
:rules [:ZenBrowser [:!Cp :!Cl]]}
149+
{:des "[zen] CMD Shift D shows url menu permanently"
150+
:rules [:ZenBrowser [:!CSd :!COt]]}
151+
{:des "[zen] opt+tab switch tabs in order"
152+
:rules [:ZenBrowser [:!Otab :!COdown_arrow] [:!OStab :!COup_arrow]]}
145153

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

scripts/utils/open_common

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ declare -A folders
1616
folders=(
1717
["⬇️ Downloads"]="$HOME/Downloads"
1818
["🖥️ Desktop"]="$HOME/Desktop"
19+
["👨‍💻 Code"]="$HOME/Code/codely"
1920
["☁️ tmp"]="$HOME/Desktop/tmp"
2021
["📷 Screenshots"]="$HOME/Desktop/tmp/screenshots"
2122
["🎥 Screencasts"]="$HOME/Desktop/tmp/screencasts"

0 commit comments

Comments
 (0)