Formatted gopass rofi selector.

This commit is contained in:
James Patrick 2019-04-28 18:28:46 -04:00
parent 607e812771
commit 6a39367eb5

View File

@ -21,10 +21,11 @@ set $term kitty
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
#set $menu dmenu_path | dmenu | xargs swaymsg exec
set $menu rofi -show run | xargs swaymsg exec
# gopass prompt
bindsym $mod+backslash exec gopass ls --flat | rofi -dmenu | xargs --no-run-if-empty gopass show -c
bindsym $mod+backslash exec gopass ls --flat \
| rofi -dmenu -p pass \
| xargs --no-run-if-empty gopass show -c
# clipboard history
bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'