Updated menu.

This commit is contained in:
James Patrick 2019-05-04 02:24:47 -04:00
parent 9bc120e2cf
commit 73addfe9a8

View File

@ -15,13 +15,12 @@ set $term kitty
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
set $menu rofi -show run | xargs swaymsg exec
#set $menu rofi -show run | xargs swaymsg exec
set $menu rofi -m $(expr $(swaymsg -t get_tree | jq '.nodes | map([recurse(.nodes[]?, .floating_nodes[]?) | .focused] | any) | index(true)') - 1) -show drun -run-command 'swaymsg exec -- {cmd}'
# gopass prompt
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}'
################################################################################