Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when using $TIME #519

Closed
2Belette opened this issue Oct 18, 2024 · 2 comments · Fixed by #527
Closed

Crash when using $TIME #519

2Belette opened this issue Oct 18, 2024 · 2 comments · Fixed by #527
Labels
bug Something isn't working

Comments

@2Belette
Copy link

Regression?

Yes

Hyprlock Info and Version

hyprlock-0.4.1 @ FreeBSD

Hyprlock config
label {
    monitor =
#    text = cmd[update:1000] echo "$(date +"%H:%M:%S")"
    text = $TIME
    color = rgba(200, 200, 200, 1.0)
    font_size = 60
    font_family = Noto Sans
    position = -30, 0
    halign = right
    valign = top
}

Compositor Info and Version

System/Version info
Hyprland, built from branch main at commit 4520b30d498daca8079365bdb909a8dea38e8d55 portbld (?).
Date: Wed Oct  9 12:54:39 UTC 2024
Tag: v0.44.1, commits: ?
built against aquamarine 0.4.3


flags: (if any)


System Information:
System name: FreeBSD
Node name: xps
Release: 14.1-RELEASE-p5
Version: FreeBSD 14.1-RELEASE-p5 GENERIC


GPU information: 
vgapci0@pci0:0:2:0:	class=0x030000 rev=0x0c hdr=0x00 vendor=0x8086 device=0x46a6 subvendor=0x1028 subdevice=0x0af3
    vendor     = 'Intel Corporation'
    device     = 'Alder Lake-P GT2 [Iris Xe Graphics]'
    class      = display
    subclass   = VGA


os-release: NAME=FreeBSD
VERSION="14.1-RELEASE-p5"
VERSION_ID="14.1"
ID=freebsd
ANSI_COLOR="0;31"
PRETTY_NAME="FreeBSD 14.1-RELEASE-p5"
CPE_NAME="cpe:/o:freebsd:freebsd:14.1"
HOME_URL="https://FreeBSD.org/"
BUG_REPORT_URL="https://bugs.FreeBSD.org/"


plugins:

Description

This is crashing hyprlock with no hint into logging nor verbose mode.
If I comment the line with $TIME and uncommenting the line above, everything is working well.
It was working before.

How to reproduce

using $TIME

Crash reports, logs, images, videos

No response

@2Belette 2Belette added the bug Something isn't working label Oct 18, 2024
@PaideiaDilemma
Copy link
Collaborator

You probably did not set up your timezone.
I opened #527 to handle this a bit more gracefully.

@2Belette
Copy link
Author

Thanks !
@PaideiaDilemma do you mean to set timezone on hyprlock specifically or in my system ? (in my system it is setup; my /etc/localtime is set to /usr/share/zoneinfo/Europe/Paris)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants