Skip to content

Troubleshoot

ヒヤシンス edited this page Aug 21, 2022 · 11 revisions

Change wallpaper

Desktop Wallpaper

To change the wallpaper go to ~/.config/sweetconfigs-xorg/bin/system/autostart in line 30, there you can see a string called feh --bg-fill -r -z $HOME/.config/sweetconfigs-xorg/wallpapers/stairs.png & change it to $HOME/.config/sweetconfigs-xorg/wallpapers/stairs.png to the path of the new wallpaper

Use other wallpaper engine

If you want to use nitrogen instead of feh you can just remove line 30 from ~/.config/sweetconfigs-xorg/bin/system/autostart and replace it with nitrogen --restore &, same goes for other wallpaper engines

Lockscreen Wallpaper

To change the wallpaper for the lockscreen go to ~/.config/sweetconfigs-xorg/bin/utilities/lockscreen in line 3, there you can see a string called i3lock --fill -i $HOME/.config/sweetconfigs-xorg/wallpapers/cube.png change it to $HOME/.config/sweetconfigs-xorg/wallpapers/cube.png to the path of the new wallpaper

Weather Widget

You need to give your openweather.com api key and id in ~/.config/sweetconfigs-xorg/eww/scripts/weather. The key="" is your openweather api key put the key inside the parenthesis, the id="" is the ID of the city you want to track the weather. (You might have to wait a few minutes or hours in order it to work)

Lag problems

Zscroll

The scrolling feature for the top bars can cause lag to fix it you need to replace it with a static music info

  • Polybar

To replace it go to ~/.config/sweetconfigs-xorg/polybar/module.ini in line 42, there you will see exec = $HOME/.config/sweetconfigs-xorg/bin/bar/status scroll-toggle change it to exec = $HOME/.config/sweetconfigs-xorg/eww/scripts/music title-artist , these should reduce the lag

  • Eww

To replace it go to ~/.config/sweetconfigs-xorg/eww/src/yuck/widgets/top-panel.yuck in line 37, there you will see {music-scroll} change it to {title-artist}

Eww Top Panel

The eww version of the top bar can cause lag also you need to replace it with polybar to reduce the lag

To do that go to ~/.config/sweetconfigs-xorg/bin/system/bar in line 83, there you will see eww -c $HOME/.config/sweetconfigs-xorg/eww open top-panel change it to launch_bar

Compositor

The compositor / picom can also cause lag you need to use the normal backends instead on the experimental one and tweak the config

  • No experimental backends

Go to ~/.config/sweetconfigs-xorg/bin/system/compositor in line 8, there you will see instruction on how to do that

  • Tweak config

To do that go to ~/.config/sweetconfigs-xorg/picom/picom.conf there you can see shadow = true; and fading = true; set them to false that will reduce the lag. You can also use xrender as the backend in line 40 there you will see instruction on how to do it, there's also disabling round corners by setting corner-radius = 20; to 0

Scripts

Scripts can also cause lag if you want you can disable them but some thing might broke so change something at you own risk, the scripts folder is located at ~/.config/sweetconfigs-xorg/bin and ~/.config/sweetconfigs-xorg/eww/scripts

Resolution and Scaling

Widget large / small fonts

  • Font Config

Check this wiki: https://wiki.archlinux.org/title/font_configuration and Man page: https://man.archlinux.org/man/fonts-conf.5 on how to configure the font config but essentially just change the width, size, and spacing

  • Scss Tweaking

You can also tweak the scss of the widget it's located at ~/.config/sweetconfigs-xorg/eww/src/scss, the style.scss contains global variables and colors.scss just contains the colors the thing you want to edit are inside those folder above / bellow those files. You need to edit the font-size , margin, and padding to best suit you resolution, if you don't have knowledge about css there some tutorials on the internet that teaches you about css ex. https://www.w3schools.com/w3css/default.asp, you don't need to learn everything just the basics like change the padding, margin and fonts and the rest is up to you

Music

Polybar

  • Polybar keeps flashing No players found

This happens because your mpd isn't set up right or mpDris2 isn't installed

  • MPD doesn't show

Install mpDris2 and copy the configuration from SweetDots/misc/mpDris2/mpDris2.conf to ~/.config

Top-Panel

  • Music widget doesn't show

Install playerctl and zscroll, and also setup your mpd and install mpDris2

FAQ

  • Will this conflict with my configs?

No and Yes, This won't config with your existing configs in your ~/.config because everything it stored on a folder except for the Window Managers it self they will replace your pre existing config directory you might need to backup them first or if you run the install script they will be automatically backup in your ~/.backups folder

  • Will this be maintain or update?

Yes, Overtime I will add more window managers and will keep on improving some stuff until I make new dotfiles. Plus I haven't even finished the wayland version

  • Why there's no battery stuff in your dotfiles?

Because I don't use battery stuff and my laptop doesn't have a battery, I was planning to add them but I don't know how should that work out so I scrap it