From 9c82b0e020541d8b3c0a4f5db923eb74f5373c82 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 27 Dec 2023 01:48:11 +0100 Subject: [PATCH] remove custom parameter for clipman --- dot_config/fuzzel/executable_fuzzel-clipman.sh | 5 +++++ dot_config/sway/modules/binds | 15 ++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 dot_config/fuzzel/executable_fuzzel-clipman.sh diff --git a/dot_config/fuzzel/executable_fuzzel-clipman.sh b/dot_config/fuzzel/executable_fuzzel-clipman.sh new file mode 100644 index 0000000..016b43d --- /dev/null +++ b/dot_config/fuzzel/executable_fuzzel-clipman.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +text=$(clipman pick --tool=STDOUT | fuzzel -d) + +[[ $text != "" ]] && echo $text | wl-copy diff --git a/dot_config/sway/modules/binds b/dot_config/sway/modules/binds index efa3ae9..e07dc33 100644 --- a/dot_config/sway/modules/binds +++ b/dot_config/sway/modules/binds @@ -11,7 +11,8 @@ bindsym $mod+Shift+q kill # Menu bindsym $mod+d exec fuzzel bindsym $mod+Shift+d exec j4-dmenu-desktop --dmenu="~/.config/sway/bemenu-run.sh -l 30" --term="wezterm" --no-generic -bindsym $mod+y exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d" +#bindsym $mod+y exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d" +bindsym $mod+y exec .config/fuzzel/fuzzel-clipman.sh bindsym $mod+Shift+y exec ~/.config/fuzzel/fuzzel-pass.sh # Notification Menu @@ -42,14 +43,14 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # Allow switching between workspaces with left and right swipes -bindgesture swipe:right workspace next -bindgesture swipe:left workspace prev +#bindgesture swipe:right workspace next +#bindgesture swipe:left workspace prev # Allow container movements by pinching them -bindgesture pinch:inward+up move up -bindgesture pinch:inward+down move down -bindgesture pinch:inward+left move left -bindgesture pinch:inward+right move right +#bindgesture pinch:inward+up move up +#bindgesture pinch:inward+down move down +#bindgesture pinch:inward+left move left +#bindgesture pinch:inward+right move right # split in horizontal orientation bindsym $mod+h split h