Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tyrannical should not check lowercase by default #49

Open
fishman opened this issue Jan 26, 2015 · 1 comment
Open

tyrannical should not check lowercase by default #49

fishman opened this issue Jan 26, 2015 · 1 comment

Comments

@fishman
Copy link

fishman commented Jan 26, 2015

things like urxvt and xterm use the lowercase name as a custom parameter with the capitalized name being a common denominator.

for example doing the following urxvt -name someName opens a terminal with the classes

someName, URxvt

while the default urxvt classes are

urxvt, URxvt

if you now match urxvt on any of your workspaces it will automatically match someName as well even though the class doesn't exist.

In general this is done so that you can use your xresources in the following manner

URxvt* for all urxvt derivates so urxvt -name htop -e htop would match it as well in there you can set font sizes background colors etc.

urxvt* on the other hand would match urxvt -e htop but not urvxt -name htop in the xresources.

Tyrannical should follow the same convention or at least make it optional

@Elv13
Copy link
Owner

Elv13 commented Jan 27, 2015

Hello,

Tyrannical is currently case insensitive. This is mostly because many users were confused with capital leters and prefered case insensitivness. Tyrannical is a thin layer of logic, less than 300 lines. If you think this can be implemented without adding additional weight to the already quite heavy code, I may consider it. Right now, I think most users prefer case insensitive rules. There is already support for rules based on instances names instrad of class, this may do what you want. Another alternative is just passing with args to spawn awful.util.spawn("urxvt -e myCommand",{sticky=true,new_tag=true}). This will work as long as urxvt is compiled with startup-notification support and Awesome is >=3.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants