mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 12:02:09 +02:00
update laptop configuration
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# Clipman allows you to save and retrieve clipboard history.
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
clipboard-clear = pkgs.writeShellScriptBin "clipboard-clear" ''
|
||||
clipman clear --all
|
||||
'';
|
||||
@@ -8,10 +7,8 @@ let
|
||||
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 ];
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user