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

[Issue] Changing wallpaper or changing things from sidebar live config causes loss of styling #452

Closed
NextStep-IM opened this issue May 1, 2024 · 6 comments
Labels
ISSUE General issues

Comments

@NextStep-IM
Copy link

NextStep-IM commented May 1, 2024

  • I have read the Usage and the Troubleshooting pages of the wiki
  • I have made sure that both my config and system packages are up-to-date
  • Linux distro: Arco Linux

The issue

Maybe a duplicate of or similar to #445? I tried to disable transparency from the sidebar live config and immediately lost all styling. I restored the changes and now the styles are back, but I can't use the wallpaper script, can't change the color scheme, and change anything in the live config without losing styles.

Extra Info:

I used update-ags.sh to upgrade from ags version 1.8.0 to 1.8.2 and experienced the same issue. Also the same with AUR version.

Click to expand

Output of pkill ags; ags:

Gjs-Console-Message: 11:59:32.004: [LOG] Styles loaded

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.369: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47fedd58 native@0x626415ed80b0]" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12
Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50
hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.373: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47ff5510 native@0x626415fefae0]" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12
Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50
hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

Output of pkill ags; ags when I try to change color scheme:

Gjs-Console-Message: 11:59:32.004: [LOG] Styles loaded

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.961: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gtk-CRITICAL **: 11:59:32.962: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.369: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47fedd58 native@0x626415ed80b0]" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12
Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50
hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  

(com.github.Aylur.ags:78700): Gjs-Console-WARNING **: 11:59:33.373: Error: can't assign "[object instance wrapper GIName:GdkPixbuf.Pixbuf jsobj@0xaff47ff5510 native@0x626415fefae0]" as icon, it is not a file nor a named icon
set icon@resource:///com/github/Aylur/ags/widgets/icon.js:45:30
_handleParamProp@resource:///com/github/Aylur/ags/widgets/widget.js:124:13
Icon@resource:///com/github/Aylur/ags/widgets/icon.js:25:14
newIcon@resource:///com/github/Aylur/ags/widgets/icon.js:8:12
SysTrayItem@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:8:12
Tray/setup/<@file:///home/samtheradiant/.config/ags/modules/bar/normal/tray.js:25:50
hook/<@resource:///com/github/Aylur/ags/widgets/widget.js:43:25
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
  


(com.github.Aylur.ags:78700): Gjs-Console-CRITICAL **: 12:00:01.132: CSS ERROR: Invalid name of pseudo-class at line 8 in /home/samtheradiant/.cache/ags/user/generated/style.css

(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.534: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.546: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.560: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.570: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.584: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.594: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.603: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.608: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.614: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.619: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.624: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.629: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.634: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.638: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.644: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.648: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.653: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34


(com.github.Aylur.ags:78700): Gjs-CRITICAL **: 12:00:01.658: JS ERROR: TypeError: abbreviation is undefined
isLanguageMatch@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:14:31
HyprlandXkbKeyboardLayout/setup/</lang<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:75
HyprlandXkbKeyboardLayout/setup/<@file:///home/samtheradiant/.config/ags/modules/.commonwidgets/statusicons.js:261:47
hook/id<@resource:///com/github/Aylur/ags/widgets/widget.js:36:21
_onEvent@resource:///com/github/Aylur/ags/service/hyprland.js:302:26
_watchSocket/<@resource:///com/github/Aylur/ags/service/hyprland.js:129:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
@end-4
Copy link
Owner

end-4 commented May 1, 2024

yay -S python-materialyoucolor-git

then enter a when asked to perform clean build

@NextStep-IM
Copy link
Author

yay -S python-materialyoucolor-git

then enter a when asked to perform clean build

That didn't work. Same issue.

@H0mire
Copy link
Contributor

H0mire commented May 1, 2024

I had the same issue. It happens because the template file for the color configuration contains placeholders that are not replaced by the script because of an error. I ran the switchwall.sh script in .config/ags/scripts/color_generation manually and the logs showe me that some packages are missing. After installing those packages it worked again.

@NextStep-IM
Copy link
Author

the logs showe me that some packages are missing

@H0mire Can you tell me what packages those were?

I get this after running switchwall.sh in terminal:


(yad:238168): Gtk-WARNING **: 18:01:04.828: Theme parsing error: gtk.css:95:30: '' is not a valid color name

(yad:238168): Gtk-WARNING **: 18:01:04.828: Theme parsing error: gtk.css:95:44: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.828: Theme parsing error: gtk.css:96:46: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:97:41: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:98:47: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:99:49: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:100:44: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:105:41: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:106:43: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:107:47: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:108:49: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:109:42: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:110:44: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:112:60: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:113:62: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:116:45: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:117:55: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:119:55: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:120:57: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:121:56: Expected a valid selector

(yad:238168): Gtk-WARNING **: 18:01:04.829: Theme parsing error: gtk.css:122:58: Expected a valid selector
Traceback (most recent call last):
  File "/opt/dots-hyprland/.config/ags/scripts/color_generation/generate_colors_material.py", line 131, in <module>
    with open(args.termscheme, 'r') as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/samtheradiant/.config/ags/scripts/templates/terminal/scheme-catppuccin.json'
                                                                                                                                                                        
Error: Undefined variable.
  ╷
5 │ @if $transparent == True {
  │     ^^^^^^^^^^^^
  ╵
  scss/_colors.scss 5:5  @import
  scss/main.scss 9:9     root stylesheet

@H0mire
Copy link
Contributor

H0mire commented May 1, 2024

For me it was gradience-git and materialyoucolor.

Its seems like a json is missing 🤔:

scheme-catppuccin.json

add this file to /home/samtheradiant/.config/ags/scripts/templates/terminal/

As you can see often running a script/software with a Terminal can reveal some errors. 😃

@NextStep-IM
Copy link
Author

add this file to /home/samtheradiant/.config/ags/scripts/templates/terminal/

That fixed it. Thanks a lot, @H0mire!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ISSUE General issues
Projects
None yet
Development

No branches or pull requests

4 participants