Watch
1
0
Fork
You've already forked dotfiles
0

Compare commits

...
16 changed files with 148 additions and 23 deletions

View file

@ -96,8 +96,7 @@ alt-shift-period = 'move-workspace-to-monitor next'
alt-shift-r = 'mode resize' alt-shift-r = 'mode resize'
# -n: Always open a new instance because I want it to open in my home directory. alt-enter = 'exec-and-forget open -na Ghostty.app'
alt-enter = 'exec-and-forget open -n /Applications/Alacritty.app'
alt-shift-x = 'exec-and-forget sh -c ~/bin/pbclear' alt-shift-x = 'exec-and-forget sh -c ~/bin/pbclear'

View file

@ -0,0 +1,114 @@
{
"BTTPresetCreatorNotes" : "",
"BTTPresetInfoURL" : "",
"BTTPresetName" : "Default",
"BTTPresetColor" : "30.600000, 36.720000, 153.000000, 255.000000",
"BTTPresetUUID" : "DDBEFB60-C981-410F-9EE3-45B875586367",
"BTTPresetContent" : [
{
"BTTAppBundleIdentifier" : "BT.G",
"BTTAppName" : "Global",
"BTTAppAutoInvertIcon" : 1,
"BTTAppSpecificSettings" : {
"BTTDisableGlobalTriggers" : false
},
"BTTTriggers" : [
{
"BTTLastUpdatedAt" : 1788110777.1631141,
"BTTTriggerType" : 173,
"BTTTriggerTypeDescriptionReadOnly" : "2 Finger Tap",
"BTTTriggerClass" : "BTTTriggerTypeTouchpadAll",
"BTTUUID" : "F0868C53-CB16-473F-AA2A-9E850D8B110A",
"BTTOrder" : 0,
"BTTActionsToExecute" : [
{
"BTTLastUpdatedAt" : 1788109280.5100489,
"BTTTriggerParentUUID" : "F0868C53-CB16-473F-AA2A-9E850D8B110A",
"BTTIsPureAction" : true,
"BTTUUID" : "28A8A911-8543-45AC-9118-6CE919E8B36A",
"BTTPredefinedActionType" : 4,
"BTTPredefinedActionName" : "Right Click (At Current Mouse Position)",
"BTTOrder" : 2
}
]
},
{
"BTTLastUpdatedAt" : 1788110777.1631088,
"BTTTriggerType" : 174,
"BTTTriggerTypeDescriptionReadOnly" : "2 Finger Click",
"BTTTriggerClass" : "BTTTriggerTypeTouchpadAll",
"BTTUUID" : "B10652D0-F140-442D-926C-C9B6776D1370",
"BTTOrder" : 1,
"BTTActionsToExecute" : [
{
"BTTLastUpdatedAt" : 1788109280.510026,
"BTTTriggerParentUUID" : "B10652D0-F140-442D-926C-C9B6776D1370",
"BTTIsPureAction" : true,
"BTTUUID" : "7850E782-CB3A-4826-8838-11B426A5231F",
"BTTPredefinedActionType" : 4,
"BTTPredefinedActionName" : "Right Click (At Current Mouse Position)",
"BTTOrder" : 2
}
]
},
{
"BTTLastUpdatedAt" : 1788110777.1631021,
"BTTTriggerType" : 104,
"BTTTriggerTypeDescriptionReadOnly" : "3 Finger Tap",
"BTTTriggerClass" : "BTTTriggerTypeTouchpadAll",
"BTTUUID" : "DF5B6844-C4F2-40C6-ADAB-2C1242B84A1E",
"BTTOrder" : 2,
"BTTActionsToExecute" : [
{
"BTTLastUpdatedAt" : 1788109280.510036,
"BTTTriggerParentUUID" : "DF5B6844-C4F2-40C6-ADAB-2C1242B84A1E",
"BTTIsPureAction" : true,
"BTTUUID" : "51CF8319-5A95-496B-A6AE-4C33BA205C46",
"BTTPredefinedActionType" : 1,
"BTTPredefinedActionName" : "Middle Click (At Current Mouse Position)",
"BTTOrder" : 1
}
]
},
{
"BTTLastUpdatedAt" : 1788110777.1630909,
"BTTTriggerType" : 112,
"BTTTriggerTypeDescriptionReadOnly" : "3 Finger Click",
"BTTTriggerClass" : "BTTTriggerTypeTouchpadAll",
"BTTUUID" : "C4157608-A49E-4F70-9871-DB6C20148689",
"BTTOrder" : 3,
"BTTActionCategoryPressDown" : [
{
"BTTLastUpdatedAt" : 1788109304.261627,
"BTTTriggerParentUUID" : "C4157608-A49E-4F70-9871-DB6C20148689",
"BTTIsPureAction" : true,
"BTTUUID" : "5BA761B0-95B6-4818-B8FE-963A6CCD9D5D",
"BTTPredefinedActionType" : 1,
"BTTPredefinedActionName" : "Middle Click (At Current Mouse Position)",
"BTTOrder" : 3
}
]
}
]
},
{
"BTTAppBundleIdentifier" : "BT.L",
"BTTAppName" : "Recently Used",
"BTTAppAutoInvertIcon" : 1,
"BTTTriggers" : [
]
},
{
"BTTAppBundleIdentifier" : "com.apple.finder",
"BTTAppName" : "Finder",
"BTTAppAutoInvertIcon" : 1,
"BTTTriggers" : [
]
}
],
"BTTPresetSnapAreas" : [
]
}

