add screenshot tool

This commit is contained in:
Kopatz
2023-11-24 16:09:04 +01:00
parent 4d3fc04cd7
commit 14d982a508
2 changed files with 6 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ let
pkgs.keepass-keepassrpc
];
};
screenshot = pkgs.writeShellScriptBin "screenshot.sh" ''
${pkgs.scrot}/bin/scrot -fs - | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png -i
'';
in
{
programs.steam = {
@@ -75,6 +78,7 @@ in
krita
unstable.libreoffice-fresh
mangohud
screenshot
];
environment.sessionVariables = {

View File

@@ -48,6 +48,8 @@
# Enable networking
networking.networkmanager.enable = true;
boot.initrd.systemd.network.wait-online.enable = false;
systemd.network.wait-online.enable = false;
# Set your time zone.
time.timeZone = "Europe/Vienna";