Home freenode/#xmonad: Logs Calendar

Logs on 2021-01-22 (freenode/#xmonad)

00:04:26 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds)
00:11:42 × notis quits (~notis@185.51.134.222) (Ping timeout: 246 seconds)
00:23:02 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 260 seconds)
00:26:33 × meck quits (~meck@li1809-18.members.linode.com) (Ping timeout: 260 seconds)
00:27:33 gazler__ joins (~gazler@2001:8b0:b165:a8d2:1553:5c63:3022:700e)
00:30:02 × gazler_ quits (~gazler@2001:8b0:b165:a8d2:1553:5c63:3022:700e) (Ping timeout: 264 seconds)
00:36:16 Rockj joins (~rockj@2001:67c:550:feed::1)
00:41:36 × hexo quits (~hexo@gateway/tor-sasl/hexo) (*.net *.split)
00:48:38 × kw quits (88388c02@136.56.140.2) (Quit: Connection closed)
00:56:48 meck joins (~meck@li1809-18.members.linode.com)
01:03:14 hexo joins (~hexo@gateway/tor-sasl/hexo)
01:17:18 adhouse joins (~user@2603-7000-3e40-324c-f8fd-c366-e546-c755.res6.spectrum.com)
01:28:43 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 272 seconds)
01:44:40 materiyolo joins (~materiyol@112.204.170.198)
01:48:14 gazler joins (~gazler@109.123.118.68)
01:48:35 × gazler__ quits (~gazler@2001:8b0:b165:a8d2:1553:5c63:3022:700e) (Read error: Connection reset by peer)
01:53:24 Rockj joins (~rockj@2001:67c:550:feed::1)
02:07:26 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 268 seconds)
02:07:58 × materiyolo quits (~materiyol@112.204.170.198) (Quit: WeeChat 2.9)
02:08:21 hexo joins (~hexo@gateway/tor-sasl/hexo)
02:41:04 × adhouse quits (~user@2603-7000-3e40-324c-f8fd-c366-e546-c755.res6.spectrum.com) (Remote host closed the connection)
03:06:22 × davemq quits (~davemq@2600:1700:b1c0:2580::4d8) (Ping timeout: 260 seconds)
03:07:54 davemq joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net)
03:35:24 × theDon quits (~td@muedsl-82-207-238-142.citykom.de) (Ping timeout: 246 seconds)
03:37:20 theDon joins (~td@94.134.91.103)
04:02:53 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection)
04:03:12 hexo joins (~hexo@gateway/tor-sasl/hexo)
05:22:27 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
06:01:50 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 264 seconds)
06:24:59 palo1 joins (~weechat@c-base/crew/palo)
06:25:58 ADG1089__ joins (~aditya@122.163.160.223)
06:28:23 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 272 seconds)
06:28:24 palo1 is now known as palo
06:33:36 engblom joins (~foo@unaffiliated/engblom)
06:36:46 <engblom> Does something similar as doShift exist but instead of just shifting the workspace it would also shift to the next display?
06:38:41 Rockj joins (~rockj@2001:67c:550:feed::1)
08:16:22 thunderrd joins (~thunderrd@183.182.115.7)
08:24:25 <Solid> engblom: what would the "next" display be?
08:28:20 <engblom> Solid: In this case the situation is that a customer wants to have two info screens connected to one computer. Content will be displayed by a script that calls on feh. With the --title argument it is possible to set the title of the feh window so that the title is either "screen1" or "screen2", which makes it possible to create xmonad hooks. Now I want the feh window to appear on the right screen
08:28:26 <engblom> depending on the title.
08:28:58 <Solid> ah I see
08:29:30 nkuld4 joins (~nkuld4@2600:1008:b12c:396:c302:6e30:f76a:5e9e)
08:30:36 × wz1000 quits (~wz1000@static.11.113.47.78.clients.your-server.de) (Ping timeout: 256 seconds)
08:32:29 <Solid> engblom: not tested: http://ix.io/2MS7
08:32:31 <engblom> So in this case I do not need any other layouts than fullscreen and also I do not need more workspaces than 1 on each screen
08:33:28 <engblom> Solid: So how would the hook look like?
08:33:43 <engblom> Solid: The same as for doShift?
08:34:50 <Solid> engblom: Instead of a WorkspaceId you'd give it a ScreenId (meaning like doShiftScreen (S 1)), but other than that yes
08:36:09 <engblom> Thanks! I am still waiting for the computers to come so I can test it, but this looks promising
09:00:24 × thunderrd quits (~thunderrd@183.182.115.7) (Remote host closed the connection)
09:01:28 thunderrd joins (~thunderrd@183.182.115.7)
09:14:07 × moyamo[m] quits (moyamomatr@gateway/shell/matrix.org/x-pfzrhwtkrxjohobw) (*.net *.split)
09:14:08 × PotatoHatsue quits (berbermanp@gateway/shell/matrix.org/x-ucdydkolvsetyqeh) (*.net *.split)
09:14:08 × joshproehl quits (quassel@tools.daedalusdreams.com) (*.net *.split)
09:14:08 × deepy quits (deepy@wrongplanet/deepa) (*.net *.split)
09:15:04 moyamo[m] joins (moyamomatr@gateway/shell/matrix.org/x-pfzrhwtkrxjohobw)
09:15:04 PotatoHatsue joins (berbermanp@gateway/shell/matrix.org/x-ucdydkolvsetyqeh)
09:15:04 joshproehl joins (quassel@tools.daedalusdreams.com)
09:16:00 deepy joins (deepy@wrongplanet/deepa)
09:17:52 × moyamo[m] quits (moyamomatr@gateway/shell/matrix.org/x-pfzrhwtkrxjohobw) (Ping timeout: 242 seconds)
09:18:37 × PotatoHatsue quits (berbermanp@gateway/shell/matrix.org/x-ucdydkolvsetyqeh) (Ping timeout: 258 seconds)
09:20:09 × nkuld4 quits (~nkuld4@2600:1008:b12c:396:c302:6e30:f76a:5e9e) (Read error: Connection reset by peer)
09:20:56 × By_JumperX4[m] quits (byjumperx4@gateway/shell/matrix.org/x-tbdgezodmdufdmeg) (Ping timeout: 240 seconds)
09:20:56 × psamim quits (samimpmatr@gateway/shell/matrix.org/x-xavqfqwexdgthira) (Ping timeout: 240 seconds)
09:21:16 × psibi[m] quits (psibimatri@gateway/shell/matrix.org/x-xwoeskqjhzzppdnp) (Ping timeout: 260 seconds)
09:21:26 × rednaZ[m] quits (r3dnazmatr@gateway/shell/matrix.org/x-jmjfsvkbdjyewneq) (Ping timeout: 240 seconds)
09:21:33 × chimay[m] quits (chimaymatr@gateway/shell/matrix.org/x-cohzbdrfkdijcisb) (Ping timeout: 246 seconds)
09:22:02 × noIOBeforeBedtim quits (dissatisfi@gateway/shell/matrix.org/x-vbixyrrshivnbxeu) (Ping timeout: 268 seconds)
09:22:02 × Half-Shot quits (half-shoth@gateway/shell/matrix.org/x-brkgvpwcuojedbxh) (Ping timeout: 268 seconds)
09:22:27 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 272 seconds)
09:31:01 <dminuoso> Not really xmonad related, but perhaps other people have the same problem. Im using thunderbird as a mail client, but that one has no systray icon, so I dont know when there's unread mails.
09:31:05 mc47 joins (~yecinem@89.246.239.190)
09:31:47 notis joins (~notis@185.51.134.222)
09:37:17 <Solid> xmobar has a mail plugin that crawls the mail directory via inotify
09:37:22 <Solid> I'm sure this exists for other bars as well
09:37:29 <mc47> Following yesterday's discussion on systrays, apparently there's a hack for xmobar where you put a transparent xpm icon behind the systray, and have it dynamically adjust if the systray grows
09:37:29 <mc47> https://github.com/jaor/xmobar/issues/239#issuecomment-233206552
09:38:55 <Solid> ?tell ttmx Apparently there's a hack for xmobar where you put a transparent xpm icon behind the systray, and have it dynamically adjust if the systray grows: https://github.com/jaor/xmobar/issues/239#issuecomment-233206552
09:38:55 <lambdabot> Consider it noted.
09:39:15 <mc47> thanks Solid :-) I was just googling how to use tell
09:39:22 <Solid> :)
09:39:25 <Solid> No problem
09:45:45 <Solid> I doubt they will ever rejoin though
09:45:55 <Solid> They seemed pretty happy with just switching back to i3
09:46:09 <mc47> hahahah I noticed that too
09:49:07 wz1000 joins (~wz1000@static.11.113.47.78.clients.your-server.de)
09:55:45 cfricke joins (~cfricke@unaffiliated/cfricke)
09:57:38 × cfricke quits (~cfricke@unaffiliated/cfricke) (Client Quit)
09:57:57 Rockj joins (~rockj@2001:67c:550:feed::1)
09:58:17 cfricke joins (~cfricke@unaffiliated/cfricke)
10:08:03 rednaZ[m] joins (r3dnazmatr@gateway/shell/matrix.org/x-phvyuxujkxdmssod)
10:09:59 thc202 joins (~thc202@unaffiliated/thc202)
10:16:03 × ADG1089__ quits (~aditya@122.163.160.223) (Remote host closed the connection)
10:18:11 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 244 seconds)
10:18:54 ADG1089__ joins (~aditya@122.163.160.223)
10:22:19 × cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 244 seconds)
10:24:41 By_JumperX4[m] joins (byjumperx4@gateway/shell/matrix.org/x-dpzubbvlcwyuacok)
10:24:41 PotatoHatsue joins (berbermanp@gateway/shell/matrix.org/x-fvttsecbqgzsopxp)
10:24:41 Half-Shot joins (half-shoth@gateway/shell/matrix.org/x-xxamfmlidqghomao)
10:24:41 chimay[m] joins (chimaymatr@gateway/shell/matrix.org/x-dyvwcduxqdmaixqr)
10:24:41 noIOBeforeBedtim joins (dissatisfi@gateway/shell/matrix.org/x-zarxiibjozmlgdxf)
10:24:41 psamim joins (samimpmatr@gateway/shell/matrix.org/x-dcguiotzlrxgzihw)
10:24:47 moyamo[m] joins (moyamomatr@gateway/shell/matrix.org/x-foyrllndrdukgpan)
10:24:47 psibi[m] joins (psibimatri@gateway/shell/matrix.org/x-hhblfenjzuovrnkl)
10:31:13 × ADG1089__ quits (~aditya@122.163.160.223) (Remote host closed the connection)
10:33:59 ADG1089__ joins (~aditya@122.163.160.223)
10:54:35 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
11:00:38 × ericsagnes quits (~ericsagne@2405:6580:0:5100:956:5b56:4aff:9c50) (Ping timeout: 264 seconds)
11:11:11 Rockj joins (~rockj@2001:67c:550:feed::1)
11:12:56 ericsagnes joins (~ericsagne@2405:6580:0:5100:eb5d:4ebe:3c0:e5b5)
11:18:12 × novas0x2a quits (~blah@157-131-125-210.fiber.dynamic.sonic.net) (Quit: Leaving.)
11:41:04 mc47 joins (~yecinem@89.246.239.190)
11:52:32 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 260 seconds)
12:25:27 Rockj joins (~rockj@2001:67c:550:feed::1)
12:41:59 × ADG1089__ quits (~aditya@122.163.160.223) (Remote host closed the connection)
12:45:16 <coldpress> mc47: great hack, quite a few people integrated it into their configs, too
12:49:14 <mc47> coldpress it's a smart one! I found it yesterday in a youtube video
12:49:58 <mc47> All the talking about systrays made me want to implement one in Haskell as a part of XMobar... we'll see if I ever find time for that
12:58:50 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 264 seconds)
13:08:54 <coldpress> it would definitely pull xmobar up to the level of other bars
13:14:39 geekosaur joins (82650c7c@130.101.12.124)
13:59:45 ADG1089__ joins (~aditya@122.163.160.223)
14:17:50 × ADG1089__ quits (~aditya@122.163.160.223) (Remote host closed the connection)
14:43:50 × geekosaur quits (82650c7c@130.101.12.124) (Quit: Connection closed)
15:17:17 ADG1089__ joins (~aditya@122.163.160.223)
15:17:55 ttmx joins (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
15:18:01 <ttmx> I am back here, going to give xmonad another try xD
15:22:50 × averell quits (~averell@unaffiliated/averell) (Remote host closed the connection)
15:23:44 Rockj joins (~rockj@2001:67c:550:feed::1)
15:26:04 averell joins (~averell@unaffiliated/averell)
15:27:05 <Solid> :)
15:27:17 <Solid> ttmx: I hope you got the link from lambdabot
15:27:54 <ttmx> I did!
15:27:58 <ttmx> I'm looking at it
15:28:03 <ttmx> I also installed the git version
15:28:13 <ttmx> Since by my understanding you said that fixed the .config issue?
15:28:19 <ttmx> And that seems to have in fact fixed it
15:30:52 <Solid> yes we're now handling that properly
15:32:46 <ttmx> Any idea when the stable version will come out?
15:33:19 <Solid> xmonad-contrib 0.17 should come out *soon* and the plan is to have another xmonad release alongside it
15:33:26 <Solid> so *soon* as well :)
15:34:23 <ttmx> Right, I also had to install xmonad-contrib-git
15:34:28 <ttmx> Else they wouldn't play nice together
15:34:46 <ttmx> God I love the AUR. I would have 100% quit if it wasn't as easy to install as a single command.
15:34:49 <Solid> Yeah that XDG change required some changes to contrib
15:36:09 <ttmx> Right, are you one of the contributors?
15:39:09 <Solid> Yes
15:40:29 <ttmx> So uh, were any of the imbedded tray ideas considered? Or is that still out of scope?
15:41:27 <ttmx> Meanwhile I'll try the post you sent me through lambdabot
15:41:38 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
15:41:46 <Solid> Well this is sort of entirely out of scope for xmonad since it doesn't even have a status bar
15:41:56 <Solid> It's more the sort of thing that xmobar may integrate at some point
15:43:13 <ttmx> Right, I thought there was some sort of connection between xmobar and xmonad?
15:43:24 <ttmx> Like there is between i3 and i3bar I think is the name?
15:44:19 <Solid> Well the connection is that a lot of xmonad users use xmobar and so there's some overlap between the people working on both projects
15:44:33 <Solid> But it's nothing official or anything like that; xmobar's lead dev uses exwm, for example
15:46:54 <ttmx> Oh, I had no idea. I'm very new to xmonad related stuff.
15:51:47 <ttmx> Also, kinda unrelated, I currently have 2 x sessions running
15:52:01 <ttmx> Is there any way to pass a window between them
15:52:02 <ttmx> ?
15:54:11 <Liskni_si> Not unless that window is GIMP :-)
15:55:40 <Liskni_si> there's https://en.wikipedia.org/wiki/Xmove and https://en.wikipedia.org/wiki/Xpra and possibly more, but I think all this stuff is somewhat hacky and probably will not work really well
15:56:06 <ttmx> Oh :(
15:56:29 <Liskni_si> (GIMP can connect to multiple X servers and move its windows between them, because 20 years ago that was how you'd do dualhead, and the feature is still there.)
15:56:39 <ttmx> Well, brb then, gonna close this and open in xmonad.
15:56:46 <ttmx> I see yep
15:56:52 <ttmx> Not from my time.
15:57:05 <ttmx> Well, actually if it was exactly 20 years ago then it was from my time.
15:57:20 <ttmx> 2000 kid yo
15:57:21 <Liskni_si> I used that feature like 17 years ago
15:57:24 <ttmx> brb
15:57:28 × ttmx quits (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed)
15:57:53 <Solid> I love the age gap in here sometimes
15:57:59 <Solid> so many different perspectives :)
15:58:03 <Liskni_si> :-)
15:58:30 <Liskni_si> I still feel like an inexperienced kid though
15:58:44 ttmx joins (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
15:59:05 <Liskni_si> I guess until the more experienced folks that I know start dying or something, I'll still feel like that :-)
15:59:32 <Solid> Hah that's totally okay, you seem like a wizard to me =)
15:59:40 <ttmx> How old are you if I may ask?
16:00:31 <Liskni_si> 33 I think
16:01:05 <Solid> >I think
16:01:10 <Solid> so I'm not the only one with that problem :D
16:02:20 <Liskni_si> well once you get out of school and out of dating and, with the raging pandemic, out of meeting the extended family and, well, people in general, there's absolutely nothing that keeps that number fresh in the brain
16:02:57 <ttmx> I'm currently 20
16:03:06 <mc47> I get my birthday wrong sometime
16:03:08 <ttmx> Covid has been messing up social life considerably.
16:03:42 <ttmx> I was never one to go to parties and whatnot, but my uni friends are just so insanely fun at them that I started liking going aswell, and now I miss it.
16:03:44 <ttmx> A lot.
16:04:18 <Solid> Yes spending essentially my last year of uni completely online has been messing me up a bit as well
16:04:44 <ttmx> I'm pretty okay regardless.
16:05:15 <ttmx> My mental is really strong I think. Its really hard to bring me down.
16:05:21 <Solid> Hopefully I get accepted into that phd program and I don't have to also start looking for jobs online :P
16:05:32 <ttmx> But instead of being very happy like I was in uni with friends, I'm just moderately okay happy.
16:05:54 <Liskni_si> Yeah the whole thing is especially unfair to uni students. Uni is only partly about the education, the real value comes from building a network and detaching from parents, and none of that really works now. :-/
16:06:23 <Solid> indeed
16:06:37 <ttmx> Best years of my life they said.
16:06:43 <mc47> It's been rough... I've been living in 12 squared meters, working, studying, eating...
16:06:51 <ttmx> I mean, first year of uni was in fact the best year of my life I'd say
16:06:54 <mc47> I had so many things planned ahead for the past year
16:07:08 <Solid> It's much worse for the people starting uni though
16:07:11 <ttmx> But since second year I'm at home isolated.
16:07:18 <Solid> at least I've already made friends that I can try to stay in touch with
16:07:27 <Solid> But them? Really wouldn't want to be in that position
16:07:36 <ttmx> Yep, I agree. I'm really glad it didn't start in my first year of uni.
16:08:11 <Liskni_si> On the other hand if the world never gets back to normal, they'll have gotten a headstart we'll all envy them :-)
16:08:15 <ttmx> I've been trying to help out freshmen as much as I can to meet other freshmen, me and some friends organize some online events and such, but its in no way a proper replacement.
16:09:22 <ttmx> On less depressing news, how would I get Discord per example to always spawn in a certain workspace?
16:13:49 <mc47> add something lik className =? "discord" --> doShift (workspaceAt 8) in your manage hook
16:14:35 <mc47> it would change to that workspace though, not sure how you'd send it there without changing the active workspace
16:15:10 <Liskni_si> (speaking of looking for jobs online, I was just about to apply (online) for unemployment benefits so I can continue having fun doing open source for another 5 months :-))
16:19:14 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 264 seconds)
16:19:43 cfricke joins (~cfricke@unaffiliated/cfricke)
16:19:45 <ttmx> Oh, but I don't want to "follow" discord.
16:20:15 <ttmx> I'd want something like this from i3 but in xmonadassign [instance="discord"] workspace $ws10
16:20:24 <ttmx> Woops, forgot the newline
16:21:24 <Solid> doShift doesn't change to that workspace
16:21:33 <Solid> it just shifts the window to it
16:22:28 <mc47> I thought so, but it does somehow
16:24:40 <Solid> no, no it definitely doesn't :D
16:24:54 <mc47> ttmx replace the "workspaceAt 8" with your workspace
16:24:59 <Solid> that may be the application somehow forcing focus
16:25:03 <Solid> there's an atom for that afaik
16:25:11 <Solid> Liskni_si: living the life I see :)
16:25:37 <Liskni_si> Solid: yeah :-)
16:25:58 <mc47> Solid, so discord must be doing someting weird
16:26:20 <Liskni_si> a year ago I thought let's take a month off to finish some side projects
16:26:29 <Liskni_si> still not even halfway through
16:26:52 <Solid> mc47: I would imagine so; I've had some troubles with electron apps stealing focus in the past (signal, in my case), but they seem to have sorted it out
16:27:24 <Liskni_si> (but it's not just that there's a lot of it, it's mostly me having trouble with focus and executive function and that kind of stuff)
16:28:11 <Liskni_si> I was also considering just going back to uni, but I'm not sure if it's worth it, especially now :-)
16:29:07 <Solid> yeah now may not be the ideal time
16:29:11 <Liskni_si> anyway, this stealing focus stuff reminds me of #396 and #399
16:30:09 <Solid> in fact, it may be the ideal time to take an extended sabbatical
16:31:27 <Liskni_si> not the "get a steel bicycle and ride around the planet" kind of sabbatical :-/
16:32:03 <Solid> well the "let's work on awesome free software project" kind of sabbatical can be just as fun :>
16:32:04 <mc47> Solid I doubt discord will do anything about it, I'll see if I can find a hack
16:35:45 <Liskni_si> mc47: if it's really about stealing focus, definitely do take a look at #192, #396 and #399
16:35:53 <ttmx> Yep, discord calls for focus on launch for some reason.
16:36:47 <ttmx> If I disable the "focus_on_window_activation focus" on i3 then it stops dragging me to its workspace
16:37:44 <Solid> oh so it really is related to #396
16:37:46 <Solid> interesting
16:49:40 Rockj joins (~rockj@2001:67c:550:feed::1)
16:53:36 <ttmx> ALSO, random thing
16:53:55 <ttmx> I seem to be getting duplicated error messages when I press my recompile and reload keybind?
16:54:21 <ttmx> Also, workspaceAt is not in scope :(
16:55:25 <mc47> ttmx yeah, it's a function I wrote. Just do (workspaces !! n)
16:55:41 <ttmx> AH righ
16:55:58 <mc47> or myWorkspaces or whatever it is
16:56:02 <ttmx> epic gamer haskell array index
16:56:52 <mc47> hahaha, I kinda want 0 to be mapped to myWorkspaces !! 10 and n to myWorkspaces !! (n - 1)
16:57:22 <ttmx> Hmm, that doesn't seem to be detecting spotify HM
16:57:35 <ttmx> OH WAIT
16:57:37 <ttmx> DID I
16:57:50 <ttmx> I wonder if I just got _arrays start at zero'd_
16:58:02 <ttmx> No I didn't. okay good
16:58:47 <ttmx> Huh, this looks correct...WM_CLASS(STRING) = "spotify", "Spotify"
17:00:58 <ttmx> Huh, spotify seems to be dying with this, no idea what is happening
17:01:18 <ttmx> Its really not liking existing wtf
17:01:50 <ttmx> It does nothing when I click it?
17:06:27 <ttmx> Right, discord seems to work though!
17:07:04 <ttmx> And now to removing the border when windows are alone, how would I do that?
17:07:33 <mc47> Does it change the workspace too?
17:07:46 <ttmx> Discord does not change the workspace
17:08:10 <ttmx> You probably have focus on windows asking for focus enabled
17:08:15 <mc47> Take a look at smartBorders
17:09:18 <ttmx> Right, you guys have discord. Any chance anyone feels like voice calling? I have too many questions and too little time xD
17:10:52 geekosaur joins (82650c7c@130.101.12.124)
17:13:06 <ttmx> Does this look good?
17:13:18 <ttmx> myLayout = smartBorders(avoidStruts( tiled ||| Mirror tiled ||| Full)) It seems to work, but if feels weird to have these many parenthesis
17:13:33 <ttmx> Wasn't there a way to use $ for this or something?
17:13:38 <geekosaur> discord is a browser window, browsers like to grab focus
17:13:38 <mc47> yes, there is
17:13:52 <ttmx> Browsers only grab focus if you let them.
17:14:00 <mc47> smartBorders . avoidStruts $ tiled ||| Mirror tiled ||| Full
17:14:07 <ttmx> Is it this? myLayout = smartBorders $ avoidStruts( tiled ||| Mirror tiled ||| Full)
17:14:11 <geekosaur> this is why the hack to disable the focus change message in ewmh
17:14:17 <ttmx> Mine also worked it seems.
17:14:43 <ttmx> Whats that "." in yours mc47?
17:15:29 <mc47> geekosaur but somehow it's still managing to steal the focus in my setup
17:15:44 <mc47> ttmx it's the good-old function composition!
17:15:54 <ttmx> Isn't that $ ?
17:16:12 <geekosaur> $ is just low precedence application to save parens
17:16:18 <geekosaur> composition is something else
17:16:20 <mc47> Not quite, $ changes the precedence
17:16:52 × Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 260 seconds)
17:18:26 <geekosaur> anyway re spotify in a manageHook, that doesn't work because it's also a browser window and doesn't set its title/class until it renders, which is too late. need XMonad.Hooks.DynamicProperty
17:18:49 seschwar joins (~seschwar@unaffiliated/seschwar)
17:19:24 <geekosaur> browsers kinda suck… but they're more or less what the web forces them to be.
17:19:43 <ttmx> Well, but it works for discord xD
17:20:22 <ttmx> I have a love hate relationship with browsers tbh
17:21:10 <geekosaur> discord may force the issue. spotify is known not to
17:21:21 <geekosaur> this question comes up every couple weeks
17:22:29 <geekosaur> every so often I consider using ManageDebug to see what the window initially claims to be, but I don't use spotify so I don't care enough and my machine is overloaded as it is
17:23:52 <geekosaur> and I more than half expect it to come up with some 32 digit hex string that changes with every version
17:24:01 <ttmx> Right
17:24:13 × ADG1089__ quits (~aditya@122.163.160.223) (Remote host closed the connection)
17:24:17 <ttmx> It werks on i3, because I have a special lib that I use on spoopify
17:24:33 <ttmx> This is my spotify launch command
17:24:35 <ttmx> LD_PRELOAD=/usr/lib/libcurl.so.3:/home/tiago/Documents/src/spotifywm/spotifywm.so /opt/spotify/spotify
17:24:39 ADG1089__ joins (~aditya@122.163.160.223)
17:25:00 <ttmx> So it should fix that issue? Since it does it on i3?
17:25:21 <geekosaur> oh, fascinating. I bet that spotifywm.so does fix it
17:25:37 × evanjs quits (~evanjs@075-129-098-007.res.spectrum.com) (Read error: Connection reset by peer)
17:25:52 <ttmx> Huh
17:26:04 <ttmx> I got it to work with a higher case S in "spotify"
17:26:05 <ttmx> Nice!
17:28:32 evanjs joins (~evanjs@075-129-098-007.res.spectrum.com)
17:36:34 <ttmx> Aand another question
17:37:06 <ttmx> Is there a way to have a "SpawnOnce" that kills the process when xmonad restarts, and then starts it again?
17:38:24 <mc47> spawnPipe should do that
17:38:43 <mc47> or just spawn
17:38:43 <geekosaur> only if the other side is reading from the pipe
17:38:50 <mc47> yeah right :)
17:39:00 <geekosaur> because what "kills"" the process is its stdin returning EOF on read
17:39:38 <ttmx> Will "spawn" not try to spawn a new one every time it restarts and not kill the last one?
17:39:56 <mc47> yes my bad, I was distracted xD
17:40:46 <mc47> ttmx is there a pipe?
17:40:50 <ttmx> Noppes.
17:40:53 <ttmx> Its just the systray
17:40:55 <mc47> alright
17:41:50 <mc47> there is `spawnStatusBarAndRemember` in DynamicLog, that we're using for status bars, but you could spawn a systray with it
17:42:23 <ttmx> Would this be cool? spawnStatusBarAndRemember "trayer"
17:43:05 <mc47> it comes with `cleanupStatusBars` that cleans the processes from the previous session
17:43:31 <mc47> so it'll be something like cleanupStatusBars >> spawnStatusBarAndRemember "trayer"
17:44:03 <mc47> what yould you need to restart a systray though ? ttmx
17:44:21 <mc47> (it'll only work if you're using the git version of xmonad-contrib)
17:45:15 <ttmx> I'm just modifying it
17:45:26 <ttmx> so updates on refresh are nice
17:46:53 <ttmx> Uhh, what is the >> ?
17:47:22 <geekosaur> it chains actions together
17:47:53 <ttmx> That seems to work!
17:47:59 <mc47> It's what happens under the hood when you write `do ... ' (>> and >>=)
17:48:30 <geekosaur> @redo cleanupStatusBars >> spawnStatusBarAndRemember "trayer"
17:48:30 <lambdabot> Maybe you meant: undo todo do
17:48:45 <geekosaur> @do cleanupStatusBars >> spawnStatusBarAndRemember "trayer"
17:48:45 <lambdabot> do { cleanupStatusBars; spawnStatusBarAndRemember "trayer"}
17:51:25 <ttmx> Aaaand what about gaps? How would I get that to werk?
17:53:32 <mc47> Between the windows?
17:54:35 <mc47> XMonad.Layout.Spacing should have what you want
18:00:19 <ttmx> Between the windows yes!
18:00:35 <ttmx> Right, I wanna be able to toggle the spacing, how would I do that?
18:04:44 <mc47> you could add the function `toggleWindowSpacingEnabled` to a keybinding
18:05:02 <ttmx> Hmm, and what would I add to the layout part?
18:06:08 <mc47> You'd just combine it like you did with toggleStruts and the other stuff
18:07:11 <mc47> spacingRaw False (Border 0 0 0 0) True (Border 10 10 10 10) True . smartBorders . avoidStruts $ tiled ||| Mirror tiled ||| Full
18:08:01 <mc47> I forgot why I had that exact combination in spacingRaw, but the documentation for the module is pretty good, so you'll probably find what fits your needs
18:09:10 <ttmx> Right, what are those parameters?
18:09:18 <ttmx> I wanna try to copy my i3's spacing xD
18:09:31 <ttmx> Which is just this
18:09:33 <ttmx> gaps inner 15
18:09:33 <ttmx> gaps outer 15
18:12:22 <mc47> spacingRaw False (Border 0 0 0 0) True (Border 10 10 10 10) True . gaps [(U, 10), (R, 10), (L, 10), (D, 10)] . ....
18:12:35 <mc47> you'd also need to import XMonad.Layout.Gaps
18:13:07 <mc47> I forgot about the parameters exactly, but that combination made it work for me (and I wanted the same as you)
18:13:11 <mc47> ofc replace 10 with 15
18:17:37 <ttmx> Uhh I'm not sure what I did, but gaps don't seem to be changing?
18:17:41 <ttmx> Whenever I change the config?
18:18:15 <mc47> what do you mean?
18:18:31 <ttmx> Its almost as if its not recompiling?
18:18:35 <ttmx> But it doesnt spit out an error
18:18:49 Rockj joins (~rockj@2001:67c:550:feed::1)
18:18:53 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 272 seconds)
18:18:57 <Liskni_si> you may need to mod-space to reset the layout
18:19:28 <Liskni_si> when you only change the constants, but not the type of the layout, xmonad will keep the old layout after restart
18:19:33 <geekosaur> mod-shift-space
18:19:45 <geekosaur> mod-space switches to the next layout
18:19:52 <Liskni_si> (when the type changes, e.g. when adding modifiers, xmonad is unable to restore the layout, so it's forced to reset to default)
18:19:57 <Liskni_si> geekosaur: oh, right, indeed
18:21:42 <ttmx> That makes sense geekosaur, thank you
18:22:54 <geekosaur> and the reason it restores the layout is things like the divider between the master and slave areas, number of master windows, etc. that can be changed dynamically (and for that matter whether your spacing is enabled or not)
18:23:50 <geekosaur> you usually want that to survive a mod-q, so it tries to restore the layout on restart and only resets it if the new layout has the wrong type
18:32:53 <Liskni_si> and most importantly the state of Choose/NewSelect, so that your Full workspaces don't become Tall
18:45:55 novas0x2a joins (~blah@157-131-126-102.fiber.dynamic.sonic.net)
18:46:24 <ttmx> Uhhh
18:46:31 <ttmx> myLayout = spacingRaw True (Border 0 0 0 0) True (Border 15 15 15 15) True . gaps [(U, 15), (R, 15), (L, 15), (D, 15)] . smartBorders . avoidStruts $ tiled ||| Mirror tiled ||| Full
18:47:12 <ttmx> , ((modm .|. shiftMask, xK_t ), toggleWindowSpacingEnabled) This doesnt seem to toggle spacing :(
18:48:07 <mc47> Where are you adding `((modm .|. shiftMask, xK_t ), toggleWindowSpacingEnabled)`?
18:48:13 <mc47> euuh
18:48:24 <mc47> yes, you'd also need to toggle the gaps
18:49:04 <mc47> toggleWindowSpacingEnabled >> sendMessage ToggleGaps
18:49:37 <mc47> I also came to xmonad from i3, and found myself doing the same things as you :D
18:49:44 <ttmx> This? , ((modm .|. shiftMask, xK_t ), toggleWindowSpacingEnabled >> sendMessage ToggleGaps)
18:49:49 <ttmx> :D
18:50:02 <mc47> yes like that, that would go with the rest of the keybindings
18:50:10 <ttmx> Well... That doesn't work :(
18:50:21 <mc47> What happens exactly?
18:51:42 <ttmx> Uh
18:51:45 <ttmx> Nothing really
18:51:53 <ttmx> Borders just flash when I press that keybind
18:51:58 <ttmx> There are no compilation errors either
18:52:11 <ttmx> It flashes as if I unselected the window
18:52:18 <ttmx> unfocused*
18:52:37 <mc47> that shouldn't happen
18:52:43 <mc47> can you show me the config?
18:56:46 <ttmx> Yep!
18:57:21 <ttmx> https://termbin.com/t7lg
18:59:16 <mc47> Nothing seems wrong.. I have no idea
19:00:02 <ttmx> :(
19:00:08 <ttmx> Waiiiittt
19:00:10 <ttmx> possible idea
19:00:38 <ttmx> jk, no idea
19:00:48 <ttmx> I thought it could be sxhkd grabbing the key but its not
19:02:25 × geekosaur quits (82650c7c@130.101.12.124) (Ping timeout: 248 seconds)
19:06:43 <mc47> Weird, I almost have the exact same thing in my config and it works
19:06:48 <mc47> sorry, no idea
19:23:10 geekosaur joins (82650c7c@130.101.12.124)
19:40:30 × Rockj quits (~rockj@2001:67c:550:feed::1) (Quit: moving-internet-prefix)
20:51:00 × thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202)
21:09:19 × cfricke quits (~cfricke@unaffiliated/cfricke) (Ping timeout: 265 seconds)
21:30:27 × p71 quits (~chatzilla@097-083-185-160.res.spectrum.com) (Ping timeout: 256 seconds)
21:30:59 p71_ joins (~chatzilla@097-083-185-160.res.spectrum.com)
21:31:11 × Solitary quits (~Solitary@ip-78-45-155-137.net.upcbroadband.cz) (Ping timeout: 256 seconds)
21:31:18 p71_ is now known as p71
21:31:56 Solitary joins (~Solitary@ip-78-45-155-137.net.upcbroadband.cz)
21:44:16 × geekosaur quits (82650c7c@130.101.12.124) (Quit: Connection closed)
21:48:28 × ADG1089__ quits (~aditya@122.163.160.223) (Remote host closed the connection)
22:00:31 × joshproehl quits (quassel@tools.daedalusdreams.com) (Remote host closed the connection)
22:18:40 × mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving)
22:56:34 joshproehl joins (quassel@tools.daedalusdreams.com)
23:08:25 × joshproehl quits (quassel@tools.daedalusdreams.com) (Remote host closed the connection)
23:18:04 joshproehl joins (~quassel@dtools-d10-tx-1.inf.daedalusdreams.com)
23:26:11 × seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq)
23:42:53 × ttmx quits (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Ping timeout: 256 seconds)

All times are in UTC on 2021-01-22.