3
bin/hx
View file

@ -1,3 +0,0 @@
#!/bin/sh
command helix "$@"

View file

@ -1,6 +1,3 @@
tap "homebrew/bundle"
tap "homebrew/services"
brew "bat" brew "bat"
brew "coreutils" brew "coreutils"
brew "dateutils" brew "dateutils"
@ -15,7 +12,9 @@ brew "gnu-time"
brew "gnu-units" brew "gnu-units"
brew "gnupg" brew "gnupg"
brew "gsed" brew "gsed"
brew "helix"
brew "hexyl" brew "hexyl"
brew "lazygit"
brew "imagemagick" brew "imagemagick"
brew "jq" brew "jq"
brew "moreutils" brew "moreutils"
@ -27,14 +26,14 @@ brew "sd"
brew "shellcheck" brew "shellcheck"
brew "syncthing" brew "syncthing"
brew "tree" brew "tree"
brew "tree-sitter-cli"
brew "watch" brew "watch"
brew "zoxide" brew "zoxide"
cask "alacritty"
cask "firefox" cask "firefox"
cask "font-iosevka" cask "font-input"
cask "font-iosevka-slab" cask "ghostty"
cask "gimp" cask "gimp"
cask "karabiner-elements" cask "karabiner-elements"
cask "nikitabobko/tap/aerospace" cask "nikitabobko/tap/aerospace", trusted: true
cask "vlc" cask "vlc"

View file

@ -6,7 +6,7 @@ CURDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
brewfile="${CURDIR}/Brewfile" brewfile="${CURDIR}/Brewfile"
bundle() { bundle() {
brew bundle --file "${brewfile}" "${@:-}" brew bundle --file "${brewfile}" "${@+"$@"}"
} }
bundle check || bundle bundle check || bundle

View file

@ -3,10 +3,14 @@
stdout: true stdout: true
stderr: true stderr: true
quiet: false quiet: false
- command: macos/key-repeat
stdout: true
stderr: true
quiet: false
- link: - link:
./alacritty/os.toml: alacritty/darwin.toml
./git/config-os: git/config-darwin ./git/config-os: git/config-darwin
./ghostty/os.ghostty: ghostty/darwin.ghostty
./zsh/os.zshrc: zsh/darwin.zshrc ./zsh/os.zshrc: zsh/darwin.zshrc
~/.config/aerospace: aerospace/ ~/.config/aerospace: aerospace/
~/.config/karabiner: karabiner/ ~/.config/karabiner: karabiner/

View file

@ -26,6 +26,7 @@ path_if "$HOME/.local/bin"
unset -f source_if unset -f source_if
unset -f path_if unset -f path_if
unset -f has
if has gnome-keyring-daemon; then if has gnome-keyring-daemon; then
eval "$(gnome-keyring-daemon --start)" eval "$(gnome-keyring-daemon --start)"

