From bb74c0aaa8c87fdc808df34f70d3df7eee5c818e Mon Sep 17 00:00:00 2001 From: Peritia Date: Tue, 3 Mar 2026 09:15:44 +0100 Subject: [PATCH] Ver 1.1.1 - Clipboard --- nixosVista/homeManager/cliphist/main.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/nixosVista/homeManager/cliphist/main.nix b/nixosVista/homeManager/cliphist/main.nix index 7aafa32..d50ef9a 100644 --- a/nixosVista/homeManager/cliphist/main.nix +++ b/nixosVista/homeManager/cliphist/main.nix @@ -1,10 +1,14 @@ { config, lib, + pkgs, nixosVista, ... -}: { +}: + +{ config = lib.mkIf nixosVista.enable { + environment.systemPackages = with pkgs; [ wl-clipboard cliphist @@ -23,15 +27,14 @@ services.cliphist.enable = true; nixosVista.hyprland.fragments.internalClipboard = '' - ############################################################ - # This is configuration for the Clipboard - ############################################################ + ############################################################ + # Clipboard + ############################################################ exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store - bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" - + bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy ''; }; -} +} \ No newline at end of file