1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

i3: run screenshot utilities directly so xclip works

This commit is contained in:
Joe Groocock 2020-03-24 22:25:02 +00:00
parent e017568b41
commit 937e0cf2dc
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -142,8 +142,8 @@ bindsym $mod+space exec "pkill rofi; rofi -show run -sidebar-mode -
bindsym $mod+Shift+p exec rofi-pass --root $(grep path ~/.config/gopass/config.yml | sed -E 's|^.*fs\+file://||g' | tr '\n' ':') | sed 's/:$//g' bindsym $mod+Shift+p exec rofi-pass --root $(grep path ~/.config/gopass/config.yml | sed -E 's|^.*fs\+file://||g' | tr '\n' ':') | sed 's/:$//g'
bindsym $mod+Shift+e exec systemd-run-i3 -n rofi-emoji bindsym $mod+Shift+e exec systemd-run-i3 -n rofi-emoji
bindsym $mod+Shift+i exec systemd-run-i3 -n rofi-fontawesome bindsym $mod+Shift+i exec systemd-run-i3 -n rofi-fontawesome
bindsym --release Print exec systemd-run-i3 -n screenshot bindsym --release Print exec screenshot
bindsym --release $mod+Print exec systemd-run-i3 -n imgur-screenshot bindsym --release $mod+Print exec imgur-screenshot
bindsym $mod+x exec systemd-run-i3 -n i3-sensible-terminal --class floating-term --hold -e /bin/echo "$(xprop -id $(xdotool getactivewindow))" bindsym $mod+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+$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+numbersign exec systemd-run-i3 -n i3-sensible-terminal --hold -e sh -c 'xclip -o | gpg --decrypt 2>&1'