feat: tuning up

This commit is contained in:
Nick 2025-02-01 00:26:39 -06:00
parent e7cac64fb7
commit 2c2c38225a
12 changed files with 85 additions and 40 deletions

View file

@ -52,4 +52,8 @@ in
frame_color = makeColor el.base09;
timeout = 0;
};
skip-rule = {
appname = "flameshot";
skip_display = true;
};
}

View file

@ -1,11 +1,28 @@
{ pkgs, ... }:
let
flameshotGrim = pkgs.flameshot.overrideAttrs (oldAttrs: {
src = pkgs.fetchFromGitHub {
owner = "flameshot-org";
repo = "flameshot";
rev = "3d21e4967b68e9ce80fb2238857aa1bf12c7b905";
sha256 = "sha256-OLRtF/yjHDN+sIbgilBZ6sBZ3FO6K533kFC1L2peugc=";
};
cmakeFlags = [
"-DUSE_WAYLAND_CLIPBOARD=1"
"-DUSE_WAYLAND_GRIM=1"
];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.libsForQt5.kguiaddons ];
});
in
{
services.flameshot = {
enable = true;
package = flameshotGrim;
settings = {
General = {
disabledTrayIcon = true;
showStartupLaunchMessage = false;
disabledGrimWarning = true;
# disabledGrimWarning = true;
};
};
};

View file

@ -0,0 +1,18 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs.kdePackages)
kwallet-pam
# kwalletmanager
;
};
programs.gpg = {
enable = true;
};
}
# use this to make annoying shit go away:
# gpg --pinentry-mode loopback --full-generate-key