Closed axelcalixte closed 4 years ago
Your example works for me.. did you set locale in the env where spectrwm is started?
for example in ~/.xinitrc
export LANG=en_US.UTF-8
exec spectrwm
I'm currently using lightdm and not xinitrc to log in. I made sure my LANG setting is set as fr_FR.UTF-8. It is.
Maybe I should try en_US.UTF-8... Oh and I have version 3.3.0-1.4 of spectrwm.
dmenu_run
is probably exiting with an error. Try capturing stderr
to see what it might be, e.g.:
#!/bin/sh
/usr/bin/dmenu_run -fn "Iosevka Term:style=Semibold:size=12" -sb "#5e81ac" -sf "#eceff4" -nb "#2e3440" -nf "#e5e9f0" > ~/dmenu.log 2>&1
Sorry for not answering fast. Your solution didn't bring anything sadly. Running the script alone works in a terminal. When putting it inside the config while replacing the color values and the font name with the variables, I still can't use dmenu with the -fn flag. I didn't try directlt embedding the script in the spectrwm config though.
Thanks again for your time and suggestions.
Did you check ~/dmenu.log
after adding > ~/dmenu.log 2>&1
to your script as in my example? If dmenu has issues loading a font, it will output errors.
@axelcalixte, has this been fixed?
Sorry for not being active around here. I didn't find a fix for my problem, I'd say we can close this since I no longer really user spectrwm anyway on my machines. Maybe if I come back to it in the near future the issue won't be there waiting for me
Thanks for spectrwm I think it should be recommended more but I had some gripes with it still. And sorry I don't care that much talking about them
Hello, I'm having trouble with dmenu_run. I can't have it display a custom font in spectrwm. It works fine as a script on its own. But binding the script to something in spectrwm does absolutely nothing.
Here is my font config
And here is the command in the terminal or script that works
Thanks in advance :)