From 6a658b2f7cf8638006ed6dcb16e88615abc0ccfb Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Thu, 4 Jan 2024 02:47:23 +0100 Subject: [PATCH] Update configs --- .bin/.e | 2 +- .bin/archlinux-update | 3 +++ .config/aliasrc | 2 +- .config/environment | 5 +---- .config/qutebrowser/common.py | 1 + .local/share/qutebrowser/userscripts/qute-keepassxc | 7 +------ 6 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.bin/.e b/.bin/.e index 8fd929b..22e5611 100755 --- a/.bin/.e +++ b/.bin/.e @@ -3,7 +3,7 @@ declare -A mapper=( [".e"]="$HOME/.bin/.e" [".t"]="$HOME/.bin/.t" - ["alacritty"]="$HOME/.config/alacritty/alacritty.yml" + ["alacritty"]="$HOME/.config/alacritty/alacritty.toml" ["astronvim"]="$HOME/.config/astronvim/lua/user/init.lua" ["autostart"]="$HOME/.bin/autostart-manage" ["autostart.toml"]="$HOME/.config/autostart.toml" diff --git a/.bin/archlinux-update b/.bin/archlinux-update index 4a6d37e..b2284a0 100755 --- a/.bin/archlinux-update +++ b/.bin/archlinux-update @@ -35,3 +35,6 @@ fi #fi printf "\n\n\n\n=== DONE ============================================================\n" + +# shellcheck disable=SC2162 +read diff --git a/.config/aliasrc b/.config/aliasrc index 2f5813f..a559915 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -75,7 +75,7 @@ alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"' test -x "$(command -v bat)" && alias cat='bat -pp' -test -x "$(command -v eza)" && alias ls='eza -lhF --git --icons --color=always --color-scale --color-scale-mode=fixed --time-style=long-iso --group-directories-first' +test -x "$(command -v eza)" && alias ls='eza -lhF --git --icons --color=always --color-scale --color-scale-mode=fixed --time-style=long-iso --group-directories-first --no-quotes' test -x "$(command -v moar)" && alias less='moar' diff --git a/.config/environment b/.config/environment index 97dc866..12990dd 100644 --- a/.config/environment +++ b/.config/environment @@ -21,7 +21,7 @@ export BEMENU_OPTS="--tb '#6272a4'\ --sf '#50fa7b'\ --scb '#282a36'\ --scf '#ff79c6'\ - --list 25 --ignorecase -p ''" + --list 25 --ignorecase -P '>' -p ''" export DMENU="bemenu" export DOCKER_BUILDKIT=1 @@ -37,9 +37,6 @@ export MOZ_ENABLE_WAYLAND=1 export NIXPKGS_ALLOW_UNFREE=1 export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npmrc" -export PASSWORD_STORE_GENERATED_LENGTH='64' -export PS1='\$ ' - export QT_QPA_PLATFORMTHEME="qt5ct" export TERMINAL="alacritty" diff --git a/.config/qutebrowser/common.py b/.config/qutebrowser/common.py index 6447b96..62d1efe 100644 --- a/.config/qutebrowser/common.py +++ b/.config/qutebrowser/common.py @@ -28,6 +28,7 @@ def init(c): c.qt.workarounds.remove_service_workers = True + c.url.default_page = 'dashboard.serguzim.me' c.url.searchengines = { 'DEFAULT': 'https://duckduckgo.com/?q={}', 'ddg': 'https://duckduckgo.com/?q={}', diff --git a/.local/share/qutebrowser/userscripts/qute-keepassxc b/.local/share/qutebrowser/userscripts/qute-keepassxc index 1d708a8..ee1042d 100755 --- a/.local/share/qutebrowser/userscripts/qute-keepassxc +++ b/.local/share/qutebrowser/userscripts/qute-keepassxc @@ -204,7 +204,7 @@ class KeepassXC: action = 'request-autotype', uuid = uuid, )) - return self.recv_msg()['totp'] + return self.recv_msg()['success'] def send_raw_msg(self, msg): self.sock.send( json.dumps(msg).encode('utf-8') ) @@ -385,11 +385,6 @@ def main(): if not kp: error('Could not connect to KeepassXC') - #if args.autotype: - # qute('mode-enter insert') - # kp.autotype(selection['uuid']) - # return - creds = kp.get_logins(args.url) if not creds: error('No credentials found')