From 94a6e7fddfbfaab5d4709e4763d4b7ebd5334fc0 Mon Sep 17 00:00:00 2001 From: Riley Housden Date: Sat, 4 Dec 2021 00:41:27 -0500 Subject: [PATCH] update doots --- .config/alacritty/alacritty.yml | 2 +- .gitconfig | 5 ++++- .xonshrc | 10 +++++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index a75cfaa..38a18c8 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -723,7 +723,7 @@ window: # in the order they were defined in. key_bindings: - { key: Paste, action: Paste } - - { key: Copy, action: Copy } + - { key: C, mods: Control|Shift, action: Copy } #- { key: L, mods: Control, action: ClearLogNotice } #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } diff --git a/.gitconfig b/.gitconfig index bc3d17a..f5c76a0 100644 --- a/.gitconfig +++ b/.gitconfig @@ -6,9 +6,12 @@ [user] useConfigOnly = true email = invalidfire@fastmail.com - name = riley + name = Riley Housden + signingkey = 0D6208F6DF56B4D8 [init] defaultBranch = main [core] editor = vim autocrlf = input +[commit] + gpgsign = true diff --git a/.xonshrc b/.xonshrc index 36775ab..7b043d7 100644 --- a/.xonshrc +++ b/.xonshrc @@ -14,7 +14,8 @@ def load_path(): '~/addins', '~/.local/bin', '~/bin', - '~/go/bin' + '~/go/bin', + '~/.deno/bin', ]) sys.path.insert(0, '') @@ -89,6 +90,12 @@ def _mcterm(): raise FileNotFoundError("~/.mcrcon") mcrcon -t +def _add_system_user(args: list): + """used to add a system user for systemd services""" + $(adduser --system --home @(args[1])) + $(addgroup --system @(args[0])) + $(adduser @(args[0]) @(args[0])) + # aliases aliases.update({ 'bwg': _bwc, @@ -103,6 +110,7 @@ aliases.update({ 'owo': 'echo uwu', 'ensure-tmux': _ensure_tmux, 'alias': _alias, + 'asu': _add_system_user }) # man page colors :O