1
ghostty/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
os.ghostty

View file

@ -1,10 +1,10 @@
font-family = Input Mono Narrow font-family = Input Mono Narrow
font-style = Light font-style = Light
font-size = 10
theme = light:jdkaplan-light,dark:jdkaplan-dark theme = light:jdkaplan-light,dark:jdkaplan-dark
resize-overlay = never resize-overlay = never
window-inherit-working-directory = false window-inherit-working-directory = false
config-file = ?os.ghostty

3
ghostty/darwin.ghostty Normal file
View file

@ -0,0 +1,3 @@
font-size = 12
quit-after-last-window-closed = true

1
ghostty/linux.ghostty Normal file
View file

@ -0,0 +1 @@
font-size = 12

View file

@ -1,5 +1,5 @@
- link: - link:
~/.config/user-dirs.dirs: etc/user-dirs.dirs ~/.config/user-dirs.dirs: etc/user-dirs.dirs
~/.profile: etc/profile.linux ~/.profile: etc/profile.linux
./alacritty/os.toml: alacritty/linux.toml ./ghostty/os.ghostty: ghostty/linux.ghostty
./zsh/os.zshrc: zsh/linux.zshrc ./zsh/os.zshrc: zsh/linux.zshrc

6
macos/key-repeat Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -exuo pipefail
defaults write -g InitialKeyRepeat -float 13.333 # ~200 ms, GUI minimum is 15 = 225 ms
defaults write -g KeyRepeat -int 1 # 15 ms/char, GUI minimum is 2 = 30 ms/ch

View file

@ -1,8 +1,5 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
export EDITOR='hx'
export VISUAL=$EDITOR
if [[ -a /usr/bin/virtualenvwrapper.sh ]]; then if [[ -a /usr/bin/virtualenvwrapper.sh ]]; then
export WORKON_HOME=$HOME/.virtualenvs export WORKON_HOME=$HOME/.virtualenvs
source /usr/bin/virtualenvwrapper.sh source /usr/bin/virtualenvwrapper.sh

View file

@ -3,11 +3,11 @@
alias ls='ls --color=auto' alias ls='ls --color=auto'
export LSCOLORS='Exgxbxdxcxegedabagacad' export LSCOLORS='Exgxbxdxcxegedabagacad'
export EDITOR='hx'
export VISUAL=$EDITOR
alias units='gunits --verbose' alias units='gunits --verbose'
alias date='gdate' alias date='gdate'
alias awk='gawk' alias awk='gawk'
source ~/.profile source ~/.profile
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && source "/opt/homebrew/opt/nvm/nvm.sh"
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && source "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"

View file

