From 6f22133ff1ec3f879a537b962b2931463bb74a5c Mon Sep 17 00:00:00 2001 From: insert Date: Tue, 8 Oct 2024 22:48:29 -0400 Subject: [PATCH] Add cliphist and flameshot --- home.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 8b074cf..520375b 100644 --- a/home.nix +++ b/home.nix @@ -12,6 +12,8 @@ #pkgs.cinny-desktop pkgs.firefox pkgs.kate + pkgs.cliphist + pkgs.flameshot pkgs.godot_4 pkgs.filezilla pkgs.libsForQt5.lightly @@ -227,6 +229,11 @@ }; }; + services.cliphist = { + enable = true; + allowImages = true; + }; + home.sessionVariables = { NIXOS_OZONE_WL = "1"; KUBECONFIG = "/home/insert/Desktop/k3s.yaml"; @@ -298,7 +305,9 @@ #"''${modifier}+Return" = "exec ${cfg.config.terminal}"; "${modifier}+c" = "kill"; "${modifier}+r" = "exec ${config.wayland.windowManager.sway.config.menu}"; - "${modifier}+p" = "exec grim -g \"\$(slurp)\" - | wl-copy"; + #"${modifier}+p" = "exec grim -g \"\$(slurp)\" - | wl-copy"; + "${modifier}+p" = "exec flameshot gui"; + "${modifier}+o" = "exec cliphist list | wofi -S dmenu | cliphist decode | wl-copy"; "${modifier}+v" = "floating toggle"; }; startup = [