fix flameshot
This commit is contained in:
parent
dc8accfe8f
commit
8e84915f8d
2 changed files with 4 additions and 4 deletions
|
@ -597,14 +597,13 @@ in {
|
||||||
|
|
||||||
services.flameshot = {
|
services.flameshot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.flameshot.override { enableWlrSupport = true; };
|
|
||||||
settings.General = {
|
settings.General = {
|
||||||
filenamePattern = "%F_%T";
|
filenamePattern = "%F_%T";
|
||||||
savePath = "Media/Screenshots";
|
savePath = "${config.home.homeDirectory}/Media/Screenshots";
|
||||||
saveAfterCopy = true;
|
saveAfterCopy = true;
|
||||||
|
useGrimAdapter = true;
|
||||||
#uiColor = "#${lib.stylix.colors.base04}";
|
#uiColor = "#${lib.stylix.colors.base04}";
|
||||||
#contrastUiColor = "#${lib.stylix.colors.base05}";
|
#contrastUiColor = "#${lib.stylix.colors.base05}";
|
||||||
disabledGrimWarning = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,13 +29,14 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
QT_QPA_PLATFORM = "wayland-egl;xcb";
|
QT_QPA_PLATFORM = "wayland;wayland-egl;xcb";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
ECORE_EVAS_ENGINE = "wayland_egl";
|
ECORE_EVAS_ENGINE = "wayland_egl";
|
||||||
ELM_ENGINE = "wayland_egl";
|
ELM_ENGINE = "wayland_egl";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
SDL_VIDEODRIVER = "wayland";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue