This commit is contained in:
Hadi
2024-10-07 11:17:59 +02:00
parent ab65fe342b
commit 75f2c2c7c6
20 changed files with 289 additions and 157 deletions

View File

@@ -1,5 +1,9 @@
# - ## Screenshot
#-
#- This module provides a script to take screenshots using `hyprshot` and `swappy`.
#-
#- - `screenshot [region|window|monitor] [swappy]` - Take a screenshot of the region, window, or monitor. Optionally, use `swappy` to copy the screenshot to the clipboard.
{ pkgs, ... }:
let
screenshot = pkgs.writeShellScriptBin "screenshot" ''
if [[ $2 == "swappy" ]];then