Compare commits

..

2 commits

Author SHA1 Message Date
57c86c5083
feat(hyprland): add workspace 6-8 keybinds
Adds missing workspace keybinds to match monitor setup:
- Focus workspaces 6-8
- Move windows to workspaces 6-8 silently

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-28 01:20:12 +01:00
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
4 changed files with 14 additions and 0 deletions

View file

@ -9,6 +9,7 @@
"$mod, e, exec, nautilus"
"$mod, d, exec, zeal"
"$mod, g, exec, ${pkgs.harbor.hg-picker}/bin/hg-picker"
"$mod, v, exec, cliphist list | fuzzel --dmenu | cliphist decode | wl-copy"
# Window management
"$mod, q, killactive"
@ -35,6 +36,9 @@
"$mod, 3, workspace, 3"
"$mod, 4, workspace, 4"
"$mod, 5, workspace, 5"
"$mod, 6, workspace, 6"
"$mod, 7, workspace, 7"
"$mod, 8, workspace, 8"
# Move to workspace silently
"$mod CTRL, 1, movetoworkspacesilent, 1"
@ -42,6 +46,9 @@
"$mod CTRL, 3, movetoworkspacesilent, 3"
"$mod CTRL, 4, movetoworkspacesilent, 4"
"$mod CTRL, 5, movetoworkspacesilent, 5"
"$mod CTRL, 6, movetoworkspacesilent, 6"
"$mod CTRL, 7, movetoworkspacesilent, 7"
"$mod CTRL, 8, movetoworkspacesilent, 8"
];
bindm = [

View file

@ -2,5 +2,9 @@
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"];}
];
}

View file

@ -15,5 +15,7 @@
home.packages = with pkgs; [
fuzzel
wl-clipboard
cliphist
];
}

View file

@ -12,6 +12,7 @@
"Mod+d".action = spawn "zeal"; # Documentation viewer
"Mod+c".action = spawn "${pkgs.harbor.spawn-term}/bin/spawn-term";
"Mod+g".action = spawn "${pkgs.harbor.hg-picker}/bin/hg-picker";
"Mod+v".action = spawn "sh" "-c" "cliphist list | fuzzel --dmenu | cliphist decode | wl-copy";
"Mod+q".action = close-window;
"Mod+f".action = fullscreen-window;