diff options
| author | Kumar Damani <me@kumardamani.net> | 2026-09-03 22:08:46 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2026-09-03 22:08:46 +0000 |
| commit | 9199cdb9e70b4544aa763b32767c9e20a4024024 (patch) | |
| tree | fff30c62e6c3c9039c0833efd58c9f631382bb14 | |
| parent | da84737afb7d4f7c47c4b84582db37467949a0f8 (diff) | |
notify via dunst on screenshot
| -rw-r--r-- | config.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -67,8 +67,8 @@ static const char *voldowncmd[] = { "/bin/sh", "-c", "pactl set-sink-mute @DEFAU static const char *volmutecmd[] = { "/bin/sh", "-c", "pactl set-sink-mute @DEFAULT_SINK@ toggle", NULL }; static const char *micmutecmd[] = { "/bin/sh", "-c", "pactl set-source-mute @DEFAULT_SOURCE@ toggle", NULL }; static const char *mixercmd[] = { "st", "-e", "pulsemixer", NULL }; -static const char *shotselexec[] = { "/bin/sh", "-c", "mkdir -p ~/pics/screenshots; f=~/pics/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png; maim -s \"$f\" && xclip -selection clipboard -t image/png < \"$f\"", NULL }; -static const char *shotfullexec[] = { "/bin/sh", "-c", "mkdir -p ~/pics/screenshots; f=~/pics/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png; maim \"$f\" && xclip -selection clipboard -t image/png < \"$f\"", NULL }; +static const char *shotselexec[] = { "/bin/sh", "-c", "mkdir -p ~/pics/screenshots; f=~/pics/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png; maim -s \"$f\" && xclip -selection clipboard -t image/png < \"$f\" && dunstify -i \"$f\" \"Screenshot saved\" \"$f\"", NULL }; +static const char *shotfullexec[] = { "/bin/sh", "-c", "mkdir -p ~/pics/screenshots; f=~/pics/screenshots/$(date +%Y-%m-%d_%H-%M-%S).png; maim \"$f\" && xclip -selection clipboard -t image/png < \"$f\" && dunstify -i \"$f\" \"Screenshot saved\" \"$f\"", NULL }; static const Key keys[] = { /* modifier key function argument */ |
