wip: dnsc-machine config
This commit is contained in:
parent
baf0df6e0f
commit
c086302598
4 changed files with 52 additions and 14 deletions
|
|
@ -148,7 +148,17 @@
|
|||
set -x GPG_TTY (tty)
|
||||
|
||||
fish_add_path /run/current-system/sw/bin
|
||||
fish_add_path /opt/homebrew/bin
|
||||
|
||||
switch (uname)
|
||||
case Darwin
|
||||
fish_add_path /opt/homebrew/bin
|
||||
if test -d (brew --prefix)"/share/fish/completions"
|
||||
set -p fish_complete_path (brew --prefix)/share/fish/completions
|
||||
end
|
||||
if test -d (brew --prefix)"/share/fish/vendor_completions.d"
|
||||
set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
|
||||
end
|
||||
end
|
||||
|
||||
envsource ~/.env
|
||||
|
||||
|
|
@ -157,15 +167,7 @@
|
|||
fnm env --use-on-cd --shell fish | source
|
||||
|
||||
# Temporary fix because of https://github.com/atuinsh/atuin/issues/2803
|
||||
atuin init fish | sed 's/-k up/up/' | source
|
||||
|
||||
if test -d (brew --prefix)"/share/fish/completions"
|
||||
set -p fish_complete_path (brew --prefix)/share/fish/completions
|
||||
end
|
||||
|
||||
if test -d (brew --prefix)"/share/fish/vendor_completions.d"
|
||||
set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d
|
||||
end
|
||||
# atuin init fish | sed 's/-k up/up/' | source
|
||||
'';
|
||||
|
||||
shellAbbrs = {
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@ function M.apply_to_config(config)
|
|||
config.font_size = 19
|
||||
end
|
||||
|
||||
if hn == "dnsc-desktop" then
|
||||
if hn == "dnsc-machine" then
|
||||
config.font = wezterm.font("Victor Mono", { weight = "DemiBold" })
|
||||
config.font_size = 14
|
||||
config.font_size = 15.5
|
||||
config.window_decorations = "RESIZE"
|
||||
config.window_padding = helpers.get_padding(18, 6)
|
||||
config.window_background_opacity = 1
|
||||
config.window_background_opacity = 0.95
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue