dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit f97ed4a38d334132f29d73e40f4d48676009f105
parent 194e6795f1ca4570b76789cadcc7d7122dddc64c
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri, 21 May 2021 00:41:08 -0400

Remove icons from dunst notifications

Diffstat:
M.local/bin/change-volume | 6++----
M.local/bin/screenshot | 9+++------
2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/.local/bin/change-volume b/.local/bin/change-volume @@ -28,11 +28,9 @@ fi if [ "$muted" -eq 1 ]; then # Show the sound muted notification - dunstify -a "changeVolume" -u low -i audio-volume-muted -r "$msgId" \ - "Volume muted" + dunstify -a "changeVolume" -u low -r "$msgId" "Volume muted" else # Show the volume notification - dunstify -a "changeVolume" -u low -i audio-volume-high -r "$msgId" \ - "Volume: $volume%" + dunstify -a "changeVolume" -u low -r "$msgId" "Volume: $volume%" fi exit 0 diff --git a/.local/bin/screenshot b/.local/bin/screenshot @@ -38,18 +38,15 @@ esac case "$saveto" in "File") maim "$flags" > "$filename" \ - && notify-send -i camera-photo-symbolic "Screenshot Captured" \ - "Saved to $filename" + && notify-send "Screenshot Captured" "Saved to $filename" ;; "Clipboard") maim "$flags" | xclip -sel c -t image/png \ - && notify-send -i camera-photo-symbolic "Screenshot Captured" \ - "Copied to clipboard" + && notify-send "Screenshot Captured" "Copied to clipboard" ;; "Both") maim "$flags" | tee "$filename" | xclip -sel c -t image/png \ - && notify-send -i camera-photo-symbolic "Screenshot Captured" \ - "Saved to $filename and copied to clipboard" + && notify-send "Screenshot Captured" "Saved to $filename and copied to clipboard" ;; *) exit 1