From 342104225b59348c0c1112b18ee99fa7357a73b3 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 29 Mar 2024 22:23:49 -0400 Subject: [PATCH] hyprland: added cliphist clipboard --- homeManagerModules/desktopEnv/hypr/default.nix | 2 ++ homeManagerModules/desktopEnv/hypr/hyprland.conf | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/desktopEnv/hypr/default.nix b/homeManagerModules/desktopEnv/hypr/default.nix index 5ac436e6..d07df172 100644 --- a/homeManagerModules/desktopEnv/hypr/default.nix +++ b/homeManagerModules/desktopEnv/hypr/default.nix @@ -40,6 +40,8 @@ xfce.xfconf ]; + services.cliphist.enable = true; + services.gpg-agent.enable = true; wayland.windowManager.hyprland = { diff --git a/homeManagerModules/desktopEnv/hypr/hyprland.conf b/homeManagerModules/desktopEnv/hypr/hyprland.conf index ff8ef088..3b2b0275 100644 --- a/homeManagerModules/desktopEnv/hypr/hyprland.conf +++ b/homeManagerModules/desktopEnv/hypr/hyprland.conf @@ -33,9 +33,12 @@ env = GDK_SCALE,1.5 exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE exec-once = hyprshade auto exec-once = hyprpaper -exec-once = hypridle exec-once = waybar exec-once = mako +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 +exec-once = hypridle + # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf