Enables clipboard history for both Niri and Hyprland compositors: - Added wl-clipboard and cliphist packages to Niri - Configured clipboard watchers for text and images in Niri autostart - Bound Mod+v to open clipboard history via fuzzel in both compositors Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
10 lines
350 B
Nix
10 lines
350 B
Nix
{...}: {
|
|
programs.niri.settings.spawn-at-startup = [
|
|
# open fastfetch by default
|
|
{argv = ["kitty" "--title" "'fastfetch'" "sh" "-c" "'fastfetch; read'"];}
|
|
|
|
# Clipboard history daemons
|
|
{argv = ["wl-paste" "--type" "text" "--watch" "cliphist" "store"];}
|
|
{argv = ["wl-paste" "--type" "image" "--watch" "cliphist" "store"];}
|
|
];
|
|
}
|