From b87cf96ff21c727eacac57415c962fff1abf9c37 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 1 Jan 2023 14:59:37 +0000 Subject: [PATCH] i3: replagce 'gist' with 'gh gist' The old ruby 'gist' script uses a deprecated API and is replaced by the first-party 'gh' tool instead. Signed-off-by: Joe Groocock --- i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/config b/i3/config index 13c6826..71aef43 100644 --- a/i3/config +++ b/i3/config @@ -150,7 +150,7 @@ bindsym $mod+Shift+x exec systemd-run-i3 -n i3-sensible-terminal --cl bindsym $mod+$alt+space exec systemd-run-i3 -s background -n ~/.config/i3/cycleaudio.py bindsym $mod+numbersign exec systemd-run-i3 -n i3-sensible-terminal --hold -e sh -c 'xclip -o | gpg --decrypt 2>&1' bindsym $mod+r exec bash -c 'pwgen -snc 32 1 | tee >(xargs notify-send Generated\ password\:) | xclip -i -r' -bindsym $mod+g exec systemd-run-i3 -n notify-send -c transfer "$(gist -PRpc)" +bindsym $mod+g exec systemd-run-i3 -n bash -xc 'xclip -o | gh gist create -d Paste - 2>&1 | grep -vE "^[-✓] Creat(ing|ed) gist" | tee >(xclip -i >&2 >/dev/null) | xargs -r notify-send -c transfer' bindsym --release $mod+i exec systemd-run-i3 -s background -n sh -c 'sleep 0.5 && xdotool getactivewindow type --delay 10 -- "$(xclip -o -selection clipboard)"' bindsym $mod+z exec otp | rofi -dmenu -p otp | xargs otp