diff --git a/common/bin/install-user-chrome-css.fish b/common/bin/install-user-chrome-css.fish index 93bba10..a81fea3 100755 --- a/common/bin/install-user-chrome-css.fish +++ b/common/bin/install-user-chrome-css.fish @@ -1,6 +1,9 @@ #!/usr/bin/env fish -set profile_dirs ~/.mozilla/firefox/*.dev-edition-default +set profile_dirs "$HOME/.mozilla/firefox/*.dev-edition-default" +if test (uname) = Darwin + set profile_dirs $HOME/Library/Application\ Support/Firefox/Profiles/*.dev-edition-default +end for p in $profile_dirs mkdir -p $p/chrome diff --git a/common/fish/config.fish b/common/fish/config.fish index f106100..880ad5b 100755 --- a/common/fish/config.fish +++ b/common/fish/config.fish @@ -10,8 +10,8 @@ for f in vars colors prompt functions key-bindings source $FISH_PATH/$f.fish end -if has_command brew && test -f (brew --prefix asdf)/lib/asdf.fish - set -Ux ASDF_DIR (brew --prefix asdf) +if has_command brew && test -f (brew --prefix asdf)/libexec/asdf.fish + set --universal --export ASDF_DIR (brew --prefix asdf) source (brew --prefix asdf)/libexec/asdf.fish else if test -f $HOME/.asdf/asdf.fish source $HOME/.asdf/asdf.fish @@ -41,5 +41,6 @@ if test -f /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh set --prepend --export --global fish_user_paths $HOME/.nix-profile/bin /nix/var/nix/profiles/default/bin end - -test $PWD = $HOME && begin; cd $NICE_HOME || cd; end +test $PWD = $HOME && begin + cd $NICE_HOME || cd +end diff --git a/common/fish/paths.fish b/common/fish/paths.fish index 5a354b9..0569819 100644 --- a/common/fish/paths.fish +++ b/common/fish/paths.fish @@ -26,6 +26,8 @@ set --export --universal GOPATH $HOME/.go set --export --universal GOBIN $GOPATH/bin set paths_candidates \ + /opt/homebrew/bin \ + /opt/homebrew/sbin \ $DOTFILES_PATH/common/bin \ $HOME/.bin \ $HOME/.local/bin \ diff --git a/common/helix/config.toml b/common/helix/config.toml index 82b1d7c..be5b88b 100644 --- a/common/helix/config.toml +++ b/common/helix/config.toml @@ -4,4 +4,4 @@ theme = "donokai" j = { k = "normal_mode" } # [editor] -# mouse = false \ No newline at end of file +# mouse = false diff --git a/common/helix/runtime b/common/helix/runtime new file mode 120000 index 0000000..2c5d6d7 --- /dev/null +++ b/common/helix/runtime @@ -0,0 +1 @@ +/Users/danielflanagan/code/helix/runtime \ No newline at end of file diff --git a/common/kitty/kitty.conf b/common/kitty/kitty.conf index 64cb14d..b94a5c1 100644 --- a/common/kitty/kitty.conf +++ b/common/kitty/kitty.conf @@ -19,6 +19,8 @@ adjust_line_height 0 window_padding_width 10.0 window_margin_width 0.0 +enabled_layouts tall:bias=50;full_size=1;mirrored=true + map ctrl+shift+1 change_font_size all 12.5 map ctrl+shift+2 change_font_size all 18.5 map ctrl+shift+3 change_font_size all 26 @@ -29,6 +31,12 @@ map shift+insert paste_from_clipboard map ctrl+shift+v paste_from_selection map ctrl+shift+c copy_to_clipboard +map ctrl+shift+h neighboring_window left +map ctrl+shift+l neighboring_window right +map ctrl+shift+k neighboring_window up +map ctrl+shift+j neighboring_window down +map ctrl+shift+h nth_window -1 + enable_audio_bell yes url_style single diff --git a/common/tmux/conf b/common/tmux/conf index b56729e..e848b9d 100644 --- a/common/tmux/conf +++ b/common/tmux/conf @@ -22,8 +22,6 @@ bind M-l source-file "$XDG_CONFIG_HOME/tmux/layouts/dev.tmux" set -g update-environment "WAYLAND_DISPLAY DISPLAY" -# TODO: check if kitty is installed? -set -g default-terminal "kitty" set -g mouse on set -g escape-time 0 set -g monitor-activity on