mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
1.14k stars 87 forks source link

[BUG] wal does not initialize cache #447

Closed varandru closed 2 days ago

varandru commented 1 week ago

Describe the bug A lot of things fail to load due to missing css files in .cache/wal

To Reproduce Fresh installation of ml4w-dotfiles. Try to launch "All Keybindings" from the welcome menu.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Distribution (please complete the following information):

Additional context The problem persists for both waybar and any way you could launch rofi. I tried to copy them directly and new errors popped up.

mylinuxforwork commented 1 week ago

@varandru First try to reboot.

Then run ml4w-hyprland-setup again.

If it is still not working: Is the status bar available? If yes please click on the wallpaper icon, or enter waypaper in a terminal, select a wallpaper and try again.

if isn’t working, check if pywal is installed.

Enter wal -h

if not run yay -S python-pywal

mylinuxforwork commented 4 days ago

@varandru Any updates?

varandru commented 4 days ago

Sorry for the late response. The problem is on the work PC, only checked email today.

The problem does persist. wal is installed:

wal -h
Usage: wal [OPTION] -i '/path/to/dir'

Flags:
  -a                      Set terminal background transparency. *Only works in URxvt*
  -c                      Delete all cached colorschemes.
  -f '/path/to/colors'    Load colors directly from a colorscheme file.
  -h                      Display this help page.
  -i '/path/to/dir'       Which image to use.
     '/path/to/img.jpg'
  -n                      Skip setting the wallpaper.
  -o 'script_name'        External script to run after 'wal'.
  -q                      Quiet mode, don't print anything.
  -r                      Reload current colorscheme.
  -t                      Fix artifacts in VTE Terminals. (Termite, xfce4-terminal)
  -x                      Use extended 16-color palette.

I can start waybar manually, but it starts with default settings. The background has been set manually, in waypaper, to the one I prefer. It did not cause the cache to appear, sadly. Now, unless I comment out the path to these files, I can't even start rofi as a launcher: same error. Had to launch it from CLI to get here.

varandru commented 4 days ago

Commenting out the @import "~/.cache/wal/colors-rofi-pywal" line in rofi/config.rasi makes rofi at least operational, although the errors are to be expected: image

varandru commented 4 days ago

Also, this is off-topic: is adventure game studio critical for anything? I currently would love to pull it out of the system.

varandru commented 4 days ago

Some progress achieved: running wal manually (with my wallpaper as the argument) and then running the wallpaper.sh script seems to have achieved some positive results:

  1. I have a bar now. That's nice.
  2. Rofi sees invalid configuration, but at least it starts. That's also nice.
  3. More places scream about ags at me. Unless I'm missing something and a game engine is critical for my desktop to work, I'll try to disable them.
varandru commented 3 days ago

Also, this is off-topic: is adventure game studio critical for anything? I currently would love to pull it out of the system.

Found an answer in another thread, that was a stupid question. In case someone else finds this:

varandru commented 3 days ago

After fighting with the install for two days:

I'm leaving this open for now, but if these problems are known elsewhere, feel free to close this issue. Problems on my end are resolved.

mylinuxforwork commented 2 days ago

@varandru The script installs aylurs-gtk-shell. But the command to execute aylurs-gtk-shell is ags. Please check ags -h

mylinuxforwork commented 2 days ago

@varandru I will close this issue for now. Please reopen if there are still open questions. Or write to this issue.