screenshit

This commit is contained in:
TheCrazyInsanity
2026-05-01 07:44:04 -04:00
parent 43020e5b51
commit 34aab3550d
4 changed files with 26 additions and 10 deletions

View File

@@ -52,7 +52,6 @@ in
pkgs.wmenu
pkgs.wl-clipboard
pkgs.mako
pkgs.kdePackages.spectacle
pkgs.kdePackages.kate
pkgs.kdePackages.filelight
inputs.glide.packages.${pkgs.stdenv.hostPlatform.system}.default

View File

@@ -85,6 +85,7 @@
"Mod4+j" = "[class=\"Jami\"] scratchpad show, resize set 90 ppt 90 ppt, move position center";
"Print" = "exec flameshot gui";
};
bars = [
{
@@ -141,7 +142,7 @@
];
};
extraConfig = ''
exec_always swaymsg output "*" bg ~/.background-image fill
exec_always swaymsg output "*" bg ~/.background-image fit
'';
};
@@ -183,7 +184,7 @@
echo "Using socket: $SWAYSOCK"
# 5. Execute swaymsg
${pkgs.sway}/bin/swaymsg output "*" bg "$RANDOM_IMG" fill
${pkgs.sway}/bin/swaymsg output "*" bg "$RANDOM_IMG" fit
echo "Updated background to $RANDOM_IMG"
else
echo "Error: Could not find any sway socket in $XDG_RUNTIME_DIR"
@@ -293,6 +294,21 @@
};
};
services.flameshot = {
# Also installs/enables flameshot
enable = true;
settings = {
General = {
useGrimAdapter = true;
# Stops warnings for using Grim
disabledGrimWarning = true;
uiColor = "#00ff73";
contrastUiColor = "#002f01";
drawColor = "#ff0000";
};
};
};
# Install packages for better Qt support and kvantum themes
home.packages = with pkgs; [
kdePackages.breeze