aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/hyprlock.conf
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-05-10 17:21:12 +0900
committerGitHub <noreply@github.com>2024-05-10 17:21:12 +0900
commitd44b77d2ebc248fd8e94c5bd2e5a3532c9a9fb71 (patch)
treeba7419e774eed9bf687545d257d6709d1ed02ba3 /config/hypr/hyprlock.conf
parente742b39139813b04706c30f097e0d9829ea7c776 (diff)
parent4cd64ff0b907f8d8d6503bcb7c858ca25494d1cb (diff)
Merge pull request #253 from JohnRTitor/patch-hyprlock
hyprlock: add alternative script for NixOS, if `uptime -p` fails
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