screenshit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user