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

Commented lines being recognised as errors in hyprland.conf #4754

Closed
AnkurAlpha opened this issue Feb 19, 2024 · 2 comments
Closed

Commented lines being recognised as errors in hyprland.conf #4754

AnkurAlpha opened this issue Feb 19, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@AnkurAlpha
Copy link

Hyprland Version

 ╭─ankur@ankur in ~ took 8ms
[🔴] × hyprctl version
Hyprland, built from branch main at commit 7e8bcd675de15ee2498f1aa15c5b335e9a9a55f0 dirty (monitors: fix outputmgr nullptr crash (4738)).
Date: Sun Feb 18 03:24:01 2024
Tag: v0.35.0-45-g7e8bcd67

flags: (if any)

Bug or Regression?

Bug

Description

After updating from 0.35.0.r45.7e8bcd67-1 to 0.35.0.r51.69a4f08d-1

It shows me this :
1

It is reporting errors for lines just ###########
or things between them

How to reproduce

just paste this :

##################################################
##  _   _                  _                 _  ##
## | | | |_   _ _ __  _ __| | __ _ _ __   __| | ##
## | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` | ##
## |  _  | |_| | |_) | |  | | (_| | | | | (_| | ##
## |_| |_|\__, | .__/|_|  |_|\__,_|_| |_|\__,_| ##
##        |___/|_|                              ##
##################################################

in hyprland.conf and update and reboot

Crash reports, logs, images, videos

hyprland.conf (config file) :

##################################################
##  _   _                  _                 _  ##
## | | | |_   _ _ __  _ __| | __ _ _ __   __| | ##
## | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` | ##
## |  _  | |_| | |_) | |  | | (_| | | | | (_| | ##
## |_| |_|\__, | .__/|_|  |_|\__,_|_| |_|\__,_| ##
##        |___/|_|                              ##
##################################################

$mainMod = SUPER
# open G-Hyprland script
windowrulev2=float,title:^(G-Hyprland)
bind = $mainMod, S, exec, footclient -w 750x600 -T G-Hyprland -e ~/.config/hypr/brain/brain.sh
#disable G-hyprland
bind = $mainMod SHIFT, G, exec, footclient -e ~/.local/bin/bear/implement_gum.sh disable

##############################################
##                           _              ##
##  ___  ___  _   _ _ __ ___(_)_ __   __ _  ##
## / __|/ _ \| | | | '__/ __| | '_ \ / _` | ##
## \__ \ (_) | |_| | | | (__| | | | | (_| | ##
## |___/\___/ \__,_|_|  \___|_|_| |_|\__, | ##
##                                   |___/  ##
##############################################

source = ~/.config/hypr/settings/monitor.conf
source = ~/.config/hypr/settings/background.conf
source = ~/.config/hypr/settings/eye_protection.conf
source = ~/.config/hypr/settings/status_bar.conf
source = ~/.config/hypr/settings/window_gaps.conf
source = ~/.config/hypr/settings/corners.conf
source = ~/.config/hypr/settings/blur_system.conf
source = ~/.config/hypr/settings/manual_settings.conf

1

@AnkurAlpha AnkurAlpha added the bug Something isn't working label Feb 19, 2024
@vaxerski
Copy link
Member

vaxerski commented Feb 19, 2024

after migration to hyprlang comment escaping is now parsed correctly meaning those lines are invalid.

If you want to have banners, prefix them with # (# and a space)

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2024
@sgse
Copy link

sgse commented Feb 19, 2024

About hyprlang

installing hyprlang (0.4.0-1) breaks dependency 'libhyprlang.so=0-64' required by xdg-desktop-portal-hyprland

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

No branches or pull requests

3 participants