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