mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
hypr: add vim head lines
This commit is contained in:
parent
02f23e31b8
commit
8d45cf102e
3 changed files with 3 additions and 13 deletions
|
|
@ -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
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue