Extract clipboard into it's own module

This commit is contained in:
SebastianStork 2024-05-10 17:43:09 +02:00
parent 3ed158513e
commit 554b05c33b
5 changed files with 22 additions and 3 deletions

View file

@ -21,8 +21,6 @@ in {
splash=false
'';
services.cliphist.enable = true;
services.dunst.enable = true;
myConfig.de = {

View file

@ -22,7 +22,7 @@
# Launch programs
bind = $mod, RETURN, exec, kitty
bindr = $mod, R, exec, pkill rofi || rofi -show drun
bind = $mod, V, exec, ${lib.getExe pkgs.cliphist} list | rofi -dmenu -display-columns 2 | ${lib.getExe pkgs.cliphist} decode | ${lib.getExe' pkgs.wl-clipboard "wl-copy"}
bind = $mod, V, exec, clipboard
bind = $mod, B, exec, brave
bind = $mod, F, exec, nemo
bind = $mod, C, exec, codium