diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua new file mode 100644 index 0000000..84cf0a7 --- /dev/null +++ b/.config/wezterm/wezterm.lua @@ -0,0 +1,14 @@ + +local wezterm = require 'wezterm'; + +return { + font = wezterm.font("FiraCode Nerd Font"), + window_padding = { + left = 0, + right = 0, + top = 0, + bottom = 0, + }, + hide_tab_bar_if_only_one_tab = true, + +} diff --git a/.local/bin/dotfiles b/.local/bin/dotfiles index ffcd1f0..360f8a0 100755 --- a/.local/bin/dotfiles +++ b/.local/bin/dotfiles @@ -1,7 +1,5 @@ #!/usr/bin/env python - - """ link [path] -> move to dotfiles, git add and symlink back unlink [path] -> move from dotfiles and git rm @@ -20,6 +18,10 @@ basedir = os.path.expanduser("~/.dotfiles") def getpaths(path): absolutpath = os.path.abspath(os.path.expanduser(path)) dotfilepath = basedir + absolutpath[len(os.path.expanduser("~")):] + + if absolutpath.startswith(basedir): + dotfilepath = absolutpath + absolutpath = os.path.expanduser("~" + absolutpath[len(basedir):]) return absolutpath, dotfilepath