Update some scripts and SXHkD config
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
feh --bg-fill --randomize $HOME/Pictures/Backgrounds;
|
||||
# feh --bg-fill --randomize $HOME/Pictures/Backgrounds;
|
||||
feh --bg-fill $HOME/Pictures/Backgrounds/black.jpg;
|
||||
|
||||
@@ -5,7 +5,10 @@ status=$(cat /sys/class/power_supply/BAT0/status)
|
||||
|
||||
if [[ $status == "Charging" ]]
|
||||
then
|
||||
status=""
|
||||
echo " $capacity% $time_left"
|
||||
elif [[ $status == "Not charging" ]]
|
||||
then
|
||||
echo " $capacity%"
|
||||
else
|
||||
if [[ $capacity -ge 75 ]]
|
||||
then
|
||||
@@ -23,5 +26,5 @@ else
|
||||
notify-send -u critical "Charge now!"
|
||||
status=""
|
||||
fi
|
||||
echo "$status $capacity% $time_left"
|
||||
fi
|
||||
echo "$status $capacity% $time_left"
|
||||
|
||||
@@ -6,5 +6,5 @@ then
|
||||
con=$(nmcli | grep "connected to" | sed "s/.*: connected to \(.*\)/\1/g")
|
||||
echo "" $con
|
||||
else
|
||||
echo " Not Connected"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "⏲ $(date +'%a %d %b %R')"
|
||||
echo "⏲ $(date +'%a %d/%m %R')"
|
||||
|
||||
Reference in New Issue
Block a user