feat: fixed hyprland

This commit is contained in:
Nick 2025-02-01 23:30:06 -06:00
parent a4afc18937
commit 7cf28c791c
11 changed files with 32 additions and 18 deletions

View file

@ -1,29 +0,0 @@
{ 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;
};
};
};
}

View file

@ -23,4 +23,6 @@ in
"bluetoothctl power on"
"gsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
"gsettings set org.gnome.desktop.interface cursor-size ${builtins.toString cursor.size}"
"systemctl --user import-environment PATH"
"systemctl --user restart xdg-desktop-portal.service"
]