siduck / chadwm

Making dwm as beautiful as possible!
MIT License
2.25k stars 169 forks source link

icons not loading #163

Closed nbcservices closed 1 year ago

nbcservices commented 1 year ago

when ever i login none of the bar icons load there is only dwm-6.4 on the left is this an issue with my internet or what else can it be

siduck commented 1 year ago

make sure nerdfonts are installed on system

orhnk commented 1 year ago

when ever i login none of the bar icons load there is only dwm-6.4 on the left is this an issue with my internet or what else can it be

You probably skipped #!/bin/dash which the .sh files scripted in. Install dash

Also make sure You are using Iosevka not Iosevka Nerd Font

Note You can configure default font from here (Don't forget to recompile dwm) Also you can use font-manager application to check whether are you using correct font.

If that doesn't work

Post the output of:

./bar.sh # ~/.config/chadwm/scripts/bar.sh
orhnk commented 1 year ago

[!NOTE] After switching to NixOS, I have faced this issue even though I got the requirements I've listed in the above response. Main problem was doing ./bar.sh would give me no such file or directory error which makes nonsense! Later on I've understood that It wasn't the bar.sh that was missing but /bin/dash thanks to NixOS's superpowers the shebang !#/bin/dash was causing me a missing file error I've fixed this problem explicitly specifying dash to run the script like:

dash ~/.config/chadwm/scripts/bar.sh # shebang ignored