From a3c6041366fd8c470fe734b4d09442659450658f Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Fri, 25 Apr 2025 09:58:05 +0200 Subject: [PATCH] modify hyprland config --- dot_config/hypr/keybindings.conf | 1 + dot_config/hypr/scripts/executable_dotool_wp-paste.sh | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 dot_config/hypr/scripts/executable_dotool_wp-paste.sh 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"