dotfiles/home/by-host/endurance/niri/autostart.nix
Christopher Mühl ceb5ee4356
feat: add cliphist clipboard history manager with Mod+v keybind
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>
2026-02-28 01:19:27 +01:00

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"];}
];
}