This commit is contained in:
Christoph Stahl 2022-10-26 14:54:00 +02:00
parent 864b049205
commit 2a3d6bb9da
2 changed files with 18 additions and 2 deletions

View file

@ -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,
}

View file

@ -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