Added support for clipman.
super + alt => rofi clip history super + alt + shift => rofi delete clip history
This commit is contained in:
parent
f441ce627e
commit
a97cb96f87
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
3
sway/scripts/clipman_clear_menu
Normal file
3
sway/scripts/clipman_clear_menu
Normal file
|
@ -0,0 +1,3 @@
|
|||
#! /bin/sh
|
||||
# -*- sh -*-
|
||||
clipman clear --tool rofi
|
|
@ -1,3 +1,3 @@
|
|||
#! /bin/sh
|
||||
# -*- sh -*-
|
||||
clipman --selector="rofi" --select
|
||||
clipman pick --tool rofi
|
||||
|
|
Loading…
Reference in New Issue
Block a user