diff --git a/dot_config/hypr/keybindings.conf b/dot_config/hypr/keybindings.conf index 8fd0c8d..903639f 100644 --- a/dot_config/hypr/keybindings.conf +++ b/dot_config/hypr/keybindings.conf @@ -14,6 +14,7 @@ bind = $mainMod, Y, exec, cliphist list | fuzzel --dmenu | { read selection && [ bind = $mainMod+Shift, Y, exec, ~/.config/fuzzel/fuzzel-rbw.sh bind = $mainMod+Shift, M, exec, ~/.config/hypr/scripts/power.sh exit bind = $mainMod+Shift, N, exec, swaync-client -t -sw +bind = $mainMod+Shift, P, exec, ~/.config/hypr/scripts/dotool_wp-paste.sh bind = $mainMod, E, exec, $fileManager bind = $mainMod, F, fullscreen, bind = $mainMod, V, togglefloating, diff --git a/dot_config/hypr/scripts/executable_dotool_wp-paste.sh b/dot_config/hypr/scripts/executable_dotool_wp-paste.sh new file mode 100644 index 0000000..4b03197 --- /dev/null +++ b/dot_config/hypr/scripts/executable_dotool_wp-paste.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +sleep 1 + +content=$(wl-paste) +{ + echo "typedelay 100" + echo "type $content" +} | DOTOOL_XKB_LAYOUT=de dotool && \ +notify-send -t 5000 "Eingabe abgeschlossen" "Inhalt wurde getippt"