aboutsummaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'hypr')
-rwxr-xr-xhypr/battery-notif.sh6
-rw-r--r--hypr/battery/battery_critical.pngbin2574 -> 0 bytes
-rw-r--r--hypr/battery/battery_low.pngbin2083 -> 0 bytes
-rwxr-xr-xhypr/greyline.sh6
-rw-r--r--hypr/hyprland/exec_once.conf3
-rw-r--r--hypr/hyprpaper.conf5
-rwxr-xr-xhypr/wall.sh3
7 files changed, 16 insertions, 7 deletions
diff --git a/hypr/battery-notif.sh b/hypr/battery-notif.sh
index e64442a..6c721a5 100755
--- a/hypr/battery-notif.sh
+++ b/hypr/battery-notif.sh
@@ -5,12 +5,12 @@ while true; do
if [[ "$status" = "Discharging" ]]; then
battery=$(cat /sys/class/power_supply/BAT1/capacity)
if [[ battery -lt 16 ]]; then
- notify-send -u critical "Very Low Battery" -i ~/.config/hypr/battery/battery_critical.png -t 5000
+ notify-send -u critical "CHARGE" "Very Low Battery" -t 2000
elif [[ battery -lt 31 ]]; then
- notify-send -u normal "Low Battery" -i ~/.config/hypr/battery/battery_low.png -t 5000
+ notify-send -u normal "CHARGE" "Low Battery" -t 2000
fi
fi
pid=$!
- sleep 5
+ sleep 2
kill $pid
done
diff --git a/hypr/battery/battery_critical.png b/hypr/battery/battery_critical.png
deleted file mode 100644
index cf73f50..0000000
--- a/hypr/battery/battery_critical.png
+++ /dev/null
Binary files differ
diff --git a/hypr/battery/battery_low.png b/hypr/battery/battery_low.png
deleted file mode 100644
index 39d2d89..0000000
--- a/hypr/battery/battery_low.png
+++ /dev/null
Binary files differ
diff --git a/hypr/greyline.sh b/hypr/greyline.sh
new file mode 100755
index 0000000..43c3564
--- /dev/null
+++ b/hypr/greyline.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+while true; do
+ greyline
+ sleep $((60 - $(date +%S)))
+done
diff --git a/hypr/hyprland/exec_once.conf b/hypr/hyprland/exec_once.conf
index 555ee86..ee270c7 100644
--- a/hypr/hyprland/exec_once.conf
+++ b/hypr/hyprland/exec_once.conf
@@ -1,5 +1,6 @@
-exec-once = ~/.config/hypr/wall.sh
exec-once = ~/.config/hypr/battery-notif.sh
+exec-once = ~/.config/hypr/greyline.sh
exec-once = wl-paste --watch cliphist store
exec-once = qs
exec-once = hyprsunset
+exec-once = hyprpaper
diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf
new file mode 100644
index 0000000..9580494
--- /dev/null
+++ b/hypr/hyprpaper.conf
@@ -0,0 +1,5 @@
+wallpaper {
+ monitor =
+ path = ~/Pictures/space.png
+ fit_mode = cover
+}
diff --git a/hypr/wall.sh b/hypr/wall.sh
deleted file mode 100755
index 931cb49..0000000
--- a/hypr/wall.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env bash
-
-swaybg -i ~/Pictures/space.png -m fill