Added support for clipman.

super + alt => rofi clip history
super + alt + shift => rofi delete clip history
This commit is contained in:
James Patrick 2020-04-25 23:09:44 -04:00
parent f441ce627e
commit a97cb96f87
5 changed files with 7 additions and 2 deletions

View File

@ -13,6 +13,7 @@ set $term kitty
set $menu bash ~/.config/sway/scripts/menu
set $gopass_menu bash ~/.config/sway/scripts/menu_gopass
set $clipman_menu bash ~/.config/sway/scripts/menu_clipman
set $clipman_clear_menu bash ~/.config/sway/scripts/clipman_clear_menu
set $printscreen bash ~/.config/sway/scripts/printscreen
# Support for picture in picture mode.

View File

@ -34,6 +34,6 @@ exec_always {
### Clipboard manager
# https://github.com/yory8/clipman
#exec clipman -d
exec wl-paste -t text --watch clipman store
# vim: ft=cfg

View File

@ -10,6 +10,7 @@ bindsym $mod+space exec $menu
bindsym $mod+backslash exec $gopass_menu
# Clipboard management
bindsym $mod+Mod1+c exec $clipman_menu
bindsym $mod+Shift+Mod1+c exec $clipman_clear_menu
# reload the configuration file
bindsym $mod+Shift+c reload

View File

@ -0,0 +1,3 @@
#! /bin/sh
# -*- sh -*-
clipman clear --tool rofi

View File

@ -1,3 +1,3 @@
#! /bin/sh
# -*- sh -*-
clipman --selector="rofi" --select
clipman pick --tool rofi