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

Most text variables do not work in placeholder text under input field #600

Closed
neddey opened this issue Dec 23, 2024 · 0 comments · Fixed by #603
Closed

Most text variables do not work in placeholder text under input field #600

neddey opened this issue Dec 23, 2024 · 0 comments · Fixed by #603
Labels
bug Something isn't working

Comments

@neddey
Copy link

neddey commented Dec 23, 2024

Regression?

No

Hyprlock Info and Version

0.6.0

Hyprlock config
input-field {
    size = 256,  64
    outline_thickness = -1
    dots_spacing = 0.15
    dots_center = false
    outer_color = rgb(ff00ff)
    inner_color = rgb(2e3440)
    font_color = rgb(d8dee9)
    fade_on_empty = false
    placeholder_text = $DESC
    rounding = -1
    check_color = rgb(000000)
    fail_color = rgb(bf616a)
    fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
    position = 0, 128
    halign = center
    valign = bottom
}

Compositor Info and Version

System/Version info
Hyprland 0.46.2 built from branch  at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887  (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.2.6
 hyprcursor 0.1.10
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: NicksDesktop
Release: 6.12.4-artix1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 09 Dec 2024 17:50:14 +0000


GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT][1002:73df] (rev c5) (prog-if 00 [VGA controller])
12:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c6) (prog-if 00 [VGA controller])


os-release: NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
LOGO=artixlinux-logo


plugins:

Description

When using most of the text vairable for input-field:placeholder-text it show as the raw text, not the intended output.
The only working one I could find were:

  • $USER
  • $PROMPT

The ones that don't work are:

  • $DESC
  • $TIME
  • $TIME12
  • $FAIL
  • $ATTEMPTS
  • $LAYOUT
  • $FPRINTMESSAGE

How to reproduce

Use any of the non working text vairables in input-field:placeholder-text.

Crash reports, logs, images, videos

2024-12-23_22:02:13_Screen

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.

1 participant