Added screenshot with hyprshot & satty

This commit is contained in:
2025-11-12 14:23:51 -05:00
parent e35f7923ae
commit 6c79eff909
4 changed files with 24 additions and 0 deletions

View File

@@ -47,6 +47,7 @@
env = [
"NIXOS_OZONE_WL, 1"
"HYPRSHOT_DIR, ${config.xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR}"
];
};
};

View File

@@ -33,6 +33,11 @@
", XF86MonBrightnessUp, exec, brightnessctl set 10%+"
", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
# Screenshoting
", PRINT, exec, hyprshot -m output --raw | satty --filename -"
"$mod, PRINT, exec, hyprshot -m window --raw | satty --filename -"
"SHIFT, PRINT, exec, hyprshot -m region --raw | satty --filename -"
# Media Control Keys
", XF86AudioPrev, exec, playerctl previous"
", XF86AudioPlay, exec, playerctl play-pause"