Add screenshot support

This commit is contained in:
2022-09-09 18:57:14 +01:00
parent 5d04f72d00
commit ccb6be84b5
2 changed files with 43 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ in
"${mod}+x" = "exec ${cfg.menu}";
"${mod}+q" = "kill";
"${mod}+Shift+q" = "exec swaynag -t warning -m 'bruh you really wanna kill sway?' -b 'ye' 'systemctl --user stop graphical-session.target && swaymsg exit'";
"${mod}+shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui";
};
menu = "rofi -show run";
@@ -120,6 +121,19 @@ in
};
};
services = {
flameshot = {
enable = true;
settings = {
General = {
disabledTrayIcon = true;
savePath = "/tmp/screenshots";
savePathFixed = false;
};
};
};
};
programs = {
git = {
enable = true;