Add custom clipboard scripts

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-08-15 14:14:28 +02:00
parent 3749c22df5
commit 63cd833778
6 changed files with 57 additions and 9 deletions

View File

@@ -6,5 +6,5 @@ const icon = () => Widget.Icon({
export default () => Widget.EventBox({
class_name: 'clipboard',
child: icon(),
onPrimaryClick: () => Utils.execAsync('bash -c "cliphist list | rofi -cache-dir $XDG_CACHE_HOME/rofi -dmenu -display-columns 2 | cliphist decode | wl-copy"'),
onPrimaryClick: () => Utils.execAsync('cliphist-rofi'),
});