From bd1671fcc80910042e4ac8c2a8b78d1bcce3b205 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Mon, 10 Aug 2020 20:50:16 +0100 Subject: [PATCH] i3: run pwgen without systemd-run systemd-run doesn't play nicely with xclip Signed-off-by: Joe Groocock --- .config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/config b/.config/i3/config index d1c8ea1..376d335 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -149,7 +149,7 @@ bindsym --release $mod+Print exec imgur-screenshot bindsym $mod+Shift+x exec systemd-run-i3 -n i3-sensible-terminal --class floating-term --hold -e /bin/echo "$(xprop -id $(xdotool getactivewindow))" bindsym $mod+$alt+space exec systemd-run-i3 -n ~/.config/i3/cycleaudio.py && pkill -RTMIN+10 i3blocks 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 systemd-run-i3 -n bash -c 'pwgen -nc 32 1 | tee >(xargs notify-send Generated\ password\:) | xclip -i' +bindsym $mod+r exec bash -c 'pwgen -nc 32 1 | tee >(xargs notify-send Generated\ password\:) | xclip -i' bindsym $mod+g exec systemd-run-i3 -n notify-send -c transfer "$(gist -PRpc)" bindsym --release $mod+i exec systemd-run-i3 -n sh -c 'sleep 0.5 && xdotool type --delay 400 "$(xclip -o -selection clipboard)"'