Logs: liberachat/#xmonad
| 2021-06-14 17:07:39 | <dminuoso> | (Because rather than finding a build plan that satisfies multiple packages, each installed version leads to more fixed constraints) |
| 2021-06-14 17:08:21 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2021-06-14 17:09:55 | <backleet> | dminuoso: I don't understand most of what you said, way over my head lol, is there reason why there's no practical way to uninstall cabal packages? |
| 2021-06-14 17:09:57 | <dminuoso> | It seems like you upgraded ghc at some point, is that right? |
| 2021-06-14 17:10:15 | <dminuoso> | backleet: because this "global project" is not really its main mode of operation. |
| 2021-06-14 17:10:18 | <backleet> | dminuoso: not explicitly, maybe through distro's package manager (regular updates? rolling release) |
| 2021-06-14 17:10:24 | <dminuoso> | Yeah, it's probably |
| 2021-06-14 17:10:33 | <dminuoso> | Just nuke your cabal store |
| 2021-06-14 17:11:09 | <Solid> | we need to purge every mention of people saying to use `cabal install --lib xmonad` from the web |
| 2021-06-14 17:11:21 | <dminuoso> | +1 |
| 2021-06-14 17:11:30 | <dminuoso> | Or just `cabal install` at all |
| 2021-06-14 17:12:09 | <dminuoso> | backleet: just delete the entirety of your ~/.cabal I say |
| 2021-06-14 17:12:19 | <dminuoso> | That's easier than going through the gory details |
| 2021-06-14 17:12:30 | <dminuoso> | Or should ~/.ghc deleted be too? |
| 2021-06-14 17:12:33 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-06-14 17:12:36 | <dminuoso> | Im not sure. Delete both for good measure. :-) |
| 2021-06-14 17:12:45 | <Solid> | :D |
| 2021-06-14 17:13:16 | <dminuoso> | backleet: ^- I'm not kidding by the way. There's probably a more precise way, but if you want the simple "give me a damn command solution", that's it. |
| 2021-06-14 17:13:23 | <Solid> | backleet: if your distro doesn't package xmonad or you want to install a newer version, I'd recommend installing via a stack project as per the install instructions ( https://github.com/xmonad/xmonad/blob/master/INSTALL.md ) |
| 2021-06-14 17:15:09 | <dminuoso> | backleet: Normally `cabal` is for building projects, so each project would have a `foo.cabal` file declaring its build dependencies. And then you just run `cabal build`, it would automatically grab dependencies for this project in isolation behind the scenes (avoiding dependency hell), there's no way to "install/uninstall" dependencies anymore |
| 2021-06-14 17:15:26 | × | backleet quits (~mm@116.251.216.46) (Ping timeout: 272 seconds) |
| 2021-06-14 17:16:46 | → | backleet joins (~mm@116.251.216.46) |
| 2021-06-14 17:16:58 | <backleet> | I got disconnected dminuoso, did you write anything? |
| 2021-06-14 17:17:02 | <dminuoso> | xmonad is an odd candidate, because it requires this full compilation process. The proper way to fit this together is to have a my-xmonad project with a my-xmonad.cabal file, which declares the dependencies on xmonad, utf8-string and whatever else you want. This approach can be done, but it takes some minor additional work to play nice |
| 2021-06-14 17:17:20 | <dminuoso> | backleet: https://gist.github.com/dminuoso/9ba01b6d0d6722fdfb6a9212a035d861 |
| 2021-06-14 17:18:00 | <Solid> | (there's a channel logger available at https://ircbrowse.tomsmeding.com/browse/lcxmonad ) |
| 2021-06-14 17:18:08 | <dminuoso> | Stack is an alternate solution to all of this, which has the benefit of being documented |
| 2021-06-14 17:18:16 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2021-06-14 17:18:41 | <backleet> | Solid: thanks! |
| 2021-06-14 17:19:23 | <backleet> | dminuoso: hmm, what do you think of the polybar issue? what is the best way to connect it to xmonad? Dbus, log file or ewmh? |
| 2021-06-14 17:19:45 | <dminuoso> | What issue? |
| 2021-06-14 17:20:46 | <backleet> | dminuoso: oh man, I wrote, but I guess it didn't go through since I got disconnected. |
| 2021-06-14 17:20:55 | <backleet> | dminuoso: will try that, thanks! When using Xmonad + polybar will there be difference between │ burp |
| 2021-06-14 17:20:57 | <backleet> | │ | logging workspace+layout data to file then reading it from polybar vs connecting to polybar │ By_JumperX4[m] |
| 2021-06-14 17:20:59 | <backleet> | │ | through DBUS from xmonad code? |
| 2021-06-14 17:21:06 | <backleet> | sorry |
| 2021-06-14 17:21:13 | <dminuoso> | backleet: xmonad and dbus wont work well together out of the box |
| 2021-06-14 17:21:19 | <By_JumperX4[m]> | wat |
| 2021-06-14 17:21:48 | <Solid> | By_JumperX4[m]: accidental highlight :) |
| 2021-06-14 17:21:48 | <dminuoso> | the main loop sleeps on XNextEvent(), so.. |
| 2021-06-14 17:22:08 | <Solid> | dminuoso: there is xmonad-log which enables this |
| 2021-06-14 17:22:16 | <Solid> | many people use it with polybar afaik |
| 2021-06-14 17:22:16 | <dminuoso> | sounds like black magic. |
| 2021-06-14 17:22:33 | <dminuoso> | is xmonad-log a fork with a modified main loop? |
| 2021-06-14 17:22:38 | <Solid> | or xmonad-dbus? I forget |
| 2021-06-14 17:23:05 | <dminuoso> | Ahh, xmonad-log is a standalone solution I see. |
| 2021-06-14 17:23:05 | <Solid> | dminuoso: no it just starts a separate dbus session outside of xmonad |
| 2021-06-14 17:23:10 | <dminuoso> | Solid: Gotcha! |
| 2021-06-14 17:23:17 | <Solid> | you have a whole xmonad.hs to play with, afterall :) |
| 2021-06-14 17:23:28 | <Solid> | ah yes, I think xmonad-dbus is a rewrite of xmonad-log in haskell or something |
| 2021-06-14 17:23:32 | dminuoso | is evil and glues all kinds of things into his xmonad |
| 2021-06-14 17:23:34 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-06-14 17:23:48 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-06-14 17:24:04 | <dminuoso> | I have confidence in GHCs ability to correctly elaborate my programs into core. So I dont mind if it runs yesod. |
| 2021-06-14 17:24:10 | <dminuoso> | </sarcasm> |
| 2021-06-14 17:24:12 | <Solid> | :> |
| 2021-06-14 17:24:38 | <Solid> | backleet: writing to a file via pipes has the same issues that pipes usually have, if it fills up (when polybar stops reading from it) then xmonad could appear to freeze |
| 2021-06-14 17:24:57 | <Solid> | dbus sounds like the more sensible solution, although it requires more setup |
| 2021-06-14 17:25:35 | <Solid> | if polybar could read from X11 properties then that would be even better, as that's very well integrated into xmonad-contrib at this point |
| 2021-06-14 17:27:09 | <dminuoso> | I mean heck, some people use emacs as their window manager. No reason I couldn't run yi directly from my xmonad. |
| 2021-06-14 17:27:35 | <dminuoso> | That sounds evil, and perhaps like a hackathon project for this weekends zurihac |
| 2021-06-14 17:28:14 | × | azg256 quits (~azg256@78-56-98-5.static.zebra.lt) (Quit: leaving) |
| 2021-06-14 17:29:14 | <Solid> | is yi still alive? |
| 2021-06-14 17:29:36 | → | rneese joins (~rneese@2600:6c5c:6a00:c4e3:7a41:5cd5:c96f:2ec2) |
| 2021-06-14 17:29:40 | <backleet> | dminuoso: Solid I found someones code implementing Dbus solution, ewmh works well for workspaces, but will have to output the rest of the data separately (layout mode), logging data to file then reading from polybar with tail -F has speed issues I think? |
| 2021-06-14 17:29:41 | → | azg256 joins (~azg256@78-56-98-5.static.zebra.lt) |
| 2021-06-14 17:30:04 | ← | rneese parts (~rneese@2600:6c5c:6a00:c4e3:7a41:5cd5:c96f:2ec2) () |
| 2021-06-14 17:30:12 | <dminuoso> | tail is extremely efficiently implemented |
| 2021-06-14 17:31:50 | <backleet> | dminuoso: I noticed lag in visuals when logging workspace data to file in older laptop |
| 2021-06-14 17:33:10 | <backleet> | https://github.com/gvolpe/nix-config/blob/master/home/programs/xmonad/config.hs |
| 2021-06-14 17:34:00 | <backleet> | Solid: will using Dbus method make workspaces clickable? |
| 2021-06-14 17:36:13 | <Solid> | backleet: I don't believe it would do that by default |
| 2021-06-14 17:36:24 | <Solid> | though I certainly think you _can_ make them clickable even via dbus |
| 2021-06-14 17:36:57 | <Solid> | at least X.U.ClickableWorkspaces only modifies the PP record (which is something you still have) |
| 2021-06-14 17:37:19 | <Solid> | (I have never used the above module, nor polybar, nor dbus, so no guarantees :)) |
| 2021-06-14 17:40:23 | × | backleet quits (~mm@116.251.216.46) (Ping timeout: 272 seconds) |
| 2021-06-14 17:40:59 | → | backleet joins (~mm@116.251.216.46) |
| 2021-06-14 17:41:10 | <backleet> | thanks Solid dminuoso |
| 2021-06-14 17:45:25 | <backleet> | Solid: do yo use xmobar? is it possible to make elements in it clickable for ex. wifi icon etc. Main reason I'm switching to polybar |
| 2021-06-14 17:45:58 | × | mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 244 seconds) |
| 2021-06-14 17:50:25 | × | backleet quits (~mm@116.251.216.46) (Ping timeout: 244 seconds) |
| 2021-06-14 17:53:25 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Quit: leaving) |
| 2021-06-14 18:07:12 | × | azg256 quits (~azg256@78-56-98-5.static.zebra.lt) (Quit: leaving) |
| 2021-06-14 18:19:30 | <Solid> | ?tell backleet I do use xmobar yes. I don't think what you want is (easily) possible with xmobar, no, so you are probably better off just using polybar |
| 2021-06-14 18:19:30 | <lambdabot> | Consider it noted. |
| 2021-06-14 18:37:44 | × | qbt quits (~edun@user/edun) (Ping timeout: 252 seconds) |
| 2021-06-14 18:51:38 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2021-06-14 18:58:24 | <liskin> | dminuoso: will you be at zurihac? |
| 2021-06-14 18:59:30 | <liskin> | (I still don't know about myself, there's been awfully little information about the hackathon part of it so I may as well just prioritize my vacation instead.) |
| 2021-06-14 19:37:56 | × | mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 272 seconds) |
| 2021-06-14 19:45:36 | <dminuoso> | liskin: As far as current plans go, yes. |
| 2021-06-14 20:28:08 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2021-06-14 20:38:09 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-06-14 21:25:01 | → | a6a45081-2b83 joins (~aditya@27.58.175.254) |
| 2021-06-14 21:43:31 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-06-14 21:46:51 | × | a6a45081-2b83 quits (~aditya@27.58.175.254) (Quit: Konversation terminated!) |
| 2021-06-14 21:51:34 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 272 seconds) |
| 2021-06-14 21:52:15 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-06-14 22:07:50 | × | tremon quits (~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 2021-06-14 22:34:19 | → | benin036 joins (~benin@183.82.176.206) |
All times are in UTC.