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"