From ce336d10b1d02c8f8d9bfc3a117fa76f4897a320 Mon Sep 17 00:00:00 2001 From: lightly-toasted Date: Mon, 15 Sep 2025 21:22:52 +0900 Subject: [PATCH] feat: add cliphist - Enabled cliphist - Added wl-clipboard package - Added new hyprland keybinding Mod+V for cliphist tofi menu --- home/modules/graphical/cliphist.nix | 9 +++++++++ home/modules/graphical/hyprland.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 home/modules/graphical/cliphist.nix diff --git a/home/modules/graphical/cliphist.nix b/home/modules/graphical/cliphist.nix new file mode 100644 index 0000000..363eb76 --- /dev/null +++ b/home/modules/graphical/cliphist.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + wl-clipboard + ]; + + services.cliphist.enable = true; +} diff --git a/home/modules/graphical/hyprland.nix b/home/modules/graphical/hyprland.nix index aafc64d..98bd816 100644 --- a/home/modules/graphical/hyprland.nix +++ b/home/modules/graphical/hyprland.nix @@ -75,6 +75,7 @@ "$mod SHIFT, S, exec, env HYPRSHOT_DIR=/data/Backup/Screenshots hyprshot -m region" "$mod SHIFT, E, exec, powermenu" + "$mod, V, exec, cliphist list | tofi | cliphist decode | wl-copy" "$mod, mouse:277, exec, cycle-mouse-action" ", mouse:277, exec, run-mouse-action"