From a60d88a5ef75e688a6243ebac700eb6374da546c Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Tue, 26 Nov 2024 03:45:23 +0100 Subject: [PATCH] Improve configs Link latest screenshot Disable astronvim dashboard Remove unused qutebrowse keybinds Change waybar player info spacing --- .bin/screenshot | 1 + .config/nvim/lua/plugins/disabled.lua | 3 +++ .config/qutebrowser/keybindings.py | 6 +----- .config/waybar/default-modules.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .config/nvim/lua/plugins/disabled.lua diff --git a/.bin/screenshot b/.bin/screenshot index abb51fe..e752a72 100755 --- a/.bin/screenshot +++ b/.bin/screenshot @@ -104,6 +104,7 @@ call_screenshot_tool() { if [ "$result" -gt 0 ] then + ln -sf "$screenshot_path" "/tmp/screenshot_latest.webp" return 0 else return 1 diff --git a/.config/nvim/lua/plugins/disabled.lua b/.config/nvim/lua/plugins/disabled.lua new file mode 100644 index 0000000..72a6589 --- /dev/null +++ b/.config/nvim/lua/plugins/disabled.lua @@ -0,0 +1,3 @@ +return { + { "goolord/alpha-nvim", enabled = false }, +} diff --git a/.config/qutebrowser/keybindings.py b/.config/qutebrowser/keybindings.py index a90050d..39433e2 100644 --- a/.config/qutebrowser/keybindings.py +++ b/.config/qutebrowser/keybindings.py @@ -17,11 +17,7 @@ def init(c): c.bind(',et', 'spawn ts-control message {url}') c.bind(',eT', 'hint links spawn ts-control message {hint-url}') - - c.bind(',g', 'open {url:scheme}://github1s.com{url:path}{url:query}') - c.bind(',rr', 'open {url:scheme}://unddit.com{url:path}{url:query}') - c.bind(',rt', 'open {url:scheme}://teddit.net{url:path}{url:query}') - + # password-manager gpg_key = '723B78C0BF8D8C721D2C4EEF41E544A54E2533B2' c.bind(',p', f'spawn --userscript qutebrowser-keepassxc --key {gpg_key}', mode='normal') c.bind(',Pu', f'spawn --userscript qutebrowser-keepassxc --only-username --key {gpg_key}', mode='normal') diff --git a/.config/waybar/default-modules.json b/.config/waybar/default-modules.json index 411a18e..dc535c7 100644 --- a/.config/waybar/default-modules.json +++ b/.config/waybar/default-modules.json @@ -32,8 +32,8 @@ "position", "length" ], - "title-len": 50, - "artist-len": 25, + "title-len": 20, + "artist-len": 20, "player-icons": { "default": "󰎈", "chromium": "",