Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 865 866 867 868 869 870 871 872 873 874 875 .. 1850
184,992 events total
2022-09-22 22:23:11 <geekosaur> since I only really use local and cbr2
2022-09-22 22:23:54 <QNX> yeah yeah nice
2022-09-22 22:25:35 <QNX> What's this 'crawl' stuff?
2022-09-22 22:25:58 <QNX> Like web crawler on diff sites gathering data?
2022-09-22 22:25:59 <geekosaur> https://crawl.develz.org
2022-09-22 22:26:06 <geekosaur> a dungeon crawler
2022-09-22 22:26:12 <QNX> Oh nice.
2022-09-22 23:09:19 × sagax quits (~sagax_nb@user/sagax) (Excess Flood)
2022-09-22 23:43:35 × chomwitt quits (~chomwitt@2a02:587:dc14:f500:2dfd:13d3:f366:7e03) (Ping timeout: 244 seconds)
2022-09-23 00:04:29 <floweynt[m]> It seems like xmonad isn't setting the properties for xmobar stuff
2022-09-23 00:15:47 <geekosaur> I think you'll need Solid; I don't know enough about that part of xmonad
2022-09-23 00:16:42 <floweynt[m]> Solid?
2022-09-23 00:17:21 <geekosaur> the dev who overhauled the statusbar stuff including dynamicSBs
2022-09-23 01:01:45 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
2022-09-23 01:17:03 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
2022-09-23 01:36:28 benin06 joins (~benin@183.82.204.58)
2022-09-23 01:37:36 × benin0 quits (~benin@183.82.204.58) (Ping timeout: 265 seconds)
2022-09-23 01:37:36 benin06 is now known as benin0
2022-09-23 01:39:50 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-09-23 02:03:42 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 265 seconds)
2022-09-23 02:04:19 × benin0 quits (~benin@183.82.204.58) (Ping timeout: 246 seconds)
2022-09-23 02:07:22 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-09-23 02:11:17 <floweynt[m]> I seem to have fixed the issue, now i am trying to figure out how to make xmonad treat a specific screen as the primary
2022-09-23 02:21:34 × td_ quits (~td@94.134.91.59) (Ping timeout: 265 seconds)
2022-09-23 02:22:57 td_ joins (~td@muedsl-82-207-238-210.citykom.de)
2022-09-23 02:23:46 banc joins (banc@gateway/vpn/airvpn/banc)
2022-09-23 02:26:57 benin0 joins (~benin@183.82.24.8)
2022-09-23 02:43:08 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
2022-09-23 02:45:20 <QNX> How many workspaces can you have in xmonad?
2022-09-23 02:45:26 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
2022-09-23 02:45:50 <QNX> I have currentoly 12, 0-9, and -,=, so 12
2022-09-23 02:46:05 <floweynt[m]> i dont think xmonad cares
2022-09-23 02:46:10 <QNX> Or I never tried dynamic workspaces
2022-09-23 02:46:13 <QNX> you ever tried that
2022-09-23 02:46:30 <floweynt[m]> nope
2022-09-23 02:46:34 <QNX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-DynamicWorkspaces.html
2022-09-23 02:53:55 <floweynt[m]> any sentient haskell people want to tell me how to turn a `A -> X ( B -> C )` into a `X (A -> B -> C`
2022-09-23 02:53:59 <floweynt[m]> * -> C)`
2022-09-23 03:02:04 <Lears> floweynt[m]: The former is stronger; you can only go the other direction. What are you actually trying to do?
2022-09-23 03:03:31 <floweynt[m]> when doing xmobar pretty-print stuff, i would like to do something that depends on the state but `ppCurrent` does not take X (WorkspaceId -> String)
2022-09-23 03:09:34 <Lears> Doesn't look to be possible; `ppCurrent :: WorkspaceId -> String` is a pure function. You can produce that function dynamically utilising IO (or perhaps X), but once produced it's state-independent.
2022-09-23 03:09:48 <Lears> But there might be another way to do what you want, I don't know.
2022-09-23 03:26:55 <QNX> https://bpa.st/GAOA I can't get scratchpad to show up
2022-09-23 03:27:08 <QNX> https://bpa.st/GAOA#1L164 added pad here
2022-09-23 03:27:20 <QNX> https://bpa.st/GAOA#1L252 add manage hook here
2022-09-23 03:27:28 <QNX> https://bpa.st/GAOA#1L376 add keybind here
2022-09-23 03:27:40 <QNX> No errors at all, but when I do my key shortcut, pad doesn't open.
2022-09-23 03:27:45 <QNX> What am I doing wrong?
2022-09-23 03:27:49 <QNX> geekosaur: if you're around
2022-09-23 03:29:29 <Lears> Based on the keybind directly above, you probably want "C-F1" to be "C-<F1>".
2022-09-23 03:34:33 <QNX> Oh
2022-09-23 03:35:03 <QNX> That did it
2022-09-23 03:35:05 <QNX> Thanks
2022-09-23 03:36:00 <QNX> Now xterm opens, but when it's visible, I do the same key again, and it doesn't go back to hidden workspace
2022-09-23 03:38:12 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
2022-09-23 03:39:38 <QNX> it just opens another one instead of sending this back.
2022-09-23 03:39:43 <QNX> Also if I use: NS "term" "xterm" (className =? "xterm") (customFloating $ W.RationalRect (1/6) (1/6) (2/3) (2/3))
2022-09-23 03:40:01 <QNX> It still takes up full screen. DefuaultFloating also takes up full screen.
2022-09-23 03:41:32 <Lears> I don't really know scratchpads, but it sounds like yours is malformed: it knows how to launch a window, but can't recognise it once open. Most likely `className =? "xterm"` isn't right.
2022-09-23 03:43:06 <QNX> Allows to have several floating scratchpads running different applications. Bind a key to namedScratchpadSpawnAction. Pressing it will spawn configured application, or bring it to the current workspace if it already exists. Pressing the key with the application on the current workspace will send it to a hidden workspace called NSP.
2022-09-23 03:43:18 <QNX> So I tried that
2022-09-23 03:43:24 <QNX> , ("C-<F1>", namedScratchpadSpawnAction scratchpads "term")
2022-09-23 03:43:29 <QNX> I get error that not a variable in scope
2022-09-23 03:44:21 <QNX> spawnHereNamedScratchpadAction seems like this
2022-09-23 03:44:40 <Lears> Looks like a documentation bug.
2022-09-23 03:44:53 <QNX> ("C-<F1>", spawnHereNamedScratchpadAction scratchpads "term")
2022-09-23 03:44:55 <Lears> Maybe a holdover from an earlier version.
2022-09-23 03:44:57 <QNX> same thing, not ins cope.
2022-09-23 03:45:07 <QNX> Maybe I'm doing something wrong
2022-09-23 03:46:14 <Lears> You might not be using the same version of xmonad-contrib as the docs you're looking at; that one should exist.
2022-09-23 03:46:21 <QNX> Oh
2022-09-23 03:46:23 <QNX> I'm on .15
2022-09-23 03:46:37 <Lears> In any case, `namedScratchpadAction` was probably fine.
2022-09-23 03:46:57 <Lears> The issue, as I said, is probably in the ManageHook it uses to recognise the window.
2022-09-23 03:47:11 <Lears> You have to check the xprops of your xterm and see what it actually shows.
2022-09-23 03:47:54 <QNX> it's correct prop
2022-09-23 03:48:09 <QNX> xterm
2022-09-23 03:48:12 sagax joins (~sagax_nb@user/sagax)
2022-09-23 03:48:35 <QNX> It just opens a new window each time, of xterm, on C-<F1>
2022-09-23 03:48:42 <QNX> It doesn't send the opened xterm window to hidden WS
2022-09-23 03:48:53 <QNX> It does spawn xterm though.
2022-09-23 03:48:58 <QNX> Not sure what exactly is happening
2022-09-23 03:49:12 <Lears> That only makes sense if the hook doesn't catch the window.
2022-09-23 03:49:28 <QNX> I see
2022-09-23 03:49:38 <Lears> You might need "XTerm"
2022-09-23 03:49:43 <QNX> WM_CLASS(STRING) = "xterm", "XTerm"
2022-09-23 03:49:48 <QNX> Ok
2022-09-23 03:50:11 <QNX> there it does.
2022-09-23 03:50:14 <QNX> there it goes.
2022-09-23 03:50:21 <QNX> So peculiar why classname is case sensitive?
2022-09-23 03:50:23 <QNX> Or what
2022-09-23 03:50:55 <QNX> Means my doShifts won't work either, on lower case classnames. I should have copied the case sensitive one?
2022-09-23 03:51:49 <Lears> It's a bit unfortunate, but that's just how `(=?)` is defined; it needs an exact match. There might be a case insensitive version floating around in contrib somewhere, or you can define your own.
2022-09-23 03:52:35 <Lears> Something like `prop =?? s = prop <&> \p -> toLower p == toLower s`.
2022-09-23 03:55:26 <QNX> No I mean why does xprop report two diff class names
2022-09-23 03:55:36 <QNX> I expected either of them to work
2022-09-23 03:55:45 <QNX> since both were reported by xprop
2022-09-23 03:56:14 <Lears> I can't recall the details, but technically they're different properties or something, not just case variants.
2022-09-23 03:56:35 <QNX> I see.
2022-09-23 03:56:43 <QNX> Thanks man dude homie bro

All times are in UTC.