hypr: add vim head lines

This commit is contained in:
Oleksandr Smirnov 2025-03-08 19:41:20 +02:00
parent 02f23e31b8
commit 8d45cf102e
No known key found for this signature in database
3 changed files with 3 additions and 13 deletions

View file

@ -1,12 +0,0 @@
#!/usr/bin/env bash
# the purpose of the script is to notify when battery percentage is low
while true; do
if [[ "$(cat /sys/class/power_supply/BAT0/capacity)" -le 30 ]]; then
notify-send --urgency=CRITICAL "Battery Low" "Consider plugging cable in"
sleep 1200
else
sleep 120
fi
done

View file

@ -1,2 +1,3 @@
# vim: foldmethod=marker ts=2 sw=2 ft=hyprlang
bezier = linear, 1, 1, 0, 0 bezier = linear, 1, 1, 0, 0
animation = fade, 1, 1.8, linear animation = fade, 1, 1.8, linear

View file

@ -1,2 +1,3 @@
preload = /home/olex/Pictures/wall.png # vim: foldmethod=marker ts=2 sw=2 ft=hyprlang
preload = ,/home/olex/Pictures/wall.png
wallpaper = ,/home/olex/Pictures/wall.png wallpaper = ,/home/olex/Pictures/wall.png