aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2023-05-11 21:40:10 +0000
committerKumar Damani <me@kumardamani.net>2023-05-11 21:40:10 +0000
commitf7f3d3d2c3f06ef84748c28219e5ae6b18029945 (patch)
tree67f4b7b61a9a91c40f8e1fac05fbdab3364fb001 /nixpkgs
parentb3b858a45dbe2a7e164493344237f7d12600c6b0 (diff)
bug in wl-copy part of screenshot cmd
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/.config/nixpkgs/common/dwl_4/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/.config/nixpkgs/common/dwl_4/config.h b/nixpkgs/.config/nixpkgs/common/dwl_4/config.h
index 84ab1bb..b45e198 100644
--- a/nixpkgs/.config/nixpkgs/common/dwl_4/config.h
+++ b/nixpkgs/.config/nixpkgs/common/dwl_4/config.h
@@ -119,7 +119,7 @@ static const char *hibernatecmd[] = { "systemctl", "hibernate", NULL };
static const char *lockcmd[] = { "swaylock", "-i", "/tmp/bg", NULL };
static const char scrotcmd[] = "slurp | \
grim -g - - | \
- wl-copy --type image && \
+ wl-copy --type image/png && \
notify-send 'Copied selection to clipboard!' && \
wl-paste --type image > $HOME/pics/$(date +'%Y-%m-%d-%H%M%S_grim.png')";