From c4c183a6e88d5463f757fe20d599c125e60d6420 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 30 Aug 2025 13:12:08 +0300 Subject: Fixed clipboard not persisting after app closes --- .config/hypr/hyprland.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.config/hypr') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index ad7dce1..4bedf56 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -24,8 +24,9 @@ $menu = wofi --show drun # ctrl-c to copy from the flameshot gui gives warped images sometimes, but # setting the env fixes it # Need -r | wl-copy because -c doesn't work, see https://github.com/flameshot-org/flameshot/issues/4116 -$screenshot = XDG_CURRENT_DESKTOP=sway flameshot gui -p ~/Pictures/Screenshots/ -r | wl-copy -$screenshotFull = XDG_CURRENT_DESKTOP=sway flameshot full -p ~/Pictures/Screenshots/ -r | wl-copy +# This still doesn't work even with wl-clip-persist fix +$screenshot = XDG_CURRENT_DESKTOP=sway flameshot gui --path ~/Pictures/Screenshots/ -r | wl-copy +$screenshotFull = XDG_CURRENT_DESKTOP=sway flameshot full --path ~/Pictures/Screenshots/ -r | wl-copy $passwordmanager = keepassxc $notifications = swaync-client -t -sw @@ -42,6 +43,7 @@ exec-once = hyprctl plugin load "$HYPR_PLUGIN_DIR/lib/libhyprbars.so" # exec-once = waybar & hyprpaper exec-once = swaync +exec-once = wl-clip-persist --clipboard regular # Persist pasting after app closes exec-once = wl-paste --type text --watch cliphist store # Stores only text data exec-once = wl-paste --type image --watch cliphist store # Stores only image data -- cgit v1.3.1