commit d24b871c47826eace3d7f6c642aaffdd01fe6ebe
parent 61c59a6c1f356ed23983ad8625d199e4338f1f4d
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Tue, 2 Sep 2025 07:28:29 +0200
Some small changes
Diffstat:
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dmenu-screenshot b/dmenu-screenshot
@@ -25,7 +25,7 @@ while getopts "m:" opt; do
done
shift $((OPTIND - 1))
-folder="$HOME/pictures/screenshots"
+folder="$HOME/box/pictures/screenshots"
filename="screenshot_$(date +%Y-%m-%d-%H%M%S).png"
filepath="${folder}/${filename}"
diff --git a/open-file b/open-file
@@ -12,7 +12,7 @@ menu="dmenu -i -l 15"
video=${VIDEO:-vlc}
music=${MUSIC:-vlc}
pdf=${PDF:-zathura}
-img="imv"
+img="nsxiv"
word="libreoffice"
sheet="libreoffice"
html="firefox --new-window"
diff --git a/open-url b/open-url
@@ -4,7 +4,7 @@
# Requires: mail-compose, spawn, xsel (optional)
browser=${BROWSER:-firefox}
-imageviewer=${IMAGEVIEWER:-imv}
+imageviewer=${IMAGEVIEWER:-nsxiv}
[ -z "$1" ] && exit 0
diff --git a/status-linux b/status-linux
@@ -16,13 +16,13 @@ date=$(date +"%a %d %b")
if [ "$(pulsemixer --get-mute)" -eq 1 ]; then
volume="Muted"
else
- volume="Vol: $(pulsemixer --get-volume | awk '{print $1}')%"
+ volume="Vol $(pulsemixer --get-volume | awk '{print $1}')%"
fi
bat="/sys/class/power_supply/BAT0"
if [ -d $bat ]; then
charge_status="$(cat $bat/status | awk '{print substr ($0, 0, 2)}')"
- battery="Bat: $(cat $bat/capacity)% $charge_status"
+ battery="Bat $(cat $bat/capacity)% $charge_status"
else
battery="No battery"
fi
@@ -41,5 +41,5 @@ noticount=$(notify show | wc -l)
printf '%s' "$network$sep$volume$sep$battery$sep$date$sep$time"
[ "$noticount" = "1" ] && printf '%s' "$sep$(notify show)"
-[ "$noticount" -gt "1" ] && printf '%s' "${sep} [$noticount]"
+[ "$noticount" -gt "1" ] && printf '%s' "${sep}[$noticount]"
printf '\n'