diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-09 17:08:39 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-09 17:08:39 +0200 |
| commit | 747895a6815830b47f962dc0f90f791ccd14fc9d (patch) | |
| tree | c764b4e868cb8a56e2586c6d4cd0674d1badea67 /config/niri/config.kdl | |
| parent | a69be14826890705ed4051701e35cf99945dbeaf (diff) | |
Add cliphist
Diffstat (limited to 'config/niri/config.kdl')
| -rw-r--r-- | config/niri/config.kdl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/niri/config.kdl b/config/niri/config.kdl index 5a72cc1..e4f1090 100644 --- a/config/niri/config.kdl +++ b/config/niri/config.kdl @@ -256,6 +256,7 @@ layout { // See the binds section below for more spawn examples. // spawn-at-startup "alacritty" "-e" "fish" spawn-at-startup "xwayland-satellite" +spawn-at-startup "wl-paste --watch cliphist store" // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. @@ -374,6 +375,9 @@ binds { XF86MonBrightnessDown allow-when-locked=true { spawn "bash" "-c" "brightnessctl set 5%- | sed -En 's/.*\\(([0-9]+)%\\).*/\\1/p' > $XDG_RUNTIME_DIR/wob.sock"; } XF86MonBrightnessUp allow-when-locked=true { spawn "bash" "-c" "brightnessctl set +5% | sed -En 's/.*\\(([0-9]+)%\\).*/\\1/p' > $XDG_RUNTIME_DIR/wob.sock"; } + Mod+V { spawn "bash" "-c" "cliphist list | bemenu -i -l 10 -n -H 26 --hp 10 --fn 'InputSansCompressed Light 10' -p '>' --ff '#0f261F' --tf '#23C17C' --nf '#0f261F' --cf '#23C17C2' --af '#00140d' --hb '#23C17C' --hf '#0f261F' --hf '#DAE6E3' --nb '#DAE6E3' --tb '#DAE6E3' --fb '#DAE6E3' --cb '#DAE6E3' --ab '#DAE6E3' | cliphist decode | wl-copy"; } + // Mod+V { spawn "bash" "-c" "cliphist list | bemenu | cliphist decode | wl-copy"; } + XF86AudioRecord { spawn "wpaperctl" "next"; } Shift+XF86AudioRecord { spawn "wpaperctl" "previous"; } Mod+Alt+Ctrl+XF86AudioRecord { spawn "~/.wpaperalt"; } @@ -560,8 +564,8 @@ binds { Mod+Shift+Equal { set-window-height "+10%"; } // Move the focused window between the floating and the tiling layout. - Mod+V { toggle-window-floating; } - Mod+Shift+V { switch-focus-between-floating-and-tiling; } + Mod+X { toggle-window-floating; } + Mod+Shift+X { switch-focus-between-floating-and-tiling; } // Toggle tabbed column display mode. // Windows in this column will appear as vertical tabs, |