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

Can you document your xmonad keybindings? #3

Open
zanculmarktum opened this issue Dec 10, 2022 · 5 comments
Open

Can you document your xmonad keybindings? #3

zanculmarktum opened this issue Dec 10, 2022 · 5 comments

Comments

@zanculmarktum
Copy link

Or maybe the config.

I'm trying your xmonad config, and mod-shift-a, mod-shift-s, mod-shift-d don't seem to do anything:

[ ((modMask .|. m, k), focusNthScreen i greedy >> up)
    | (i, k) <- zip [0..] [xK_a, xK_s, xK_d]
    , (m, greedy) <- [(0, False), (shiftMask, True)]
]
@liskin
Copy link
Owner

liskin commented Dec 11, 2022

mod-shift-a, mod-shift-s, mod-shift-d don't seem to do anything

When greedy is True, focusNthScreen uses greedyView which focuses the target screen's workspace on the current screen—in other words, swaps the two workspaces. Won't do anything at all unless you have more than one screen (xinerama screen, or xrandr output, a bit confusing terminology, I know).

Can you document your xmonad keybindings?

I never really imagined anyone would try to use the whole thing. It's more of a "if someone asks for something I have, I have a URL to point them to". So no, I don't think I'll be able to find time these days to document my config in more detail. Sorry about that. Feel free to ask questions, though.

@zanculmarktum
Copy link
Author

zanculmarktum commented Dec 12, 2022

What about this code?

primes [n] = [n]
primes ns = [ n ++ [p] | n <- ns | p <- "⠁⠃⠇⡇⡏⡟⡿⣿" ++ ['a'..] ]

I compiled your xmonad and didn't see it anywhere in xmobar.

@liskin
Copy link
Owner

liskin commented Dec 12, 2022

When you tab/group windows together (mod-shift-comma, untab with mod-shift-period), the bottom xmobar will show grouped windows having the same number, but with additional dots:

2022-12-12_09-49

@zanculmarktum
Copy link
Author

Anyway, what are you gonna do about Xmobar?
The new version starting from 0.45 drops its support for Xft font in favor of Cairo/Pango, so the font that you currently use won't work.

@liskin
Copy link
Owner

liskin commented Dec 12, 2022

Well, https://github.com/liskin/dotfiles/blob/home/.fonts/Makefile together with https://github.com/liskin/dotfiles/blob/home/.config/fontconfig/conf.d/70-fixed-otb.conf and system-wide non-disabling of bitmap fonts in fontconfig, makes the Fixed font work just fine in pango. That being said, no doubt the new xmobar will break lots of things, so I'm in no hurry to upgrade. I don't need anything from the new version, and I don't really have a free day/two to fix all the inevitable breakage.

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