aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/hyprlock.conf
diff options
context:
space:
mode:
authorJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-05-10 12:16:30 +0530
committerJohn Titor <50095635+JohnRTitor@users.noreply.github.com>2024-05-10 12:16:30 +0530
commit4cd64ff0b907f8d8d6503bcb7c858ca25494d1cb (patch)
treeba7419e774eed9bf687545d257d6709d1ed02ba3 /config/hypr/hyprlock.conf
parent4b44f8eceb31ed13453a5ba5f0a735d52d92e065 (diff)
hyprlock: use UptimeNixOS script to get the output if uptime -p not available
Diffstat (limited to 'config/hypr/hyprlock.conf')
-rw-r--r--config/hypr/hyprlock.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf
index f41d646a..eec6d31f 100644
--- a/config/hypr/hyprlock.conf
+++ b/config/hypr/hyprlock.conf
@@ -4,6 +4,7 @@
# Sourcing colors generated by wallust
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
+$Scripts = $HOME/.config/hypr/scripts
general {
grace = 1
@@ -99,7 +100,7 @@ label {
# uptime
label {
monitor =
- text = cmd[update:60000] echo "<b> "$(uptime -p)" </b>"
+ text = cmd[update:60000] echo "<b> "$(uptime -p || $Scripts/UptimeNixOS.sh)" </b>"
color = $color12
font_size = 24
font_family = JetBrains Mono Nerd Font 10
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage