Ver 1.1.1 - Clipboard

This commit is contained in:
Peritia 2026-03-03 09:15:44 +01:00
parent 21ccd4afca
commit bb74c0aaa8

View file

@ -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
'';
};
}
}