changes with hypridle
This commit is contained in:
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
hyprctl dispatch "hl.dsp.dpms({action = 'off'})"
|
||||
# alternative: wlopm --off '*'
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
hyprctl dispatch "hl.dsp.dpms({action = 'on'})"
|
||||
# alternative: wlopm --on '*'
|
||||
@@ -2,4 +2,4 @@
|
||||
s=$(cut -d. -f1 /proc/uptime)
|
||||
h=$((s / 3600))
|
||||
m=$(((s % 3600) / 60))
|
||||
printf "%02d:%02dh" "$h" "$m"
|
||||
printf " %02d:%02dh" "$h" "$m"
|
||||
Reference in New Issue
Block a user