Closed PerfMonk closed 1 year ago
hmm, that seems to be working just fine for me and dwindle:col.group_border_active
is still a valid config option.
can u try updating hyprland
I have installed from AUR : hyprland 0.21.0beta-2 . Should I rather use the one from git : aur/hyprland-git r2042.ga7ed3a5-1 (+28 13.44) ???
I have installed from AUR : hyprland 0.21.0beta-2 . Should I rather use the one from git : aur/hyprland-git r2042.ga7ed3a5-1 (+28 13.44) ???
No thats fine, run hyprctl version
, whats the output?
Wait I see the issue master.dwindle:col.group_border_active
, whats this master doing here?
I have installed from AUR : hyprland 0.21.0beta-2 . Should I rather use the one from git : aur/hyprland-git r2042.ga7ed3a5-1 (+28 13.44) ???
I have the following version:
Hyprland, built from branch master at commit 6867831a1b7f42033c2f326db5e63f95fda6084c (Re-released 21). flags: (if any)
I have the following version:
Hyprland, built from branch master at commit 6867831a1b7f42033c2f326db5e63f95fda6084c (Re-released 21). flags: (if any)
And this happens with EVERY theme?
I have tried 2 themes, aurora and enigh with same result.
dwindle:col.group_border_active
only exists in aurora tho. This might very well be a issue wit hyprtheme
I tried the neon theme with same result but the message is slightly different:
Config error at line 29 (/home/bt/.config/hypr/themes/disk/dist.conf): Error setting value <0xFF00C099> for field
I tried the neon theme with same result but the message is slightly different:
Config error at line 29 (/home/bt/.config/hypr/themes/disk/dist.conf): Error setting value <0xFF00C099> for field master:decoration:col.shadow_inactive: No such field.
Can you give the output of cat /home/bt/.config/hypr/themes/disk/dist.conf
?
Here it is :
$ cat dist.conf
#====== generated by hyprtheme ======#
$THEME_DIR=/home/bt/.config/hypr/themes/neon
$HOME/.config/hypr/themes/neon
monitor=,addreserved,55,0,0,0
general {
border_size=4
col.active_border=0xFFFFF898
col.inactive_border=0xffCDFFF6
gaps_in=8
gaps_out=16
}
decoration {
rounding=11
blur=1
blur_size=3
blur_passes=2
blur_new_optimizations=0
drop_shadow=1
shadow_range=30
shadow_render_power=2
shadow_ignore_window=1
shadow_offset= 0 0
col.shadow=0xFFF51D00
col.shadow_inactive=0xFF00C099
}
blurls=gtk-layer-shell
blurls=notifications
blurls=rofi
unbind=SUPER,Return
bind=SUPER,Return,exec,footclient
bind=SUPER,B,exec,eww -c "$THEME_DIR"/eww/ open --screen 0 --toggle bar0
bind=SUPER,D,exec,rofi -no-lazy-grab -show drun -theme "$THEME_DIR"/rofi/launcher.rasi
bind=SUPERSHIFT,D,exec,GDK_BACKEND=x11 QT_QPA_PLATFORM=xcb SDL_VIDEODRIVER=x11 rofi -drun-show-actions -no-lazy-grab -show drun -theme "$THEME_DIR"/rofi/launcher.rasi
exec-once=foot --server --config="$THEME_DIR"/foot/foot.ini
exec="$THEME_DIR"/scripts/wallpaper "$THEME_DIR"/Stray/Stills/ "$THEME_DIR"/Stray/Clips/
exec=killall -3 eww & sleep 1 && "$THEME_DIR"/eww/launch_bar
exec-once="$THEME_DIR"/scripts/flicker
After looking at it and the wiki, I see no issue with this, I have no clue why Hyprland would be giving issues with this. @flick0 needs to look into this when he has time, I have no clue on how Hyprtheme actually works.
its just sourcing the dist.conf
file and it has nothign wrong with it, i honestly have no clue why he is getting the master.
in his errors,
@PerfMonk can you also send your hyprland.conf
file
Here it is :
$ cat dist.conf
#====== generated by hyprtheme ======#
$THEME_DIR=/home/bt/.config/hypr/themes/neon
$HOME/.config/hypr/themes/neon
monitor=,addreserved,55,0,0,0
general {
border_size=4
col.active_border=0xFFFFF898
col.inactive_border=0xffCDFFF6
gaps_in=8
gaps_out=16
}
decoration {
rounding=11
blur=1
blur_size=3
blur_passes=2
blur_new_optimizations=0
drop_shadow=1
shadow_range=30
shadow_render_power=2
shadow_ignore_window=1
shadow_offset= 0 0
col.shadow=0xFFF51D00
col.shadow_inactive=0xFF00C099
}
blurls=gtk-layer-shell
blurls=notifications
blurls=rofi
unbind=SUPER,Return
bind=SUPER,Return,exec,footclient
bind=SUPER,B,exec,eww -c "$THEME_DIR"/eww/ open --screen 0 --toggle bar0
bind=SUPER,D,exec,rofi -no-lazy-grab -show drun -theme "$THEME_DIR"/rofi/launcher.rasi
bind=SUPERSHIFT,D,exec,GDK_BACKEND=x11 QT_QPA_PLATFORM=xcb SDL_VIDEODRIVER=x11 rofi -drun-show-actions -no-lazy-grab -show drun -theme "$THEME_DIR"/rofi/launcher.rasi
exec-once=foot --server --config="$THEME_DIR"/foot/foot.ini
exec="$THEME_DIR"/scripts/wallpaper "$THEME_DIR"/Stray/Stills/ "$THEME_DIR"/Stray/Clips/
exec=killall -3 eww & sleep 1 && "$THEME_DIR"/eww/launch_bar
exec-once="$THEME_DIR"/scripts/flicker
No not dist, he said he needs your hyprland conf aka ~/.config/hypr/hyprland.conf
Here is my hyperland.conf
===========================
[bt@swayductor hypr]$ cat hyprland.conf
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
autogenerated = 0 # remove this line to remove the warning
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,1920x1080@144,0x0,1
monitor=,preferred,auto,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = source /usr/local/bin/hyprenv & hyprpaper & swayidle -w & waybar &
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = ca
kb_variant = multix
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
natural_scroll = no
disable_while_typing = yes
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
scroll_method = 2fg
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 3
gaps_out = 15
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
cursor_inactive_timeout = 10
layout = dwindle
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
blur = yes
blur_size = 3
blur_passes = 1
blur_new_optimizations = on
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
}
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
}
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = true
#gestures {
# # See https://wiki.hyprland.org/Configuring/Variables/ for more
# workspace_swipe = off
#}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
#device: mouse logitech-m325 {
# speed = 0.000000
#}
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
#mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = SUPER, Q, exec, /usr/bin/kitty
bind = SUPER, Return, exec, /usr/bin/alacritty
bind = SUPER ALT, F, exec, /usr/bin/firefox
bind = SUPER ALT, G, exec, /usr/bin/google-chrome-stable
bind = SUPER ALT, T, exec, /usr/bin/thunar
bind = SUPER ALT, W, exec, /usr/bin/virt-manager
bind = SUPER, L, exec, swaylock -f -c 000000
bind = SUPER, C, killactive,
bind = SUPER, M, exit,
bind = SUPER SHIFT, E, exit,
bind = SUPER ALT, E, exec, dolphin
bind = SUPER, F, togglefloating,
bind = SUPER, D, exec, wofi --show drun
bind = SUPER, P, pseudo, # dwindle
bind = SUPER, J, togglesplit, # dwindle
bind = SUPER, V, exec, pavucontrol
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
bind = SHIFT, Print, exec, grim -g "$(slurp)" ~/Images/screenshot-`date +%F-%T`.png
# Move focus with mainMod + arrow keys
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9
bind = SUPER, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = SUPER SHIFT, 1, movetoworkspace, 1
bind = SUPER SHIFT, 2, movetoworkspace, 2
bind = SUPER SHIFT, 3, movetoworkspace, 3
bind = SUPER SHIFT, 4, movetoworkspace, 4
bind = SUPER SHIFT, 5, movetoworkspace, 5
bind = SUPER SHIFT, 6, movetoworkspace, 6
bind = SUPER SHIFT, 7, movetoworkspace, 7
bind = SUPER SHIFT, 8, movetoworkspace, 8
bind = SUPER SHIFT, 9, movetoworkspace, 9
bind = SUPER SHIFT, 0, movetoworkspace, 10
# Scroll through existing workspaces with mainMod + scroll
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
#====== autogenerated by hyprtheme ======#
# source = ~/.config/hypr/themes/dist/dist.conf
[bt@swayductor hypr]$
==================================
I have this file sourced at the beginning of the config :
[bt@swayductor hypr]$ cat /usr/local/bin/hyprenv
# 50-systemd-user.conf
# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
# See FS#63021
# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
[bt@swayductor hypr]$
There is nothing very special other than that.
Note that I start hyprland with dbus-run-session. I will send my startup script next message.
Here is my startup script for hyprland
==========================
[bt@swayductor hypr]$ cat /usr/local/bin/hyprstart
#!/bin/sh
cd ~
export XCURSOR_SIZE=24
export EDITOR=/usr/bin/vi
export BROWSER=/usr/bin/firefox
export TERM=/usr/bin/alacritty
export MAIL="/usr/bin/firefox https://mail.google.com"
export QT_QPA_PLATFORMTHEME="qt5ct"
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
# Session
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
# GTK
export MOZ_ENABLE_WAYLAND=1 # only start firefox in wayland mode and no other GTK apps
export MOZ_DBUS_REMOTE=1 # fixes firefox is already running, but is not responding
export GDK_BACKEND=wayland # this can prevent programs from starting (e.g. chromium and electron apps). therefore, this should be set per app instead of globally.
# clutter
export CLUTTER_BACKEND=wayland # this can prevent programs from starting. therefore, this should be set per app instead of globally.
# elementary
export ECORE_EVAS_ENGINE=wayland-egl
export ELM_ENGINE=wayland_egl
export ELM_DISPLAY=wl
export ELM_ACCEL=gl
# java
export _JAVA_AWT_WM_NONREPARENTING=1
export NO_AT_BRIDGE=1
export BEMENU_BACKEND=wayland
# sdl
export SDL_VIDEODRIVER=wayland # this can prevent programs from starting old sdl games. therefore, this should be set per app instead of globally.
export CLUTTER_BACKEND=wayland
# Qt
export QT_QPA_PLATFORM=wayland
export FZF_DEFAULT_OPTS=" \
--color=bg+:-1,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
--color=marker:#f5e0dc,fg+:#a6e3a1,prompt:#cba6f7,hl+:#f38ba8"
export BAT_THEME="catppuccin-mocha"
export MICRO_TRUECOLOR=1
dbus-run-session Hyprland
[bt@swayductor hypr]$
=============================
NB: Starting Hyprland with or without dbus-run-session gives same result for the theming.
ah i see the issue, you havent closed the master
block, and why its thinking everything else is inside master
Indeed I see it too! @PerfMonk can you try closing the block and see if it fixes it!?
What would a good label for this be, not bug since seems not to be hyprtheme related, maybe I make a new one?
Bingo! You pinned it. Everything works now. Sorry for taking so much of your time for this. Let's agree that the error message didn't give much clues to find the real error. Thank you for your "eagle eye" that see everything in bad configs ;=).
I just installed hyprtheme from the git repo, installed the theme aurora and when trying it (hyprtheme apply aurora), it throw an error in the config of dist.conf.
The full message is : Config error at line 42 (/home/bt/config/hypr/themes/dist/dist.conf): Error setting value <0xfff9ee2af> for field:No such field.
I'm running Arch Linux on sway or hyprland. Everything from hyprland is installed from AUR. Do you need more info ? Am I doing something wrong ?
Regards, Bernard