Added screenshot with hyprshot & satty
This commit is contained in:
17
modules/home/screenshot.nix
Normal file
17
modules/home/screenshot.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hyprshot
|
||||
satty
|
||||
];
|
||||
|
||||
xdg.configFile."satty/config.toml".text = ''
|
||||
[general]
|
||||
fullscreen = false
|
||||
output-filename = "${config.xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR}/%Y-%m-%d_%H:%M:%S.png"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user