-
Notifications
You must be signed in to change notification settings - Fork 225
Firsts steps after installing
There are several things you could do when you first install my dotfiles. But I think the main one is to verify that the environment variables are correct so that the polybar modules display or work correctly.
The modules that take advantage of this data are the network module, battery module and the brightness module.
These variables are:
- Network Interface
- Graphics Card
- Battery and Adapter
If you don't have a laptop the only you should care about is the network interface.
You should know that only the first time you run my configuration, the function to "autoconfigure" these values will be executed. It will not run anymore, neither when you switch between themes, nor when you restart bspwm, nor when you restart or shut down your computer.
And it's a big and consumer world, we all have different hardware, so it could fail to get this data correctly.
To verify that the values are correct, open the file HOME/.config/bspwm/scripts/system.ini
There, as shown in the image, is a list of commands that you must execute in your terminal to obtain your correct data. If you don't have a laptop, and you don't need battery info or graphs, just leave them as they are or leave them in blank.
You only have to make these changes here, and it will be reflected in all the polybars of all the themes.
TIP: You can add another variable for example "sys_network_interface2 = wl.."
And add one more network module to polybar with the second variable, in the case that your setup has wifi and ethernet and you want to show the two interfaces in your polybar
NCMPCPP |
---|
Eww Widget | Dunst notification |
---|---|
If you have music on your computer and plan to use the "NCMPCPP" music player shift + alt + k
You will need to edit 3 files so that your song data can be read and get the album image.
Change ~/Music for the directory you have your songs. Must be the same on the 3 files.
- HOME/.config/mpd/mpd.conf
music_directory "~/Music"
- HOME/.config/ncmpcpp/config
mpd_music_dir = ~/Music
- HOME/.config/bspwm/scripts/MediaControl
mpddir=~/Music
*Note If your mp3 file does not have the complete or correct metadata, it may not have a cover image, so a fallback image will be displayed. I download songs from spotify and always are fine.