Giter Site home page Giter Site logo

Missing waybar icons about dotfiles HOT 8 CLOSED

lokesh-krishna avatar lokesh-krishna commented on July 17, 2024
Missing waybar icons

from dotfiles.

Comments (8)

lokesh-krishna avatar lokesh-krishna commented on July 17, 2024 1

My bad, that font was used back in Nord v2 but I moved to using Nerd Fonts from Nord v3 onwards.
You can visit the repo and pick a font of your choosing and the icons should work fine.

If you are interested in the same look as in the screenshots with respect to the text in the bar then go for JetBrains Mono but the icons themselves remain the same irrespective of which font you pick.

from dotfiles.

lokesh-krishna avatar lokesh-krishna commented on July 17, 2024 1
{
    "position": "bottom", 
    "height": 30,
    "modules-center": ["sway/workspaces", "network", "pulseaudio", "battery", "custom/date", "clock"],
    // Modules configuration
	"sway/workspaces": {
		"disable-scroll": true,
		"all-outputs": true,
		"format": "{icon}",
	 	"persistent_workspaces": {
	 		"1": [],
	 		"2": [],
	 		"3": [],
	 		"4": [],
	 		"5": [],
	 		"6": [],
	 		"7": [],
	 		"8": [],
	 		"9": [],
	 		"10": []
	},
         	"format-icons": {
             		"1": "一",
             		"2": "二",
             		"3": "三",
             		"4": "四",
             		"5": "五",
             		"6": "六",
             		"7": "七",
             		"8": "八",
             		"9": "九",
             		"10": "零"
         }
     },
	"custom/date": {
    		"format": " {}",
		"interval": 3600,
		"exec": "/home/loki/bin/waybar-date.sh"
	},
	"clock": {
		"format": " {:%H:%M} ",
        	"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
	},
	"battery": {
        	"states": {
            		"warning": 30,
            		"critical": 15,
        	},
        	"format": "{icon} {capacity}%",
        	"format-charging": " {capacity}%",
        	"format-plugged": "{capacity}%",
        	"format-alt": "{icon} {time}",
        	"format-full": " {capacity}%",
        	"format-icons": ["", "", "", "", ""],
	},
	"network": {
        	"format-wifi": "  {essid}",
        	"format-ethernet": " 󰤭 Disconnected",
        	"format-linked": "{ifname} (No IP) ",
        	"format-disconnected": " Disconnected",
		"tooltip-format-wifi": "Signal Strenght: {signalStrength}%",
	},
	"pulseaudio": {
		"on-click": "pactl set-sink-mute 45 toggle",
		"format": "{icon} {volume}%",
        	"format-muted": " Muted",
        	"format-icons": {
            	"headphone": "",
            	"hands-free": "",
            	"headset": "",
            	"phone": "",
            	"portable": "",
            	"car": "",
            	"default": ["󰖀", "󰕾"]
        },
    }
}

Can you test this config? It makes use of just Nerd Font icons and shouldn't have dependencies on any other fonts. I can use all the icons in it even after removing Material Design Icons but would like to confirm before I push this to the repo.

Here is what the bar looks like presently:

grim-2021-08-24-09-21-48

from dotfiles.

SkelyTony avatar SkelyTony commented on July 17, 2024

Hi thank you for your response
image
I have installed Nerd font form aur but waybar still looks like this
image

from dotfiles.

SkelyTony avatar SkelyTony commented on July 17, 2024

image
I removed icons form config it works now but I think it looks better with icons

from dotfiles.

lokesh-krishna avatar lokesh-krishna commented on July 17, 2024

I have installed Nerd font form aur but waybar still looks like this

I can confirm that that's the case for me too when Material Design Icons Desktop isn't installed but can reliably fix it by installing Material Design Icons Desktop. Are you sure that's the exact font you installed and can you confirm that the font is indeed installed by running fc-cache -fv followed by fc-list | grep -i material?

from dotfiles.

pmnlla avatar pmnlla commented on July 17, 2024

heya! the icons on the sakura rice are broken as well. we could only get the volume icon to show up even after installing all of the nerd fonts available, fontawesome and material icons.

from dotfiles.

SkelyTony avatar SkelyTony commented on July 17, 2024

I have installed Nerd font form aur but waybar still looks like this

I can confirm that that's the case for me too when Material Design Icons Desktop isn't installed but can reliably fix it by installing Material Design Icons Desktop. Are you sure that's the exact font you installed and can you confirm that the font is indeed installed by running fc-cache -fv followed by fc-list | grep -i material?

I won't be abile to use my pc for the next few days so I will test it later

from dotfiles.

SkelyTony avatar SkelyTony commented on July 17, 2024

I have installed Nerd font form aur but waybar still looks like this

I can confirm that that's the case for me too when Material Design Icons Desktop isn't installed but can reliably fix it by installing Material Design Icons Desktop. Are you sure that's the exact font you installed and can you confirm that the font is indeed installed by running fc-cache -fv followed by fc-list | grep -i material?

It works now, thank you a lot!

from dotfiles.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.