aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SXHkD/.config/sxhkd/sxhkdrc16
-rwxr-xr-xScripts/.local/scripts/background3
-rwxr-xr-xScripts/.local/scripts/status/battery7
-rwxr-xr-xScripts/.local/scripts/status/connection2
-rwxr-xr-xScripts/.local/scripts/status/datetime2
5 files changed, 17 insertions, 13 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc
index 9d13ce8..bbe0d0a 100644
--- a/SXHkD/.config/sxhkd/sxhkdrc
+++ b/SXHkD/.config/sxhkd/sxhkdrc
@@ -104,20 +104,20 @@ Scroll_Lock
# Brightness
XF86MonBrightness{Down,Up}
- kill -37 $(pidof dwmblocks); \
- xbacklight -{dec,inc} 5;
+ xbacklight -{dec,inc} 5; \
+ kill -37 $(pidof dwmblocks);
shift + XF86MonBrightness{Down,Up}
- kill -37 $(pidof dwmblocks); \
- xbacklight -{dec,inc} 1;
+ xbacklight -{dec,inc} 1; \
+ kill -37 $(pidof dwmblocks);
super + F{3,4}
- kill -37 $(pidof dwmblocks); \
- xbacklight -{dec,inc} 5;
+ xbacklight -{dec,inc} 5; \
+ kill -37 $(pidof dwmblocks);
super + shift + F{3,4}
- kill -37 $(pidof dwmblocks); \
- xbacklight -{dec,inc} 1;
+ xbacklight -{dec,inc} 1; \
+ kill -37 $(pidof dwmblocks);
;; Local Variables:
;; mode: conf
diff --git a/Scripts/.local/scripts/background b/Scripts/.local/scripts/background
index 6ee6455..9505365 100755
--- a/Scripts/.local/scripts/background
+++ b/Scripts/.local/scripts/background
@@ -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;
diff --git a/Scripts/.local/scripts/status/battery b/Scripts/.local/scripts/status/battery
index ccbec38..133a153 100755
--- a/Scripts/.local/scripts/status/battery
+++ b/Scripts/.local/scripts/status/battery
@@ -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"
diff --git a/Scripts/.local/scripts/status/connection b/Scripts/.local/scripts/status/connection
index f2e6fb4..84f84dc 100755
--- a/Scripts/.local/scripts/status/connection
+++ b/Scripts/.local/scripts/status/connection
@@ -6,5 +6,5 @@ then
con=$(nmcli | grep "connected to" | sed "s/.*: connected to \(.*\)/\1/g")
echo "" $con
else
- echo " Not Connected"
+ echo ""
fi
diff --git a/Scripts/.local/scripts/status/datetime b/Scripts/.local/scripts/status/datetime
index 2ec0b77..1691f34 100755
--- a/Scripts/.local/scripts/status/datetime
+++ b/Scripts/.local/scripts/status/datetime
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
-echo "⏲ $(date +'%a %d %b %R')"
+echo "⏲ $(date +'%a %d/%m %R')"