@ -2,3 +2,6 @@
alias ls='ls --color=auto' alias ls='ls --color=auto'
export LS_COLORS='no=38;5;244:rs=0:di=38;5;33:ln=38;5;37:mh=00:pi=48;5;230;38;5;136;01:so=48;5;230;38;5;136;01:do=48;5;230;38;5;136;01:bd=48;5;230;38;5;244;01:cd=48;5;230;38;5;244;01:or=48;5;235;38;5;160:su=48;5;160;38;5;230:sg=48;5;136;38;5;230:ca=30;41:tw=48;5;64;38;5;230:ow=48;5;235;38;5;33:st=48;5;33;38;5;230:ex=38;5;64:*.tar=38;5;61:*.tgz=38;5;61:*.arj=38;5;61:*.taz=38;5;61:*.lzh=38;5;61:*.lzma=38;5;61:*.tlz=38;5;61:*.txz=38;5;61:*.zip=38;5;61:*.z=38;5;61:*.Z=38;5;61:*.dz=38;5;61:*.gz=38;5;61:*.lz=38;5;61:*.xz=38;5;61:*.bz2=38;5;61:*.bz=38;5;61:*.tbz=38;5;61:*.tbz2=38;5;61:*.tz=38;5;61:*.deb=38;5;61:*.rpm=38;5;61:*.jar=38;5;61:*.rar=38;5;61:*.ace=38;5;61:*.zoo=38;5;61:*.cpio=38;5;61:*.7z=38;5;61:*.rz=38;5;61:*.apk=38;5;61:*.gem=38;5;61:*.jpg=38;5;136:*.JPG=38;5;136:*.jpeg=38;5;136:*.gif=38;5;136:*.bmp=38;5;136:*.pbm=38;5;136:*.pgm=38;5;136:*.ppm=38;5;136:*.tga=38;5;136:*.xbm=38;5;136:*.xpm=38;5;136:*.tif=38;5;136:*.tiff=38;5;136:*.png=38;5;136:*.svg=38;5;136:*.svgz=38;5;136:*.mng=38;5;136:*.pcx=38;5;136:*.dl=38;5;136:*.xcf=38;5;136:*.xwd=38;5;136:*.yuv=38;5;136:*.cgm=38;5;136:*.emf=38;5;136:*.eps=38;5;136:*.CR2=38;5;136:*.ico=38;5;136:*.tex=38;5;245:*.rdf=38;5;245:*.owl=38;5;245:*.n3=38;5;245:*.ttl=38;5;245:*.nt=38;5;245:*.torrent=38;5;245:*.xml=38;5;245:*Makefile=38;5;245:*Rakefile=38;5;245:*build.xml=38;5;245:*rc=38;5;245:*1=38;5;245:*.nfo=38;5;245:*README=38;5;245:*README.txt=38;5;245:*readme.txt=38;5;245:*.md=38;5;245:*README.markdown=38;5;245:*.ini=38;5;245:*.yml=38;5;245:*.cfg=38;5;245:*.conf=38;5;245:*.c=38;5;245:*.cpp=38;5;245:*.cc=38;5;245:*.log=38;5;240:*.bak=38;5;240:*.aux=38;5;240:*.lof=38;5;240:*.lol=38;5;240:*.lot=38;5;240:*.out=38;5;240:*.toc=38;5;240:*.bbl=38;5;240:*.blg=38;5;240:*~=38;5;240:*#=38;5;240:*.part=38;5;240:*.incomplete=38;5;240:*.swp=38;5;240:*.tmp=38;5;240:*.temp=38;5;240:*.o=38;5;240:*.pyc=38;5;240:*.class=38;5;240:*.cache=38;5;240:*.aac=38;5;166:*.au=38;5;166:*.flac=38;5;166:*.mid=38;5;166:*.midi=38;5;166:*.mka=38;5;166:*.mp3=38;5;166:*.mpc=38;5;166:*.ogg=38;5;166:*.ra=38;5;166:*.wav=38;5;166:*.m4a=38;5;166:*.axa=38;5;166:*.oga=38;5;166:*.spx=38;5;166:*.xspf=38;5;166:*.mov=38;5;166:*.mpg=38;5;166:*.mpeg=38;5;166:*.m2v=38;5;166:*.mkv=38;5;166:*.ogm=38;5;166:*.mp4=38;5;166:*.m4v=38;5;166:*.mp4v=38;5;166:*.vob=38;5;166:*.qt=38;5;166:*.nuv=38;5;166:*.wmv=38;5;166:*.asf=38;5;166:*.rm=38;5;166:*.rmvb=38;5;166:*.flc=38;5;166:*.avi=38;5;166:*.fli=38;5;166:*.flv=38;5;166:*.gl=38;5;166:*.m2ts=38;5;166:*.divx=38;5;166:*.webm=38;5;166:*.axv=38;5;166:*.anx=38;5;166:*.ogv=38;5;166:*.ogx=38;5;166:' export LS_COLORS='no=38;5;244:rs=0:di=38;5;33:ln=38;5;37:mh=00:pi=48;5;230;38;5;136;01:so=48;5;230;38;5;136;01:do=48;5;230;38;5;136;01:bd=48;5;230;38;5;244;01:cd=48;5;230;38;5;244;01:or=48;5;235;38;5;160:su=48;5;160;38;5;230:sg=48;5;136;38;5;230:ca=30;41:tw=48;5;64;38;5;230:ow=48;5;235;38;5;33:st=48;5;33;38;5;230:ex=38;5;64:*.tar=38;5;61:*.tgz=38;5;61:*.arj=38;5;61:*.taz=38;5;61:*.lzh=38;5;61:*.lzma=38;5;61:*.tlz=38;5;61:*.txz=38;5;61:*.zip=38;5;61:*.z=38;5;61:*.Z=38;5;61:*.dz=38;5;61:*.gz=38;5;61:*.lz=38;5;61:*.xz=38;5;61:*.bz2=38;5;61:*.bz=38;5;61:*.tbz=38;5;61:*.tbz2=38;5;61:*.tz=38;5;61:*.deb=38;5;61:*.rpm=38;5;61:*.jar=38;5;61:*.rar=38;5;61:*.ace=38;5;61:*.zoo=38;5;61:*.cpio=38;5;61:*.7z=38;5;61:*.rz=38;5;61:*.apk=38;5;61:*.gem=38;5;61:*.jpg=38;5;136:*.JPG=38;5;136:*.jpeg=38;5;136:*.gif=38;5;136:*.bmp=38;5;136:*.pbm=38;5;136:*.pgm=38;5;136:*.ppm=38;5;136:*.tga=38;5;136:*.xbm=38;5;136:*.xpm=38;5;136:*.tif=38;5;136:*.tiff=38;5;136:*.png=38;5;136:*.svg=38;5;136:*.svgz=38;5;136:*.mng=38;5;136:*.pcx=38;5;136:*.dl=38;5;136:*.xcf=38;5;136:*.xwd=38;5;136:*.yuv=38;5;136:*.cgm=38;5;136:*.emf=38;5;136:*.eps=38;5;136:*.CR2=38;5;136:*.ico=38;5;136:*.tex=38;5;245:*.rdf=38;5;245:*.owl=38;5;245:*.n3=38;5;245:*.ttl=38;5;245:*.nt=38;5;245:*.torrent=38;5;245:*.xml=38;5;245:*Makefile=38;5;245:*Rakefile=38;5;245:*build.xml=38;5;245:*rc=38;5;245:*1=38;5;245:*.nfo=38;5;245:*README=38;5;245:*README.txt=38;5;245:*readme.txt=38;5;245:*.md=38;5;245:*README.markdown=38;5;245:*.ini=38;5;245:*.yml=38;5;245:*.cfg=38;5;245:*.conf=38;5;245:*.c=38;5;245:*.cpp=38;5;245:*.cc=38;5;245:*.log=38;5;240:*.bak=38;5;240:*.aux=38;5;240:*.lof=38;5;240:*.lol=38;5;240:*.lot=38;5;240:*.out=38;5;240:*.toc=38;5;240:*.bbl=38;5;240:*.blg=38;5;240:*~=38;5;240:*#=38;5;240:*.part=38;5;240:*.incomplete=38;5;240:*.swp=38;5;240:*.tmp=38;5;240:*.temp=38;5;240:*.o=38;5;240:*.pyc=38;5;240:*.class=38;5;240:*.cache=38;5;240:*.aac=38;5;166:*.au=38;5;166:*.flac=38;5;166:*.mid=38;5;166:*.midi=38;5;166:*.mka=38;5;166:*.mp3=38;5;166:*.mpc=38;5;166:*.ogg=38;5;166:*.ra=38;5;166:*.wav=38;5;166:*.m4a=38;5;166:*.axa=38;5;166:*.oga=38;5;166:*.spx=38;5;166:*.xspf=38;5;166:*.mov=38;5;166:*.mpg=38;5;166:*.mpeg=38;5;166:*.m2v=38;5;166:*.mkv=38;5;166:*.ogm=38;5;166:*.mp4=38;5;166:*.m4v=38;5;166:*.mp4v=38;5;166:*.vob=38;5;166:*.qt=38;5;166:*.nuv=38;5;166:*.wmv=38;5;166:*.asf=38;5;166:*.rm=38;5;166:*.rmvb=38;5;166:*.flc=38;5;166:*.avi=38;5;166:*.fli=38;5;166:*.flv=38;5;166:*.gl=38;5;166:*.m2ts=38;5;166:*.divx=38;5;166:*.webm=38;5;166:*.axv=38;5;166:*.anx=38;5;166:*.ogv=38;5;166:*.ogx=38;5;166:'
export EDITOR='helix'
export VISUAL=$EDITOR