Logs: liberachat/#xmonad
| 2022-03-27 15:45:55 | <Ether[m]1> | 0.15 |
| 2022-03-27 15:46:03 | Γ | exordiri quits (~ex@user/exordiri) (Quit: goodbye) |
| 2022-03-27 15:47:18 | <Ether[m]1> | geekosaur: dt runs arch Linux, which means packages are up to date. That cant be! |
| 2022-03-27 15:47:30 | <geekosaur> | and now I'm hitting the missing launcherString (which you defined in ok.hs) |
| 2022-03-27 15:47:43 | <Ether[m]1> | Same error |
| 2022-03-27 15:47:44 | <Ether[m]1> | Yess |
| 2022-03-27 15:48:01 | <Ether[m]1> | geekosaur: What was the line 306 issue? |
| 2022-03-27 15:48:04 | <geekosaur> | Arch, like most other distributions, uses Stackage as its package source |
| 2022-03-27 15:48:17 | <Ether[m]1> | Can you make a PR? |
| 2022-03-27 15:48:34 | <Ether[m]1> | For the line 306? So that it doesn't occur again? |
| 2022-03-27 15:48:46 | <geekosaur> | "magnify" is now defined by a package as well as by your config, so I had to use `Main.magnify` to avoid the collision |
| 2022-03-27 15:49:08 | <Ether[m]1> | Can you make a PR? |
| 2022-03-27 15:49:33 | <geekosaur> | anyway stackage only recently updated to include xmonad 0.17.0 and arch hasn't yet caught up (nor has nix which is also usually pretty quick, but lts-19 is a pretty big change) |
| 2022-03-27 15:50:12 | <Ether[m]1> | So what do you want me to do? |
| 2022-03-27 15:51:11 | <Ether[m]1> | I have no idea how to add Main. To a variable that is; myDefaultLayout (line 305) |
| 2022-03-27 15:51:16 | <Ether[m]1> | geekosaur |
| 2022-03-27 15:51:58 | <geekosaur> | PR filed |
| 2022-03-27 15:52:11 | <Ether[m]1> | Thanks a lot mate! |
| 2022-03-27 15:52:12 | <geekosaur> | github makes me jump through several hoops :) |
| 2022-03-27 15:53:08 | <geekosaur> | still don't know what to do about the other error, pretty sure `launcherString` isn't in 0.15/0.16 and the only place I've seen it is ok.hs |
| 2022-03-27 15:54:36 | <Ether[m]1> | Can i just remove it? |
| 2022-03-27 15:55:07 | <Ether[m]1> | I didn't code it myself it was a fork from a config i mentioned yesterday :( |
| 2022-03-27 15:57:51 | <geekosaur> | if you remove it then you also have to remove the definition of launcherHook, then remove that from manageHook |
| 2022-03-27 15:59:25 | <geekosaur> | also I don't get your error at all, I just get two deprecations now |
| 2022-03-27 16:00:19 | <geekosaur> | I did get a type error which suggests you aren't actually using eventLogHookForPolyBar, and in fact I can't see that actually used anywhere |
| 2022-03-27 16:01:02 | <Ether[m]1> | How do i use it? |
| 2022-03-27 16:01:07 | <Ether[m]1> | Can make a pr? |
| 2022-03-27 16:01:22 | <Ether[m]1> | geekosaur: |
| 2022-03-27 16:02:01 | β | exordiri joins (~ex@user/exordiri) |
| 2022-03-27 16:07:25 | <Ether[m]1> | So, eventloghookforpolybar works in ok.hs in need that in xmonad.hs |
| 2022-03-27 16:07:30 | <Ether[m]1> | Any ideas how? |
| 2022-03-27 16:16:29 | <geekosaur> | see pr |
| 2022-03-27 16:18:53 | <Ether[m]1> | GodDamn you are Good! |
| 2022-03-27 16:19:29 | <Ether[m]1> | Man i wish i could just make the config in lua or C rather than Haskell. |
| 2022-03-27 16:19:48 | <Ether[m]1> | geekosaur: Thanks a lot mate! :) You made my day βΊοΈ |
| 2022-03-27 16:20:01 | <geekosaur> | dunno if there's a window manager like this in lua. There isone in C: dwm |
| 2022-03-27 16:20:17 | <geekosaur> | in fact xmonad started out as dwm redone in haskell |
| 2022-03-27 16:20:49 | <geekosaur> | (there's a lua wm for wayland though: sway) |
| 2022-03-27 16:22:19 | <Ether[m]1> | Oh, noo i love π xmonad. Its simply the best π€£ its just haskell that effs me over |
| 2022-03-27 16:22:39 | <Ether[m]1> | geekosaur: There also awesome wm :) |
| 2022-03-27 16:22:58 | <Ether[m]1> | But xmonad due to functionality π |
| 2022-03-27 16:23:29 | <Ether[m]1> | Once again thanks! Your thes best. <3 |
| 2022-03-27 16:30:48 | Γ | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-03-27 16:31:38 | <Ether[m]1> | Also can you suggest me a few resources for learning haskell :) |
| 2022-03-27 16:32:29 | β | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-03-27 16:44:50 | Γ | aliosablack quits (~chomwitt@2a02:587:dc18:da00:e2ec:eb52:4039:9bfe) (Quit: Leaving) |
| 2022-03-27 17:14:06 | β | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-03-27 17:49:06 | β | chomwitt joins (~chomwitt@2a02:587:dc18:da00:e2ec:eb52:4039:9bfe) |
| 2022-03-27 18:06:06 | Γ | Czernobog quits (~Czernobog@user/czernobog) (Ping timeout: 272 seconds) |
| 2022-03-27 18:39:10 | β | Czernobog joins (~Czernobog@user/czernobog) |
| 2022-03-27 19:29:08 | <Solid[m]> | People tend to suggest things like haskellbook.com, the cis194 thing, or LYAH |
| 2022-03-27 19:29:16 | <Solid[m]> | probably a few more one out there by now |
| 2022-03-27 19:29:23 | <Solid[m]> | depends on how deep you want to go |
| 2022-03-27 19:29:27 | <Solid[m]> | @where cis194 |
| 2022-03-27 19:29:27 | <lambdabot> | https://www.seas.upenn.edu/~cis194/spring13/lectures.html |
| 2022-03-27 21:08:41 | Γ | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-03-27 21:22:09 | β | tremon joins (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) |
| 2022-03-27 22:28:33 | Γ | sagax quits (~sagax_nb@user/sagax) (Quit: Konversation terminated!) |
| 2022-03-27 22:43:21 | Γ | tremon quits (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 2022-03-27 22:53:17 | Γ | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-03-27 22:54:58 | β | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-03-28 00:18:22 | β | mvk joins (~mvk@2607:fea8:5cc3:7e00::7980) |
| 2022-03-28 01:03:19 | Γ | steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 260 seconds) |
| 2022-03-28 02:04:06 | Γ | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds) |
| 2022-03-28 02:14:08 | <abastro[m]> | What is named scratchpad? Never used it but seems like everyone is using it |
| 2022-03-28 02:17:05 | <fizzie> | A scratchpad is a thing where you bind a key to start/show a particular application (maybe most commonly a terminal) if it's not currently on-screen, or hide it away if it is. A named scratchpad is a thing that allows you to have more than one such (by giving them names), so you could have one key for a scratchpad terminal, another for a scratchpad text editor, and so on. |
| 2022-03-28 02:20:02 | <abastro[m]> | Oh, so it creates another workspace? |
| 2022-03-28 02:20:54 | <fizzie> | Well... technically yes, it does create a "NSP" workspace to hold the windows while they're hidden, but that's really just an implementation detail and best hidden under the rug. |
| 2022-03-28 02:21:58 | <abastro[m]> | Hmmm |
| 2022-03-28 02:23:52 | Γ | Natch quits (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se) (Remote host closed the connection) |
| 2022-03-28 02:24:49 | β | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-03-28 02:27:07 | <fizzie> | Normally you filter out the "NSP" workspace from status bars and such, and don't include it in your workspace-switching key bindings. It's just there to provide a place for the windows when they're not shown. The keybinding is used to bring the window to your current workspace when you want to look at it. Commonly it's also floated. |
| 2022-03-28 02:28:43 | <abastro[m]> | NSP windows are supposed to be easily turned on and off right? |
| 2022-03-28 02:29:15 | β | Natch joins (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se) |
| 2022-03-28 02:33:37 | <fizzie> | Okay, here's how it behaves: You press a dedicated key combination, corresponding to a particular configured thing. One of three things happens: 1) If that thing isn't running at all (doesn't have a matching window), it's started. 2) If it is running, but is not on the currently focused workspace, it's brought to it and focused. 3) Otherwise (as in, it's already on the current workspace), it's |
| 2022-03-28 02:33:39 | <fizzie> | hidden away but not closed. |
| 2022-03-28 02:33:41 | <fizzie> | I guess you might describe that as "easily turned on and off" maybe. |
| 2022-03-28 02:36:57 | <abastro[m]> | So you mean, it is practically always on? |
| 2022-03-28 02:36:58 | <abastro[m]> | Hmmm |
| 2022-03-28 02:38:06 | <abastro[m]> | Btw, I've seen ppl using sth like |
| 2022-03-28 02:38:16 | <abastro[m]> | "M-X" for Alt-X I think |
| 2022-03-28 02:38:20 | <abastro[m]> | How does it work? |
| 2022-03-28 02:40:17 | <fizzie> | It's not on before the first time (in a session) you bring it up, but yes, normally the scratchpad window/program isn't actually closed. |
| 2022-03-28 02:40:38 | <abastro[m]> | So anything expensive would rather not be there |
| 2022-03-28 02:41:14 | <abastro[m]> | Btw what happens if the scratchpad app tries to bring itself into focus, like what happens with messenger apps? |
| 2022-03-28 02:43:11 | <fizzie> | "M-x" is something you could give https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-EZConfig.html "additionalKeysP" function to specify a key. The module provides two different ways to specify keys, plain (modifier, key) pairs (for additionalKeys) and "Emacs-style" key specifiers like that (for additionalKeysP). |
| 2022-03-28 02:44:40 | <fizzie> | ("M" isn't always alt, it's whatever is configured as the mod key in the config given to additionalKeysP. A Windows key is a common choice too.) |
| 2022-03-28 02:45:38 | <abastro[m]> | I see, that should be more concise!! |
| 2022-03-28 02:52:33 | <abastro[m]> | What happens if the scratchpad app tries to bring itself into focus? |
| 2022-03-28 03:02:56 | <fizzie> | I haven't used a scratchpad with any such. What happens if it's just on a normal workspace that's not currently on screen? |
| 2022-03-28 03:04:21 | <abastro[m]> | It jumps onto my current workspace. |
| 2022-03-28 03:04:25 | <abastro[m]> | Quite annoying tbh |
| 2022-03-28 03:04:53 | <abastro[m]> | Matrix chat apps knows better to stay at its place, but others... |
| 2022-03-28 03:05:37 | <fizzie> | I would kind of expect that to be the case with the scratchpad too, then. As in, it would just show up, and the next press on the key would hide it again. |
| 2022-03-28 03:07:33 | <abastro[m]> | It would show up at my current workspace? |
| 2022-03-28 03:07:37 | <abastro[m]> | Gah.. |
| 2022-03-28 03:09:44 | <fizzie> | The scratchpad hiding isn't any different from just putting the window into a workspace you're not looking at, so that's what I'd expect. I'm sure there's some workarounds for applications like that though. |
| 2022-03-28 03:13:49 | <abastro[m]> | I see. |
| 2022-03-28 03:13:52 | <fizzie> | In particular, if it works via EWMH, this might be relevant: https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-EwmhDesktops.html#g:5 |
| 2022-03-28 03:14:07 | <fizzie> | "Set (replace) the hook which is invoked when a client sends a _NET_ACTIVE_WINDOW request to activate a window. The default is doFocus which focuses the window immediately, switching workspace if necessary. doAskUrgent is a less intrusive alternative." |
All times are in UTC.