You are not logged in.
Pages: 1
Offline
Copy paste? You need to change this in config.h
/* tagging */
static const char *tags[] = { "Surf", "Term", "Film", "Work", "Read", "Misc" };And recompile, of course.
IT would be:
/* tagging */
static const char *tags[] = { "α", "β"};up to any letter you want.
Last edited by el_koraco (2012-10-10 20:33:15)
Offline
Offline
setxkbmap grAnd then
setxkbmap ukto switch back.
Offline
Then maybe try to find the ASCI codes for the Greek letters?
Offline
Offline
You can print characters in the terminal using printf '\x$asci', where $asci is the number. However, it won't read anything above 99 in my case.
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Github || Deviantart
Offline
/* tagging */
static const char *tags[] = { "α", "β"};
I dont think what you are asking is possible without changing the program, so that it can handle unicode characters.
There are no greek letters in ASCII table, see http://www.asciitable.com/
Changing the program to handle unicode chars seems to me against the goal of dwm to keep it as small and versatile as possible.
hth
Last edited by xaos52 (2012-10-11 13:15:38)
bootinfoscript - emacs primer - I ♥ #!
Offline
against the goal of dwm to keep it as small and versatile as possible.
Isn't that why patches exist? 
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Github || Deviantart
Offline
^ of course. I havent searched for patches that allow the use of unicode text. Maybe they exist already?
I am not a dwm user. Just had a short look at the sources of the debian version, and saw the char declaration. 
bootinfoscript - emacs primer - I ♥ #!
Offline
I had greek letters working as tags in unpatched dwm, so I guess it's the font that makes trouble.
“From each according to his faculties; to each according to his needs”
Look at the code. Look at the silly code!
Offline
This was the font iirc: '-*-fixed-medium-r-semicondensed-*-12-*-*-*-*-*-*-1' Either that or size 13. Here's a screenshot for proof:
“From each according to his faculties; to each according to his needs”
Look at the code. Look at the silly code!
Offline
^No problem, hope you get this working.
“From each according to his faculties; to each according to his needs”
Look at the code. Look at the silly code!
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.