Logs: liberachat/#xmonad
| 2021-10-09 23:49:02 | <geekosaur> | you can also ask questions in #haskell or #haskell-beginners |
| 2021-10-09 23:49:34 | <geekosaur> | and you can play with Haskell expressions in lambdabot in those channels or here |
| 2021-10-10 00:01:00 | <abhixec> | thanks! |
| 2021-10-10 00:38:27 | × | syntactic_sugar quits (~amoljha@2601:644:8601:2e30::822c) (Quit: WeeChat 3.1) |
| 2021-10-10 02:02:24 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 245 seconds) |
| 2021-10-10 02:20:51 | tremon | is now known as tremon_ |
| 2021-10-10 02:22:33 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-10-10 02:51:40 | × | rarelyafk quits (~minty@pool-173-61-191-195.cmdnnj.fios.verizon.net) (Ping timeout: 252 seconds) |
| 2021-10-10 02:53:34 | × | td_ quits (~td@muedsl-82-207-238-244.citykom.de) (Ping timeout: 260 seconds) |
| 2021-10-10 02:55:01 | → | td_ joins (~td@muedsl-82-207-238-022.citykom.de) |
| 2021-10-10 04:33:42 | → | syntactic_sugar joins (~amoljha@2601:644:8601:2e30::822c) |
| 2021-10-10 04:35:05 | × | syntactic_sugar quits (~amoljha@2601:644:8601:2e30::822c) (Client Quit) |
| 2021-10-10 05:33:14 | × | thunderrd quits (~thunderrd@183.182.110.52) (Ping timeout: 245 seconds) |
| 2021-10-10 05:51:42 | <electr0n> | abhixec: https://blog.realogs.in/a-more-practical-beginning-to-haskell/ |
| 2021-10-10 06:16:27 | → | qbt joins (~qbt@user/edun) |
| 2021-10-10 06:34:21 | → | wonko joins (~wjc@62.115.229.50) |
| 2021-10-10 08:05:03 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2021-10-10 08:17:36 | × | wonko quits (~wjc@62.115.229.50) (Ping timeout: 245 seconds) |
| 2021-10-10 08:17:37 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 2021-10-10 08:17:37 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2021-10-10 08:17:40 | allbery_b | is now known as geekosaur |
| 2021-10-10 08:20:10 | → | wonko joins (~wjc@62.115.229.50) |
| 2021-10-10 08:46:50 | × | wonko quits (~wjc@62.115.229.50) (Ping timeout: 260 seconds) |
| 2021-10-10 09:17:06 | × | humky quits (~humky@user/humky) (Quit: Leaving) |
| 2021-10-10 09:18:25 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-10-10 09:26:41 | → | Elis21F joins (~KELEBEK@188.119.54.133) |
| 2021-10-10 09:29:50 | × | jmct_ quits (sid160793@5.254.36.57) (Read error: Connection reset by peer) |
| 2021-10-10 09:29:56 | × | Elis21F quits (~KELEBEK@188.119.54.133) (Quit: � Www.Kelebek.Org Mutlaka Download Edin! Kelebek Final irc.kelebek.org �y wToprak �) |
| 2021-10-10 09:30:06 | × | Nahra quits (~user@static.161.95.99.88.clients.your-server.de) (Ping timeout: 245 seconds) |
| 2021-10-10 09:33:37 | → | jmct_ joins (sid160793@id-160793.tinside.irccloud.com) |
| 2021-10-10 09:34:21 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds) |
| 2021-10-10 10:34:38 | × | jmct_ quits (sid160793@id-160793.tinside.irccloud.com) (Ping timeout: 260 seconds) |
| 2021-10-10 10:39:50 | → | jmct_ joins (sid160793@tinside.irccloud.com) |
| 2021-10-10 11:00:41 | → | humky joins (~humky@user/humky) |
| 2021-10-10 11:02:40 | → | rarelyafk joins (~minty@pool-173-61-191-195.cmdnnj.fios.verizon.net) |
| 2021-10-10 12:32:10 | × | lazycat quits (~lazycat@user/lazycat) (Quit: ZNC - https://znc.in) |
| 2021-10-10 12:34:31 | → | lazycat joins (~lazycat@user/lazycat) |
| 2021-10-10 14:18:41 | → | azg256 joins (~user@78-56-98-5.static.zebra.lt) |
| 2021-10-10 15:33:14 | → | themc47 joins (~mc47@xmonad/TheMC47) |
| 2021-10-10 15:35:37 | × | mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 252 seconds) |
| 2021-10-10 16:36:09 | <rarelyafk> | i asked a few days ago, does anyone have a good solution for alt+tab behavior *between* workspaces, in other words, always goint to the most recently focused window in the stack |
| 2021-10-10 16:51:14 | → | wonko joins (~wjc@62.115.229.50) |
| 2021-10-10 17:01:58 | × | rarelyafk quits (~minty@pool-173-61-191-195.cmdnnj.fios.verizon.net) (Ping timeout: 252 seconds) |
| 2021-10-10 17:11:45 | <themc47> | isn't there a contrib module that does that? |
| 2021-10-10 17:16:40 | <geekosaur> | there's a contrib that goes between workspaces (not windows in workspaces) and one which goes between windows on the current wokspace |
| 2021-10-10 17:16:56 | <geekosaur> | I think one could be built fairly easily but there isn't one yet |
| 2021-10-10 17:50:24 | <FOSSHuman[m]> | Hey guys, been messing around with the new git version of XMonad and XMonad-Contrib in a VM, and I love it, so much more things are possible with the new loggers etc.. But I have one question, how would I make the logTitles logger which is in ppExtras respond to a click?? I want to make it so that when I click on it with the left mouse button, it will switch to the unfocused window?? Would I use some sort of escape? |
| 2021-10-10 17:51:37 | <geekosaur> | that depends on what you're logging it to |
| 2021-10-10 17:51:52 | <FOSSHuman[m]> | XMobar |
| 2021-10-10 17:52:06 | <FOSSHuman[m]> | Using X properties, not StDinreader |
| 2021-10-10 17:52:23 | <FOSSHuman[m]> | Would I use xmobarAction ? |
| 2021-10-10 17:52:26 | <geekosaur> | if you're sending it to xmobar there's an escape you can use to specify a command to run; that command would presumably be wmctrl |
| 2021-10-10 17:52:30 | <geekosaur> | yes |
| 2021-10-10 17:52:44 | <FOSSHuman[m]> | Oh k nice |
| 2021-10-10 17:53:11 | <geekosaur> | you might also need to modify the logger to capture the window ID so you can send it to wmctrl; you coyuld specify it by the title but it'll be somewhat unreliable |
| 2021-10-10 17:56:14 | <liskin> | for a specific example of a clickable window titles, see https://github.com/liskin/dotfiles/blob/b89803e15b5e384b7586551c6b8657b0861ceda8/.xmonad/XMonad/Util/My.hs#L142 and https://github.com/liskin/dotfiles/blob/b89803e15b5e384b7586551c6b8657b0861ceda8/.xmonad/xmonad.hs#L397 |
| 2021-10-10 17:57:18 | <abhixec> | electr0n: Thanks will check that out! I got PIH(Graham Hutton) and reading it now :) |
| 2021-10-10 17:57:37 | <FOSSHuman[m]> | liskin: nice, thank you I will look at these aswell |
| 2021-10-10 18:26:32 | × | benin03693230163 quits (~benin@183.82.30.186) (Ping timeout: 265 seconds) |
| 2021-10-10 18:27:26 | × | azg256 quits (~user@78-56-98-5.static.zebra.lt) (Quit: ERC (IRC client for Emacs 27.1)) |
| 2021-10-10 18:29:17 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-10-10 18:29:36 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-10-10 19:07:24 | → | Nahra joins (~user@static.161.95.99.88.clients.your-server.de) |
| 2021-10-10 19:16:55 | <jakefromstatefar> | What type should I set my layoutHook to? I'm trying to do `layoutHook = foldr1 (|||) $ [layouts here] <> [layouts here] <> [layouts here]`, but it keeps giving me a wall of different type mismatchings... |
| 2021-10-10 19:17:19 | <geekosaur> | yeh, types are really difficult for layoutHooks |
| 2021-10-10 19:17:39 | <jakefromstatefar> | Is there any solution though? |
| 2021-10-10 19:17:43 | <geekosaur> | LayoutClass l => l Window |
| 2021-10-10 19:17:47 | <geekosaur> | may work |
| 2021-10-10 19:17:49 | <jakefromstatefar> | Not giving it one doesn't work in this case |
| 2021-10-10 19:18:14 | <geekosaur> | but depending on what's going on it may not be specific enough and then you can't use e.g. foldr1 at all |
| 2021-10-10 19:18:51 | <jakefromstatefar> | Is there any mapping function that would work here? |
| 2021-10-10 19:19:00 | <geekosaur> | not really |
| 2021-10-10 19:19:22 | <geekosaur> | there are too many existential games being played behind the scenes with layoutHooks |
| 2021-10-10 19:19:38 | <jakefromstatefar> | ack |
| 2021-10-10 19:21:37 | <jakefromstatefar> | Also, that type didn't work: `Expecting one more argument to 'LayoutClass l' Expected a constraint, but 'LayoutClass l' has kind '* -> Constraint' • In the type signature: 'af :: [LayoutClass l => l Window]'` |
| 2021-10-10 19:21:56 | <jakefromstatefar> | Did the []'s break it? |
| 2021-10-10 19:23:30 | <geekosaur> | hm |
| 2021-10-10 19:23:45 | <geekosaur> | the [] will break it later but I thought I remembered how that worked, sorry |
| 2021-10-10 19:24:05 | <jakefromstatefar> | I'll try converting it to a chain with `|||`, rather than a list, then maybe it'll work |
| 2021-10-10 19:26:41 | <geekosaur> | LayoutClass l a => l Window, maybe |
| 2021-10-10 19:26:56 | <geekosaur> | but again you can't use that in a list, so it doesn't really matter |
| 2021-10-10 19:27:10 | <geekosaur> | you'd have to wrap it in a newtype but thne that'd break everything else |
| 2021-10-10 19:33:16 | × | terrorjack quits (~terrorjac@static.3.200.12.49.clients.your-server.de) (Quit: The Lounge - https://thelounge.chat) |
| 2021-10-10 19:35:40 | → | terrorjack joins (~terrorjac@static.3.200.12.49.clients.your-server.de) |
| 2021-10-10 19:39:36 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-10-10 19:44:44 | × | qbt quits (~qbt@user/edun) (Quit: Leaving.) |
| 2021-10-10 19:45:21 | <jakefromstatefar> | Now I'm getting an error: `Data constructor not in scope: Dwindle` `Perhaps you want to add Dwindle to the import list in the import of 'XMonad.Layout.Dwindle'` |
| 2021-10-10 19:45:41 | <jakefromstatefar> | Funny thing is, my import of that module is: `import XMonad.Layout.Dwindle (Dwindle, Chirality(CW))` |
| 2021-10-10 19:46:06 | <jakefromstatefar> | I have two other imports behaving this way. |
| 2021-10-10 19:46:08 | <jakefromstatefar> | Why? |
| 2021-10-10 19:46:29 | <geekosaur> | because you only imported the type constructor |
| 2021-10-10 19:46:34 | <geekosaur> | try Dwindle(..) |
| 2021-10-10 19:46:55 | <jakefromstatefar> | Ahh.. Thanks. |
| 2021-10-10 19:47:09 | <geekosaur> | or Dwindle(Dwindle) if you only want the onbe and not all three |
| 2021-10-10 19:51:22 | × | wonko quits (~wjc@62.115.229.50) (Ping timeout: 252 seconds) |
| 2021-10-10 19:52:33 | <jakefromstatefar> | OK, well now that all the import problems are gone, there's this type issue: [error](https://p.bsd-unix.net/view/c62d6eb2) [file](https://p.bsd-unix.net/view/7aca2b94). |
| 2021-10-10 19:52:48 | <jakefromstatefar> | Adding that type you gave me gave the same error |
| 2021-10-10 19:53:35 | <jakefromstatefar> | there're two links, just realized how unclear that is... |
| 2021-10-10 19:53:38 | <geekosaur> | right, I was afraid that would happen. I think you can't really get away with anything but full types, which will prevent you from making a list of them |
| 2021-10-10 19:53:51 | <geekosaur> | yeh, I understood the links |
All times are in UTC.