diff options
| -rw-r--r-- | .config/hypr/hyprland.conf | 6 | ||||
| -rw-r--r-- | modules/apps.nix | 1 |
2 files changed, 5 insertions, 2 deletions
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 diff --git a/modules/apps.nix b/modules/apps.nix index 75d3b69..aaeb369 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -22,6 +22,7 @@ jdk waybar swaynotificationcenter # For notifications + wl-clip-persist # Persist clipboard history after app closes cliphist # Clipboard history nerd-fonts.jetbrains-mono |
