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, config,
lib, lib,
pkgs,
nixosVista, nixosVista,
... ...
}: { }:
{
config = lib.mkIf nixosVista.enable { config = lib.mkIf nixosVista.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wl-clipboard wl-clipboard
cliphist cliphist
@ -23,15 +27,14 @@
services.cliphist.enable = true; services.cliphist.enable = true;
nixosVista.hyprland.fragments.internalClipboard = '' 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 text --watch cliphist store
exec-once = wl-paste --type image --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
''; '';
}; };
} }