Add wofi clipman
This commit is contained in:
parent
027ef1c398
commit
4135134261
18
home/system/clipman/default.nix
Normal file
18
home/system/clipman/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
|
||||
clipboard-clear = pkgs.writeShellScriptBin "clipboard-clear" ''
|
||||
clipman clear --all
|
||||
'';
|
||||
|
||||
clipboard = pkgs.writeShellScriptBin "clipboard" ''
|
||||
clipman pick --tool=wofi
|
||||
'';
|
||||
|
||||
in {
|
||||
wayland.windowManager.hyprland.settings.exec-once =
|
||||
[ "${clipboard-clear}" "wl-paste -t text --watch clipman store" ];
|
||||
home.packages = with pkgs; [ clipman clipboard clipboard-clear ];
|
||||
services.clipman.enable = true;
|
||||
|
||||
}
|
@ -85,6 +85,7 @@
|
||||
"$shiftMod, PRINT, exec, screenshot region" # Screenshot region
|
||||
"ALT, PRINT, exec, screenshot region swappy" # Screenshot region then edit
|
||||
|
||||
"$shiftMod, C, exec, clipboard" # Clipboard picker with wofi
|
||||
"$shiftMod, E, exec, ${pkgs.wofi-emoji}/bin/wofi-emoji" # Emoji picker with wofi
|
||||
"$mod, F2, exec, night-shift-off" # Turn off night shift
|
||||
"$mod, F3, exec, night-shift-on" # Turn on night shift
|
||||
|
@ -27,6 +27,7 @@
|
||||
../../home/system/zathura
|
||||
../../home/system/mime
|
||||
../../home/system/udiskie
|
||||
../../home/system/clipman
|
||||
|
||||
./secrets # You should probably remove this line
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user