From f65270403954842db639110255190124faf12750 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Sun, 8 Dec 2024 17:45:44 +0100 Subject: [PATCH] Update 2024-12-08 17:45 OpenBSD/amd64-t14 --- .Xdefaults | 6 +++--- .bin/dexec_browser | 2 +- .config/nsxiv/exec/key-handler | 7 +++++++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.Xdefaults b/.Xdefaults index 8addd9c..233d7aa 100644 --- a/.Xdefaults +++ b/.Xdefaults @@ -207,10 +207,10 @@ Zutty.altScroll: true Zutty.boldColors: false Zutty.font: JetBrainsMono Zutty.dwfont: JetBrainsMono -Zutty.fontsize: 18 +Zutty.fontsize: 32 Zutty.fontpath: /home/sdk/.fonts -Zutty.bg: #001010 -Zutty.cr: #008080 +Zutty.bg: #000000 +Zutty.cr: #AF5F00 ! URxvt specific URxvt*font: xft:Terminus-18 diff --git a/.bin/dexec_browser b/.bin/dexec_browser index 9a8d599..022b3a3 100755 --- a/.bin/dexec_browser +++ b/.bin/dexec_browser @@ -87,7 +87,7 @@ Zalando" *.io|*.sh|*.pw|*.party) DEFAULT="OPEN (default)"; C="http://${C}"; ;; *.coffee|*.me|*.cloud) DEFAULT="OPEN (default)"; C="http://${C}"; ;; *.[a-zA-Z]*/*) DEFAULT="OPEN (default)"; C="http://${C}"; ;; - *) DEFAULT="Kagi Web Search (default)"; ;; + *) DEFAULT="DuckDuckGo Web Search (default)"; ;; esac local S="$(printf "%s\n%s" "${DEFAULT}" "${SE}" \ diff --git a/.config/nsxiv/exec/key-handler b/.config/nsxiv/exec/key-handler index 0353677..48e808d 100755 --- a/.config/nsxiv/exec/key-handler +++ b/.config/nsxiv/exec/key-handler @@ -16,6 +16,12 @@ upload_to_paste() { | xclip -selection clipboard } +pick_image() { + mkdir -p $HOME/pick + printf '%s\n' "Copy $1 to $HOME/pick/" + cp -v "${1%.*}."* "$HOME/pick/" +} + save_image() { if [ -z "$SXIVDIR" ] then @@ -114,6 +120,7 @@ do "s") save_image "$file" ;; "q") remove_set "$file" ;; "x") texec "website-add-image-to-gallery \"$file\"" ;; + "y") pick_image "$file" ;; "k") keep "$file" ;; esac done