From aee94489315c63bf9341ca07668ef9449f87a90f Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sat, 13 Aug 2022 18:43:04 +0530 Subject: dunst notif icon update --- .local/share/icons/battery-empty.svg | 1 + .local/share/icons/battery-full.svg | 1 + .local/share/icons/battery-half.svg | 1 + .local/share/icons/battery-quarter.svg | 1 + .local/share/icons/battery-three-quarters.svg | 1 + .local/share/icons/bluetooth.svg | 1 + .local/share/icons/bluetoothb.svg | 1 + .local/share/icons/brightness.png | Bin 0 -> 533 bytes .local/share/icons/charging.svg | 1 + .local/share/icons/d-n-d.svg | 1 + .local/share/icons/dragon.svg | 1 + .local/share/icons/skull.svg | 1 + .local/share/icons/spotify.svg | 1 + .local/share/icons/temperature-arrow-up.svg | 1 + .local/share/icons/volume-high.svg | 1 + .local/share/icons/volume-low.svg | 1 + .local/share/icons/volume-off.svg | 1 + .local/share/icons/volume-xmark.svg | 1 + .scripts/battery | 2 +- .scripts/pidkill | 2 +- .scripts/pidkillall | 2 +- 21 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 .local/share/icons/battery-empty.svg create mode 100644 .local/share/icons/battery-full.svg create mode 100644 .local/share/icons/battery-half.svg create mode 100644 .local/share/icons/battery-quarter.svg create mode 100644 .local/share/icons/battery-three-quarters.svg create mode 100644 .local/share/icons/bluetooth.svg create mode 100644 .local/share/icons/bluetoothb.svg create mode 100644 .local/share/icons/brightness.png create mode 100644 .local/share/icons/charging.svg create mode 100644 .local/share/icons/d-n-d.svg create mode 100644 .local/share/icons/dragon.svg create mode 100644 .local/share/icons/skull.svg create mode 100644 .local/share/icons/spotify.svg create mode 100644 .local/share/icons/temperature-arrow-up.svg create mode 100644 .local/share/icons/volume-high.svg create mode 100644 .local/share/icons/volume-low.svg create mode 100644 .local/share/icons/volume-off.svg create mode 100644 .local/share/icons/volume-xmark.svg diff --git a/.local/share/icons/battery-empty.svg b/.local/share/icons/battery-empty.svg new file mode 100644 index 0000000..955a1d3 --- /dev/null +++ b/.local/share/icons/battery-empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/battery-full.svg b/.local/share/icons/battery-full.svg new file mode 100644 index 0000000..81d361d --- /dev/null +++ b/.local/share/icons/battery-full.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/battery-half.svg b/.local/share/icons/battery-half.svg new file mode 100644 index 0000000..222cf43 --- /dev/null +++ b/.local/share/icons/battery-half.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/battery-quarter.svg b/.local/share/icons/battery-quarter.svg new file mode 100644 index 0000000..1685f5c --- /dev/null +++ b/.local/share/icons/battery-quarter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/battery-three-quarters.svg b/.local/share/icons/battery-three-quarters.svg new file mode 100644 index 0000000..5e9305a --- /dev/null +++ b/.local/share/icons/battery-three-quarters.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/bluetooth.svg b/.local/share/icons/bluetooth.svg new file mode 100644 index 0000000..a3746c1 --- /dev/null +++ b/.local/share/icons/bluetooth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/bluetoothb.svg b/.local/share/icons/bluetoothb.svg new file mode 100644 index 0000000..efc9c54 --- /dev/null +++ b/.local/share/icons/bluetoothb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/brightness.png b/.local/share/icons/brightness.png new file mode 100644 index 0000000..c5c280d Binary files /dev/null and b/.local/share/icons/brightness.png differ diff --git a/.local/share/icons/charging.svg b/.local/share/icons/charging.svg new file mode 100644 index 0000000..95f88bb --- /dev/null +++ b/.local/share/icons/charging.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/d-n-d.svg b/.local/share/icons/d-n-d.svg new file mode 100644 index 0000000..0587de4 --- /dev/null +++ b/.local/share/icons/d-n-d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/dragon.svg b/.local/share/icons/dragon.svg new file mode 100644 index 0000000..0c0c1d9 --- /dev/null +++ b/.local/share/icons/dragon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/skull.svg b/.local/share/icons/skull.svg new file mode 100644 index 0000000..5b904b9 --- /dev/null +++ b/.local/share/icons/skull.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/spotify.svg b/.local/share/icons/spotify.svg new file mode 100644 index 0000000..cbeb70c --- /dev/null +++ b/.local/share/icons/spotify.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/temperature-arrow-up.svg b/.local/share/icons/temperature-arrow-up.svg new file mode 100644 index 0000000..9b6d32c --- /dev/null +++ b/.local/share/icons/temperature-arrow-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/volume-high.svg b/.local/share/icons/volume-high.svg new file mode 100644 index 0000000..1c90eb6 --- /dev/null +++ b/.local/share/icons/volume-high.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/volume-low.svg b/.local/share/icons/volume-low.svg new file mode 100644 index 0000000..f721a02 --- /dev/null +++ b/.local/share/icons/volume-low.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/volume-off.svg b/.local/share/icons/volume-off.svg new file mode 100644 index 0000000..a5e0ce9 --- /dev/null +++ b/.local/share/icons/volume-off.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.local/share/icons/volume-xmark.svg b/.local/share/icons/volume-xmark.svg new file mode 100644 index 0000000..95a6dcc --- /dev/null +++ b/.local/share/icons/volume-xmark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.scripts/battery b/.scripts/battery index 1f308a5..626c517 100755 --- a/.scripts/battery +++ b/.scripts/battery @@ -31,7 +31,7 @@ for battery in /sys/class/power_supply/BAT?*; do esac capacity="$(cat "$battery/capacity" 2>&1)" # Will make a warn variable if discharging and low - [ "$status" = "🔋" ] && [ "$capacity" -le 25 ] && warn="❗" + [ "$status" = "🔋" ] && [ "$capacity" -le 25 ] && warn="❗" && dunstify "Critical Battery" "Charge Immediately" -u critical -i battery-quarter # Prints the info printf "%s%s%d%%" "$status" "$warn" "$capacity"; unset warn done && printf "\\n" diff --git a/.scripts/pidkill b/.scripts/pidkill index 754a610..b44dd84 100755 --- a/.scripts/pidkill +++ b/.scripts/pidkill @@ -5,5 +5,5 @@ pid=$(echo $prok | awk '{print $1}') pname=$(echo $prok | awk '{print $4}') kill -15 $pid 2>/dev/null && -[ -n $pname ] && dunstify "Terminated process Successfully" "$pname was killed" +[ -n $pname ] && dunstify "Terminated process Successfully" "$pname was killed" -i skull diff --git a/.scripts/pidkillall b/.scripts/pidkillall index 86fad3c..afbf007 100755 --- a/.scripts/pidkillall +++ b/.scripts/pidkillall @@ -4,6 +4,6 @@ psout=$(ps -u $USER -o pid,%cpu,%mem,comm | sed -n '1!p' | sort -b -k2 -r| cut - //uniq without piping into sort before with the help of awk killall $psout 2>/dev/null && -[ -n $psout ] && dunstify "Terminated all processes Successfully" "$psout was killed" +[ -n $psout ] && dunstify "Terminated all processes Successfully" "$psout was killed" -i skull -- cgit v1.2.3