Logs: liberachat/#xmonad
| 2021-10-06 12:04:04 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 245 seconds) |
| 2021-10-06 12:10:43 | × | scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving) |
| 2021-10-06 12:17:06 | → | scardinal joins (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
| 2021-10-06 12:40:22 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2021-10-06 13:41:41 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3) |
| 2021-10-06 13:58:06 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-10-06 14:04:37 | × | azg256 quits (~user@78-56-98-5.static.zebra.lt) (Quit: ERC (IRC client for Emacs 27.1)) |
| 2021-10-06 14:08:56 | → | azg256 joins (~user@78-56-98-5.static.zebra.lt) |
| 2021-10-06 14:11:16 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-10-06 14:12:48 | → | cfricke joins (~cfricke@user/cfricke) |
| 2021-10-06 14:45:46 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3) |
| 2021-10-06 14:46:27 | × | azg256 quits (~user@78-56-98-5.static.zebra.lt) (Quit: ERC (IRC client for Emacs 27.1)) |
| 2021-10-06 14:49:26 | → | azg256 joins (~user@78-56-98-5.static.zebra.lt) |
| 2021-10-06 14:51:35 | × | azg256 quits (~user@78-56-98-5.static.zebra.lt) (Client Quit) |
| 2021-10-06 14:53:19 | → | azg256 joins (~user@78-56-98-5.static.zebra.lt) |
| 2021-10-06 14:53:20 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2021-10-06 14:53:20 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 2021-10-06 14:53:24 | allbery_b | is now known as geekosaur |
| 2021-10-06 15:30:48 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2021-10-06 15:49:13 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3) |
| 2021-10-06 15:49:16 | × | wonko quits (~wjc@62.115.229.50) (Ping timeout: 245 seconds) |
| 2021-10-06 16:19:31 | → | bsima joins (~bsima@2604:a880:400:d0::19f1:7001) |
| 2021-10-06 16:48:10 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-10-06 17:05:58 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2021-10-06 17:20:15 | → | Hash joins (~weechat@thestonedapes.com) |
| 2021-10-06 17:24:24 | <FOSSHuman[m]> | Hello everyone, I was messing around with getting the window count for the current workspace, I managed to find a function that does this: |
| 2021-10-06 17:28:12 | <geekosaur> | you want W.integrate then take the length of the resulting list |
| 2021-10-06 17:31:19 | ← | qbt parts (~qbt@user/edun) () |
| 2021-10-06 17:35:50 | <FOSSHuman[m]> | how would I edit the colour of the output??? |
| 2021-10-06 17:36:05 | <FOSSHuman[m]> | s/edit/change/ |
| 2021-10-06 17:38:22 | <geekosaur> | which output? |
| 2021-10-06 17:39:09 | <FOSSHuman[m]> | The output of the function which gets the window count |
| 2021-10-06 17:39:50 | <FOSSHuman[m]> | I am using ppExtras to use this function in XMobar |
| 2021-10-06 17:40:33 | <geekosaur> | then it will depend on what you're outputting it to. so for xmobar you'd use the xmobarColor function |
| 2021-10-06 17:47:50 | <FOSSHuman[m]> | windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset |
| 2021-10-06 17:47:50 | <FOSSHuman[m]> | windowCount' = windowCount . xmobarColor "black" "" |
| 2021-10-06 17:48:28 | <FOSSHuman[m]> | I copied the windowCount function from another config, I tried to make a new function that adds xmobarColor to it, but it says the type is wrong... |
| 2021-10-06 17:48:53 | <FOSSHuman[m]> | Crap, Element's code block acts wierd lol |
| 2021-10-06 17:49:01 | <FOSSHuman[m]> | * ```windowCount |
| 2021-10-06 17:49:01 | <FOSSHuman[m]> | windowCount = gets $ Just . show . length . W.integrate' . W.stack . W.workspace . W.current . windowset |
| 2021-10-06 17:49:01 | <FOSSHuman[m]> | windowCount' = windowCount . xmobarColor "black" "" |
| 2021-10-06 17:49:01 | <FOSSHuman[m]> | ``` |
| 2021-10-06 17:49:24 | <FOSSHuman[m]> | Would I put this in ppExtras somewher??? |
| 2021-10-06 17:49:27 | <FOSSHuman[m]> | s/somewher/somewhere/ |
| 2021-10-06 17:49:35 | <FOSSHuman[m]> | s/Would I put this in ppExtras somewher???/Would I put the xmobarColor function in ppExtras somewhere???/ |
| 2021-10-06 18:40:14 | → | wonko joins (~wjc@62.115.229.50) |
| 2021-10-06 19:12:20 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection) |
| 2021-10-06 19:21:26 | × | Irishluck83 quits (~Irishluck@149.28.126.73) (Ping timeout: 260 seconds) |
| 2021-10-06 19:30:02 | × | Andrew quits (~andrew@user/andrewyu) (Remote host closed the connection) |
| 2021-10-06 19:34:46 | × | byorgey quits (~byorgey@155.138.238.211) (Ping timeout: 252 seconds) |
| 2021-10-06 19:36:26 | → | byorgey joins (~byorgey@155.138.238.211) |
| 2021-10-06 19:40:30 | → | AndrewYu joins (~andrew@user/andrewyu) |
| 2021-10-06 19:46:03 | × | azg256 quits (~user@78-56-98-5.static.zebra.lt) (Quit: ERC (IRC client for Emacs 27.1)) |
| 2021-10-06 20:04:47 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-10-06 20:05:23 | <jakefromstatefar> | Is there a clamping variant of `XMonad.Actions.UpdatePointer`? I mean, upon activation: if mouse is outside window, then move it the least amount necessary to get it in. |
| 2021-10-06 20:05:23 | <jakefromstatefar> | Say the mouse's in the bottom right of the screen, and the action's ran, then move the mouse to the bottom right of the window. |
| 2021-10-06 20:06:26 | <jakefromstatefar> | Currently I have mine set to run on every keybind pressed, and it moves the mouse to the far right edge of the window. |
| 2021-10-06 20:06:37 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-10-06 20:06:52 | <jakefromstatefar> | But, if my mouse was off to the left of the window when it happened, my mouse just jumped really far. That can be inconvenient at times. |
| 2021-10-06 20:08:48 | <liskin> | jakefromstatefar: updatePointer (0.5, 0.5) (1, 1) should move the pointer to the nearest point on the edge of the window; if it does not, it's a bug to be fixed |
| 2021-10-06 20:10:57 | <jakefromstatefar> | That, almost works. |
| 2021-10-06 20:12:07 | <jakefromstatefar> | Turns out, when I hold my mouse on the edge of another window that allows traditional-desktop-style resizing. It does not fire. |
| 2021-10-06 20:12:32 | <jakefromstatefar> | Tested applications as of just now: `element-desktop` and `librewolf` |
| 2021-10-06 20:14:15 | <jakefromstatefar> | Another thing, is there a way to add padding to this? Say, a `0.015%` smaller window bound jump (not for detecting though, that wouldn't make sense) |
| 2021-10-06 20:16:00 | <liskin> | not sure what you mean exactly but have you seen the docs of updatePointer? that should answer the question of whether there is a way to add padding or there is not |
| 2021-10-06 20:21:21 | × | wonko quits (~wjc@62.115.229.50) (Ping timeout: 245 seconds) |
| 2021-10-06 20:21:33 | <jakefromstatefar> | Ah, figured out the padding. That's some weird argument syntax for that though. |
| 2021-10-06 20:21:39 | <jakefromstatefar> | unintuitive... |
| 2021-10-06 20:24:26 | → | terrorjack joins (~terrorjac@static.3.200.12.49.clients.your-server.de) |
| 2021-10-06 20:29:43 | jakefromstatefar | posted a file: (6548KiB) < https://libera.ems.host/_matrix/media/r0/download/jupiterbroadcasting.com/vhyPSJtRiuYOnOodEmXbnLtv/2021-10-06%2014-23-58.mkv > |
| 2021-10-06 20:30:13 | <jakefromstatefar> | See this video for a demonstration of that `updatePointer` bug(?) I'm describing. |
| 2021-10-06 20:41:11 | <jakefromstatefar> | --- |
| 2021-10-06 20:41:12 | <jakefromstatefar> | Also, how close's [this](https://github.com/xmonad/xmonad-contrib/pull/399) (#399) to ready liskin? |
| 2021-10-06 20:41:21 | <geekosaur> | >> unintuitive |
| 2021-10-06 20:41:39 | <geekosaur> | this is why I recently suggested we need better contrib docs |
| 2021-10-06 20:49:19 | <jakefromstatefar> | > <@jakefromstatefarm:jupiterbroadcasting.com> --- |
| 2021-10-06 20:49:19 | <jakefromstatefar> | > Also, how close's [this](https://github.com/xmonad/xmonad-contrib/pull/399) (#399) to ready liskin? |
| 2021-10-06 20:49:19 | <jakefromstatefar> | And, which commit/revision would you recommend I import for personal use. (preferably the most stable, but also containing the most features) |
| 2021-10-06 20:49:21 | <lambdabot> | <hint>:1:5: error: parse error on input ‘,’ |
| 2021-10-06 20:49:21 | <lambdabot> | <hint>:1:1: error: parse error on input ‘<@’ |
| 2021-10-06 20:54:12 | <liskin> | jakefromstatefar: my current plan is to sit down in a cave and rewrite the whole PR from scratch, preferably overnight |
| 2021-10-06 20:54:57 | <liskin> | And I'm hoping to execute that plan this week cause otherwise the other folks are going to release 0.17 without it, and I don't want that :-) |
| 2021-10-06 20:55:15 | <jakefromstatefar> | ah, lambdabot... [if only](https://github.com/lambdabot/lambdabot/issues/201). |
| 2021-10-06 20:55:55 | <liskin> | There are no technical troubles, I was just extremely demotivated to work on it for almost a year :-/ |
| 2021-10-06 20:58:04 | <liskin> | As to what I'd recommend running... If 399 merges and compiles then just do it. I haven't updated xmonad nor contrib for months because I needed a stable setup for other stuff, so it may not be up to date |
| 2021-10-06 20:58:24 | <liskin> | But it'll probably be just fine. |
| 2021-10-06 20:59:24 | <liskin> | The interface will change slightly later as the rewrite is meant to have a friendlier interface than #399 (there was no ExtensibleConf back then) |
| 2021-10-06 20:59:32 | <geekosaur> | Sorry for disappearing on you, FOSSHuman[m]; this is kinda a bad week for me and I'm still waiting for another call today. But if you can pastebin what you have now I can show you what you need to do |
| 2021-10-06 20:59:38 | <geekosaur> | @where paste |
| 2021-10-06 20:59:39 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2021-10-06 21:00:39 | <geekosaur> | (gist.github.com is also fine if you have a github account. pastebin.com sucks massively and we disrecommend it. bpaste.de is also ok) |
| 2021-10-06 21:24:43 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-10-06 21:25:30 | <abhixec> | I have a weird issue where in everytime i start xmonad fresh the xmobar appears for a fraction of second and disappears but when I use mod+q it works fine. Any pointers on how I could go about trying to debug this issue? |
| 2021-10-06 21:28:41 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-10-06 21:29:02 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-10-06 21:37:39 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-10-06 21:37:59 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-10-06 22:08:23 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-10-06 22:27:28 | <jakefromstatefar> | Check the `stdout` & `err` for xmonad. If you're running a login manager, the easiest way (that I know of) to do this would be to switch to a fresh TTY, then run `startx` manually, close xmonad after seeing the issue, and read what's there. |
| 2021-10-06 22:27:58 | <jakefromstatefar> | You could also pipe the output to a file, then read it manually afterward. |
All times are in UTC.