Home liberachat/#xmonad: Logs Calendar

Logs on 2022-10-01 (liberachat/#xmonad)

00:00:03 <HP-UX> No, fulls screen.
00:00:23 <geekosaur> that doesn't look full screen to me
00:00:26 <HP-UX> each window is fullscreen, on one workspace, but you place windows and nagivate them using grid/coord
00:00:31 <HP-UX> That's what I'm saying
00:00:38 <HP-UX> if you see the video it wil clarify
00:01:16 <HP-UX> that's one workspace, but each window is full screen, but the way you lay them out and navigate them is with arrow keys, using grid/coordinate system like I described
00:01:35 <HP-UX> So that one worksapce, has 5 windows, in that grid like layout
00:01:42 <HP-UX> all fullscreen, all on one WS
00:02:16 <HP-UX> but you specify, that in that workspace, I want firefox to be on top, 0,-1, or I want xterm to be 0,0, under it
00:02:21 <HP-UX> all still one one WS, all fullscreen
00:02:42 <HP-UX> So if you are on 0,0, you go mod + up, and you get to 0,1 etc.
00:02:50 <HP-UX> all still on the same WS, all windows fullscreen
00:03:22 <HP-UX> The way I laid them out usin [] was to showcase fullscreen window navigation lyout, not all windows simultanously tiled.
00:03:22 <geekosaur> then someone else will have to worry about it; I'm not capable of watching the video, as I told you already
00:03:28 <HP-UX> Np
00:03:36 <HP-UX> Does it makes sense what I described?
00:04:08 <geekosaur> you are talking about a layout of workspaces instead of windows? I think someone just submitted something like that
00:04:43 <HP-UX> https://i.imgur.com/xyR7fdZ.png are you able to view an image?
00:04:58 <HP-UX> Each 4x4 box is a workspace in Xmonad, imagine that
00:05:18 <HP-UX> And windows are laid out in a navigationable grid like so, in each workspace, every window fullscreen
00:05:25 <geekosaur> https://github.com/xmonad/xmonad-contrib/pull/755
00:06:11 <HP-UX> And you do mod+3, go to WS 3, then mod + arrow keys to navigate the fullscreen windows on that WS, and have the ability to tell Xmonad, hey, I want this windowClass in this workspace at this location in the grid.
00:06:56 <geekosaur> we don't (and I think can't) support that style of navigation not tied to a Layout (and therefore window positions); the StackSet insists on being linear
00:09:59 <geekosaur> suppose it's possible that a layout could keep such an arrangement internally, but no such currently exists and I would absolutely not be surprised if it ended up having the same failure modes as our floating layer
00:12:05 <HP-UX> Hmm
00:12:47 <HP-UX> So currently we can't tell xmonad how to arrange windows in a layout?
00:12:57 <HP-UX> What does exactlyt he window navigation do then?
00:13:18 <HP-UX> You add window navigation to a layout, as it says, then you can use arrow keys or whatever to navigate the windows on that WS
00:13:23 <HP-UX> So far so good
00:13:23 <geekosaur> \window navigation works from the on-screen rectangles produced by running the layout
00:13:32 <geekosaur> this is not helpful if they're all full screen
00:33:55 <HP-UX> So window navigation doesn't work on full screen windows
00:34:08 <HP-UX> no arrow key movement. Works on tiled mode though
00:35:25 <HP-UX> Does work on other layouts, like accordion and other such, not all.
00:36:03 <HP-UX> So long as all the windows are somehow visible on screen, it can navigate using arrow keys, but not in Full mode
00:36:13 <HP-UX> :(
00:36:16 sogens2 joins (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au)
00:36:47 × sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 268 seconds)
00:37:02 <HP-UX> Still useful in tile mopde, not bad. Cool.
00:37:50 × sogens2 quits (~sogens@pa49-197-49-85.pa.qld.optusnet.com.au) (Client Quit)
00:48:01 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
01:00:23 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
01:15:34 sogens joins (sogens@gateway/vpn/protonvpn/sogens)
01:25:05 × sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
02:03:05 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
02:12:38 sogens joins (sogens@gateway/vpn/protonvpn/sogens)
02:13:00 × td_ quits (~td@94.134.91.160) (Ping timeout: 264 seconds)
02:14:44 td_ joins (~td@94.134.91.190)
02:25:22 × sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6)
02:25:35 banc joins (banc@gateway/vpn/airvpn/banc)
03:09:06 × noex quits (~null@user/noex) (Quit: :q!)
03:24:25 sogens joins (sogens@gateway/vpn/protonvpn/sogens)
03:29:26 × darkstardevx quits (~darkstard@192.183.207.94) (Remote host closed the connection)
03:30:49 darkstardevx joins (~darkstard@192.183.207.94)
03:42:26 × darkstardevx quits (~darkstard@192.183.207.94) (Ping timeout: 260 seconds)
03:52:40 <HP-UX> So when a window in a scratchpad need to do file open/save and other types of dialog boxes, the dialog boxes are the same size as the scratch window dimensions
03:52:47 noex joins (~null@user/noex)
03:53:03 <HP-UX> Is there any way to make those dialog box windows normal size instead of the size of the scratch pad
03:53:55 <HP-UX> https://i.imgur.com/0wzkggW.png here my scratchpad which opens up kate in a midde of the screen
03:54:26 <HP-UX> when I go to edit kate settings, it is the same size as scratchpad dimensions
03:56:28 <HP-UX> I mean, I guess it's not so bad, but it's ... I mean. I dunno. What do you think?
04:02:47 <[Leary]> HP-UX: Presumably the boxes are caught by the scratchpad ManageHook. You might be able to evade the issue by refining e.g. `className =? "kate"` to something like `className =? "kate" <&&> not <$> isDialog <&&> isNothing <$> transientTo`.
05:09:48 <HP-UX> I guess it's nto so bad, actually.
05:10:14 <HP-UX> At least every dialog window is exactly the same size, location, etc. hmm. I actually like it now.
05:39:06 × mvk quits (~mvk@2607:fea8:5ce3:8500::778c) (Ping timeout: 260 seconds)
05:44:11 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds)
06:00:09 Guest79 joins (~Guest79@2001:9e8:29fc:6f00:b897:2daa:c15c:1045)
06:07:56 <Guest79> Hi All, I tried to configure a shortcut starting feh with the directory from the current active terminal. I googled arround a bit and found this:
06:07:57 <Guest79> https://marcinchmiel.com/articles/2017-09/launching-terminal-emulator-in-current-working-directory-in-xmonad/
06:07:57 <Guest79> Looks really close to what I need. But, this article is from 2017 is there something builtIn to xmonad in 2022 that I have overseen?
06:45:07 × Guest79 quits (~Guest79@2001:9e8:29fc:6f00:b897:2daa:c15c:1045) (Quit: Client closed)
08:17:43 ircbrowse_tom joins (~ircbrowse@2a01:4f8:1c1c:9319::1)
08:17:48 Server sets mode +cnt
08:25:29 Guest79 joins (~Guest79@2001:9e8:29fc:6f00:bf2:199c:2a57:3f6f)
08:47:56 × Guest79 quits (~Guest79@2001:9e8:29fc:6f00:bf2:199c:2a57:3f6f) (Ping timeout: 252 seconds)
09:34:54 <HP-UX> Hi, trying to figure out how to do this: I have a workspace, where a single window lives, Fullscreen layout, and I want to bind a key that can toggle going to that workspace and back to previous one
09:43:45 <liskin> oh, first day of hacktoberfest, and someone submits a low effort code of conduct to the xmonad-web repo :-(
09:44:43 <HP-UX> , ("M3-n", windows $ W.greedyView "NSP")
09:44:54 <HP-UX> I can do something like this, and I can GO to the NSP workspace for example
09:45:16 <HP-UX> But when I'm in the NSP workspace, I'd like the same key combination to toggle back to previous workspace
09:45:59 <HP-UX> , ("M-z", toggleWS) --
09:46:15 <HP-UX> But this makes for TWO different key combinations
09:46:34 <HP-UX> Any way to have only just one, that goes to a certain worksapce, and then back to wherever you were
09:47:08 <HP-UX> If I do, M3-n, goes to NSP, then I do M-z, and goes back to whereever it was before it switched to NSP
09:47:13 <HP-UX> Please advise, thanks
09:55:16 chomwitt joins (~chomwitt@2a02:587:dc14:f500:f42c:42aa:75f3:5bbf)
10:31:57 <byorgey> HP-UX: I think you want 'toggleOrView' from XMonad.Actions.CycleWS
10:38:13 <HP-UX> W.toggleOrView not in scope...
10:39:53 <HP-UX> , ("M3-z", windows $ W.toggleOrView "Emacs")
10:40:27 <HP-UX> W.greedyView compiles, np
10:40:44 azg256 joins (~user@78-56-98-5.static.zebra.lt)
10:44:30 <byorgey> HP-UX: it's from the XMonad.Actions.CycleWS module. So at the top you need either just 'import XMonad.Actions.CycleWS', or something like 'import XMonad.Actions.CycleWS (..., toggleOrView)'
10:44:46 <HP-UX> It's already there
10:44:55 <HP-UX> I use toggleWS like I said, from it, and it works.
10:44:56 <fizzie> Then you wouldn't add a `W.` prefix.
10:45:31 <HP-UX> import qualified XMonad.StackSet as W
10:45:37 <HP-UX> here's the W. prefix coming from
10:45:44 <fizzie> Yes, so don't use it with `toggleOrView`.
10:45:52 <HP-UX> import XMonad.Actions.CycleWS here's my line
10:45:56 <fizzie> You said "W.toggleOrView not in scope..."
10:46:03 <HP-UX> I tried both
10:46:08 <HP-UX> no luck on with or without W.
10:46:20 <HP-UX> , ("M3-z", windows $ toggleOrView "Emacs")
10:46:24 <HP-UX> , ("M3-z", windows $ W.toggleOrView "Emacs")
10:46:35 <byorgey> HP-UX: what version of xmonad-contrib do you have installed?
10:46:57 <HP-UX> https://bpa.st/BVAQ
10:47:06 <HP-UX> latest. 0.17 from stack
10:47:10 <fizzie> That's an entirely different error.
10:47:25 <HP-UX> this error is without W.
10:47:32 <HP-UX> 439 | , ("M3-z", windows $ toggleOrView "Emacs")
10:47:34 <HP-UX> see
10:47:38 <fizzie> Yes, and it means you wouldn't put in `windows $` either, likely.
10:47:45 <HP-UX> I see
10:47:59 <HP-UX> Oh I see.
10:48:02 <fizzie> Just ("M3-z", toggleOrView "Emacs").
10:48:08 <HP-UX> Gotcha
10:48:10 <HP-UX> Thanks yoyu
10:48:23 <HP-UX> Oh man that's brilliant.
10:48:30 <HP-UX> About time.
10:48:48 <HP-UX> It's like a scratchpad keyword, but minus the limitations of scratchpad
10:49:00 <HP-UX> Thank you, I am ...I really gotta learn haskell one of them days
10:51:27 <HP-UX> Is it possible to do like emacs style keybindings in Xmonad like "M-x e", toggleOrView "Emacs"
10:52:00 <HP-UX> So I can do like, Mod+x then first letter of some app's name to to there
10:52:54 <fizzie> Yes, I think EZConfig supports that, but internally using XMonad.Actions.Submap where necessary. Never tried it, though.
10:53:00 <fizzie> s/but/by/
10:53:11 <HP-UX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-EZConfig.html well it says that but I hadn't yet been able to figure itout
10:53:56 <HP-UX> Oh I have to do mkkeymap
10:53:58 <HP-UX> I see.
10:54:15 <fizzie> No, I think `additionalKeysP` uses mkKeymap already.
10:54:20 <fizzie> If that's what you're using to add key bindings.
10:54:25 <HP-UX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-EZConfig.html#g:3
10:54:51 <HP-UX> keys = \c -> mkKeymap c $ <- where do I add the keys keymap?
10:54:54 <fizzie> I know that's where it's specified, I'm saying `additionalKeys` will call mkKeymap for you.
10:55:11 <fizzie> "additionalKeysP -- Like additionalKeys, except using short String key descriptors like "M-m" instead of (modMask, xK_m), as described in the documentation for mkKeymap."
10:55:59 <fizzie> So it should just be a matter of adding those to your list. Assuming you're currently calling `additionalKeysP` to add your keys.
10:56:19 <HP-UX> What?
10:56:35 <HP-UX> Yes
10:56:48 <HP-UX> I am already using it, like M3-s, etc.
10:57:10 <HP-UX> I am trying to figure out where to put the keys =
10:57:50 <fizzie> I'm saying just add whatever Emacs-style keybindings to your list. You don't need to use mkKeymap.
10:57:59 <HP-UX> It doesn't work.
10:58:16 <HP-UX> I already tried all of the things, that's why I'm asking here
10:58:33 <HP-UX> I already tried the emacs style keys in additionalkeysp and they do not work
10:58:51 <fizzie> Then it wouldn't work by calling mkKeymap either, because that's exactly what additionalKeysP does. https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/src/XMonad.Util.EZConfig.html#additionalKeysP
10:58:56 <HP-UX> , ("M-x e", toggleOrView "Emacs") < this doesn't work
10:59:12 <HP-UX> What am I donig wrong?
10:59:25 <HP-UX> , ("M3-z", toggleOrView "Emacs") <- this works
11:00:05 <HP-UX> I can get combinations to work, but not sequences
11:00:13 <fizzie> I haven't tried to use the automatically generated submaps, so I don't think I can really advise there. I don't suppose you have something else bound to plain "M-x" or something?
11:00:24 <HP-UX> No I don't think so
11:00:31 <HP-UX> Oh nevermind, I stupidly do
11:00:40 <HP-UX> I thought I didn't, cuz ... sorry
11:02:47 <HP-UX> Ok it works now
11:02:59 <HP-UX> Oh this is a life saver, thank you so much my friendly dude man
11:22:06 <HP-UX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-Minimize.html
11:22:36 <HP-UX> What exactly does min/maximize window do? I don't understand the functionality of it
11:22:55 <HP-UX> where does the minimized window go?
11:28:03 <mekeor[m]> hello. should i start dbus in my .xsession, beside xmonad? if so, how?
11:34:53 <geekosaur> eval $(dbus-launch --sh-syntax --exit-with-session)
11:36:13 <geekosaur> HP-UX: it's unmapped, and you need a keybind to get it back
11:36:44 <geekosaur> (or a desktop panel which will generally show it in brackets or etc. and you can click it to restore it)
11:38:17 <geekosaur> as for `additionalKeysP` and submaps, consider https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L203-L209
11:43:38 <HP-UX> geekosaur: what is this kind of a key binding? how do you do it?
11:43:45 <HP-UX> M-C-cko
11:45:01 <HP-UX> So, for example, to run 'spawn "mpc next"', you would hit mod-a (to trigger the submapping) and then n to run that action. (0 means "no modifier"). You are, of course, free to use any combination of modifiers in the submapping. However, anyModifier will not work, because that is a special value passed to XGrabKey() and not an actual modifier.
11:45:17 <HP-UX> Sorry my English is weak, trying to make sense out of this sentence
11:45:43 <geekosaur> M-C-c, then k, then o
11:46:24 <HP-UX> Oh I see
11:46:32 <geekosaur> and M-C-c is a Submap generated automatically by additionalKeysP
11:46:52 <geekosaur> (as is the following k, but it only has one entry)
11:48:51 <geekosaur> for yours in X.A.Submap, note that each entry in the Submap is (0, key). that's the "no modifier" in this case
12:36:19 × td_ quits (~td@94.134.91.190) (Ping timeout: 252 seconds)
12:40:38 td_ joins (~td@94.134.91.190)
13:05:49 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
13:07:34 × thunderrd quits (~thunderrd@183.182.115.199) (Read error: Connection reset by peer)
14:06:35 azg256 parts (~user@78-56-98-5.static.zebra.lt) (Leaving)
14:37:46 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
14:43:50 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
15:08:32 mvk joins (~mvk@2607:fea8:5ce3:8500::778c)
16:00:10 × azureorange404[m quits (~azureoran@2001:470:69fc:105::2:7589) (Quit: You have been kicked for being idle)
16:21:14 × blaa quits (~bla@83.24.69.6.ipv4.supernova.orange.pl) (Remote host closed the connection)
16:28:59 bla joins (~bla@83.24.69.6.ipv4.supernova.orange.pl)
16:37:54 isaacthekind[m] joins (~isaacthek@2001:470:69fc:105::2:6003)
16:38:40 <isaacthekind[m]> does anybody have a good example of setting up xmonad on nixOS?
16:41:37 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
16:46:12 <geekosaur> HP_UX, if it wasn't clear, `anyModifier` is a special value. But it has no meaning in a keymap, except for the top level keymap (`keys` function or `additionalKeys`, but not submaps as the keyboard's already grabbed)
16:55:13 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving)
16:56:15 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
16:56:24 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
16:57:10 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
16:58:28 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
17:02:56 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
17:03:03 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
17:03:28 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
17:22:43 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: restarting computer, will come back soon)
17:38:13 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
18:42:53 × noex quits (~null@user/noex) (Quit: :q!)
18:56:53 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: Be back in a sec)
18:58:41 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
18:59:58 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
19:01:20 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
21:03:35 × chomwitt quits (~chomwitt@2a02:587:dc14:f500:f42c:42aa:75f3:5bbf) (Remote host closed the connection)
21:21:55 Guest9869 joins (~Guest98@2603-8000-6f00-2842-0000-0000-0000-1673.res6.spectrum.com)
21:22:09 <Guest9869> hit how do i prevent xmobar from growing off screen when applications are open, or too many for the matter
21:23:14 <Guest9869> as in I have it displaying application names when open, but the bar continues to expand to the right if more are opened
21:28:58 × Guest9869 quits (~Guest98@2603-8000-6f00-2842-0000-0000-0000-1673.res6.spectrum.com) (Quit: Client closed)
21:43:25 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving)
21:44:26 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
21:47:03 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Client Quit)
21:47:58 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
22:20:38 Guest9858 joins (~Guest98@172-112-225-143.res.spectrum.com)
23:37:54 noex joins (~null@user/noex)
23:52:36 × steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 264 seconds)
23:56:46 × noex quits (~null@user/noex) (Quit: :q!)

All times are in UTC on 2022-10-01.