Home freenode/#xmonad: Logs Calendar

Logs on 2021-05-21 (freenode/#xmonad)

01:21:20 gzj joins (~gzj@unaffiliated/gzj)
01:25:39 × geekosaur quits (45870322@069-135-003-034.biz.spectrum.com) (Quit: Ping timeout (120 seconds))
01:26:47 geekosaur joins (45870322@069-135-003-034.biz.spectrum.com)
02:03:36 a6a45081-2b83 joins (~aditya@122.163.149.247)
02:14:41 × kajzer quits (~kajzer@unaffiliated/kajzer) (Quit: WeeChat 3.1)
02:30:44 s00pcan joins (~chris@107.181.165.217)
02:30:49 growpotk- joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
02:31:05 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
02:31:25 gzj joins (~gzj@unaffiliated/gzj)
02:39:11 × growpotk- quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 246 seconds)
02:42:09 GZJ0X_ joins (~gzj@unaffiliated/gzj)
02:42:26 × gzj quits (~gzj@unaffiliated/gzj) (Ping timeout: 240 seconds)
03:25:54 × GZJ0X_ quits (~gzj@unaffiliated/gzj) (Quit: Leaving)
03:40:28 × a6a45081-2b83 quits (~aditya@122.163.149.247) (Quit: Konversation terminated!)
03:55:56 admzmf joins (40e5ec25@bras-vprn-tnhlon4051w-lp130-14-64-229-236-37.dsl.bell.ca)
04:02:19 gzj joins (~gzj@unaffiliated/gzj)
04:20:34 × admzmf quits (40e5ec25@bras-vprn-tnhlon4051w-lp130-14-64-229-236-37.dsl.bell.ca) (Quit: Connection closed)
04:32:59 a6a45081-2b83 joins (~aditya@122.163.149.247)
04:35:58 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
04:50:27 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
05:14:01 _0dI joins (~user@193-154-38-161.adsl.highway.telekom.at)
05:43:35 thoros joins (~thoros@193-154-185-59.adsl.highway.telekom.at)
05:55:37 cfricke joins (~cfricke@unaffiliated/cfricke)
06:08:06 × cynapse quits (~chris@d24-141-165-72.home.cgocable.net) (Remote host closed the connection)
06:27:27 thc202 joins (~thc202@unaffiliated/thc202)
06:29:14 xubun2 joins (~xubun2@unaffiliated/xubun2)
06:29:39 idhugo joins (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net)
06:32:11 × ml| quits (~ml|@unaffiliated/ml/x-3958674) (Ping timeout: 240 seconds)
06:46:12 ml| joins (~ml|@unaffiliated/ml/x-3958674)
06:51:11 × benin quits (~benin@183.82.205.246) (Ping timeout: 246 seconds)
06:53:18 CosmosAtlas joins (~CosmosAtl@222.94.107.137)
06:54:14 × CosmosAtlas quits (~CosmosAtl@222.94.107.137) (Client Quit)
06:56:06 × ml| quits (~ml|@unaffiliated/ml/x-3958674) (Ping timeout: 240 seconds)
06:57:01 benin joins (~benin@183.82.176.202)
07:03:02 notis joins (~notis@85.203.44.245)
07:08:05 gzj joins (~gzj@unaffiliated/gzj)
07:09:39 ml| joins (~ml|@unaffiliated/ml/x-3958674)
07:11:38 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
07:11:56 gzj joins (~gzj@unaffiliated/gzj)
07:13:18 × Dr_Jazz quits (~jazz@stolen.plutonium.dk) (Quit: off to see the wizard)
07:16:34 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1)
07:17:47 × ml| quits (~ml|@unaffiliated/ml/x-3958674) (Ping timeout: 246 seconds)
07:19:30 sagax joins (~sagax_nb@213.138.71.146)
07:31:06 × xubun2 quits (~xubun2@unaffiliated/xubun2) (Ping timeout: 240 seconds)
07:31:17 ml| joins (~ml|@unaffiliated/ml/x-3958674)
07:39:51 × a6a45081-2b83 quits (~aditya@122.163.149.247) (Quit: Konversation terminated!)
07:40:04 wonko7 joins (~wonko7@62.115.229.50)
07:55:48 × wonko7 quits (~wonko7@62.115.229.50) (Quit: See You Space Cowboy..)
08:00:10 × gzj quits (~gzj@unaffiliated/gzj) (Read error: Connection reset by peer)
08:00:30 gzj joins (~gzj@unaffiliated/gzj)
08:11:38 xubun2 joins (~xubun2@unaffiliated/xubun2)
08:21:06 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
08:21:47 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:7767:3034:663c:8014) (Ping timeout: 250 seconds)
08:22:13 ericsagn1 joins (~ericsagne@2405:6580:0:5100:e563:9647:b265:38d9)
08:24:44 gzj joins (~gzj@unaffiliated/gzj)
08:25:15 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
08:25:34 gzj joins (~gzj@unaffiliated/gzj)
08:34:46 × spoonm quits (~spoonm@tokyo.spoonm.org) (Quit: Don't look behind you!)
08:38:38 spoonm joins (~spoonm@tokyo.spoonm.org)
08:53:46 a6a45081-2b83 joins (~aditya@122.163.149.247)
09:00:23 × geekosaur quits (45870322@069-135-003-034.biz.spectrum.com) (Quit: Connection closed)
09:01:46 × xubun2 quits (~xubun2@unaffiliated/xubun2) (Remote host closed the connection)
09:02:11 xubun2 joins (~xubun2@unaffiliated/xubun2)
09:14:06 cfricke joins (~cfricke@unaffiliated/cfricke)
09:19:56 × benin quits (~benin@183.82.176.202) (Ping timeout: 246 seconds)
09:28:02 × _0dI quits (~user@193-154-38-161.adsl.highway.telekom.at) (Read error: Connection reset by peer)
09:48:22 mc47 joins (~yecinem@89.246.239.190)
09:51:21 <mc47> sorry for the noise, I had to rebase my PRs so I can update my dotfiles and test them
09:53:26 <liskin> had we merged those PR there wouldn't be any noise :-))
09:53:57 <liskin> (I've been trying to merge stuff but my mental health is at an all time low right now)
09:58:39 <davve> is this channel moving to libera?
10:00:06 × a6a45081-2b83 quits (~aditya@122.163.149.247) (Remote host closed the connection)
10:03:25 <mc47> hang in there liskin, these are pretty rough times in general
10:05:51 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1)
10:06:51 benin joins (~benin@183.82.204.177)
10:07:09 <liskin> davve: seems like it; geekosaur sent a channel registration e-mail yesterday or the day before and now we're waiting for an answer
10:09:15 × gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection)
10:13:08 × xubun2 quits (~xubun2@unaffiliated/xubun2) (Ping timeout: 246 seconds)
10:21:13 kajzer joins (~kajzer@unaffiliated/kajzer)
10:28:32 <davve> liskin: great
10:52:08 xubun2 joins (~xubun2@unaffiliated/xubun2)
10:57:23 × benin quits (~benin@183.82.204.177) (Quit: The Lounge - https://thelounge.chat)
10:58:37 cfricke joins (~cfricke@unaffiliated/cfricke)
11:04:46 × sysadmin quits (~McCafe@76.72.175.109) (Ping timeout: 260 seconds)
11:06:12 <Solid> davve: feel free to join #xmonad on libera already :)
11:06:53 <Solid> I suppose this is the real test of who's actually active and which people just have their bouncers still running :>
12:14:09 × mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving)
12:24:16 × idhugo quits (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) (Ping timeout: 260 seconds)
12:33:22 davemq joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net)
12:35:13 davemq parts (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) ("ERC (IRC client for Emacs 27.2)")
13:01:43 kelnoky joins (~shao@ip1f128ba7.dynamic.kabel-deutschland.de)
13:03:37 seschwar joins (~seschwar@unaffiliated/seschwar)
13:03:42 idhugo joins (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net)
13:04:50 geekosaur joins (45870322@069-135-003-034.biz.spectrum.com)
13:26:55 a6a45081-2b83 joins (~aditya@122.163.181.9)
13:28:49 × xubun2 quits (~xubun2@unaffiliated/xubun2) (Remote host closed the connection)
13:29:09 xubun2 joins (~xubun2@unaffiliated/xubun2)
13:44:47 davemq joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net)
13:55:15 × kelnoky quits (~shao@ip1f128ba7.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.1)
13:57:36 × notis quits (~notis@85.203.44.245) (Ping timeout: 260 seconds)
13:59:25 notis joins (~notis@2a02:2149:8a33:ff00:daac:2cc7:3b54:56eb)
14:06:32 × cfricke quits (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.1)
14:06:43 × notis quits (~notis@2a02:2149:8a33:ff00:daac:2cc7:3b54:56eb) (Ping timeout: 250 seconds)
14:08:47 notis joins (~notis@85.203.44.245)
14:24:20 × a6a45081-2b83 quits (~aditya@122.163.181.9) (Quit: Konversation terminated!)
14:27:14 × idhugo quits (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) (Ping timeout: 246 seconds)
14:29:04 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
15:06:43 henninb joins (~henninb@63-226-165-91.mpls.qwest.net)
15:09:04 × henninb quits (~henninb@63-226-165-91.mpls.qwest.net) (Client Quit)
15:22:02 Solitary parts (~Solitary@ip-78-45-155-137.net.upcbroadband.cz) ("All work and no play makes Jack a dull boy.")
15:47:16 × notis quits (~notis@85.203.44.245) (Ping timeout: 260 seconds)
15:49:07 notis joins (~notis@85.203.44.245)
16:02:03 × thoros quits (~thoros@193-154-185-59.adsl.highway.telekom.at) (Quit: WeeChat 3.0.1)
16:09:03 idhugo joins (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net)
16:15:13 × idhugo quits (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) (Remote host closed the connection)
16:15:39 idhugo joins (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net)
16:56:37 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 265 seconds)
17:15:21 × deepy quits (deepy@wrongplanet/deepa) (Read error: Connection reset by peer)
17:24:12 qbit2821 joins (~qbit2821@94-255-133-214.cust.bredband2.com)
17:35:44 deepy joins (deepy@wrongplanet/deepa)
17:43:47 mc47 joins (~yecinem@89.246.239.190)
17:53:39 × notis quits (~notis@85.203.44.245) (Ping timeout: 265 seconds)
18:03:46 × xubun2 quits (~xubun2@unaffiliated/xubun2) (Ping timeout: 240 seconds)
18:05:02 × mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving)
18:05:19 mc47 joins (~yecinem@89.246.239.190)
18:05:30 × mc47 quits (~yecinem@89.246.239.190) (Client Quit)
18:11:00 × mudri quits (sid317655@gateway/web/irccloud.com/x-tkftihyrhfadzkvn) ()
18:27:38 × idhugo quits (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) (Ping timeout: 260 seconds)
18:30:07 amiri parts (~amiri@cpe-76-91-154-9.socal.res.rr.com) ()
18:38:56 × thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202)
18:41:02 toniz4 joins (~toniz4@unaffiliated/toniz4)
18:48:09 ChanServ sets mode +o geekosaur
18:48:48 geekosaur sets topic to "Want to help? http://bit.ly/2nYjqpQ | xmonad: the tiling window manager with formally proven extensions | http://xmonad.org | http://xmonad.org/faq | cheatsheet: https://wiki.haskell.org/File:Xmbindings.png | https://ircbrowse.tomsmeding.com/browse/xmonad | We're on Libera.chat now"
18:49:07 geekosaur sets mode -o geekosaur
19:04:41 davemq parts (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net) ("ERC (IRC client for Emacs 27.2)")
19:13:15 × qbit2821 quits (~qbit2821@94-255-133-214.cust.bredband2.com) (Quit: WeeChat 3.1)
19:22:09 qbit2821 joins (~qbit2821@94-255-133-214.cust.bredband2.com)
19:22:17 qbit2821 parts (~qbit2821@94-255-133-214.cust.bredband2.com) ()
19:28:38 qbit2821 joins (~qbit2821@94-255-133-214.cust.bredband2.com)
19:35:23 × geekosaur quits (45870322@069-135-003-034.biz.spectrum.com) (Ping timeout: 240 seconds)
19:37:45 geekosaur joins (45870322@069-135-003-034.biz.spectrum.com)
19:44:28 × qbit2821 quits (~qbit2821@94-255-133-214.cust.bredband2.com) (Quit: WeeChat 3.1)
19:45:33 seschwar parts (~seschwar@unaffiliated/seschwar) (":wq")
19:51:37 × geekosaur quits (45870322@069-135-003-034.biz.spectrum.com) (Quit: Ping timeout (120 seconds))
20:00:13 geekosaur joins (45870322@069-135-003-034.biz.spectrum.com)
20:12:23 davemq joins (~davemq@99-179-0-50.lightspeed.austtx.sbcglobal.net)
20:22:10 dementorrr joins (5678f3b6@86.120.243.182)
20:23:53 werneta joins (~werneta@137.79.212.255)
20:27:47 notis joins (~notis@185.51.134.229)
20:36:39 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:e563:9647:b265:38d9) (Ping timeout: 245 seconds)
20:42:44 idhugo joins (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net)
20:45:11 <dementorrr> Hello! Is there a way to "grab" the current window? By that i mean that xwd asks me what screen i want to select for a screenshot, and I want to automatically grab the current one...
20:49:00 ericsagn1 joins (~ericsagne@2405:6580:0:5100:988d:da35:81ad:f58f)
20:50:23 <dementorrr> Ok, I think it's in xmonad util ungrab
20:51:38 <geekosaur> it'll be up to the individual utility, but yes you have to drop xmonad's grab for the screenshot utility to grab it
20:52:26 × werneta quits (~werneta@137.79.212.255) (Ping timeout: 240 seconds)
20:57:34 <geekosaur> (xmonad keeps the grab so things like Prompt and Submap will work properly)
20:58:40 <dementorrr> Hmm... but it seems that I still have to select the screen... I would like that when the crosshair pops up it will automatically "click" the current window. Is that possible?
20:59:03 <geekosaur> again, that's up to the utility, not to xmonad
20:59:38 <geekosaur> scrot has -u, for example
20:59:48 <dementorrr> So, if the utility wants to get a click from the user, xmonad can't do anything about that, till the user clicks the screen?
20:59:55 <geekosaur> right
21:00:10 <dementorrr> ... okay then, is there a way to simulate a click ?? ;))
21:00:29 <geekosaur> I mean, hypothetically you can "forge" an event but programs afe free to ignore SendEvents
21:01:18 meowray parts (MaskRay@sjtug/member/MaskRay) ("WeeChat 2.6")
21:01:23 <dementorrr> I'm using slop to get info about  the current window (like where is it on the screen, its size, etc) so I can pipe that to ffmpeg to record it, but slop wants me to select a window, and I would like to say "its always the current one"
21:01:46 <geekosaur> easiest way to simulate UI actions is not from xmonad but to use xdotool
21:02:34 <geekosaur> we have ways to simulate keystrokes but not mouse actions, iirc
21:03:06 <liskin> xdotool also lets you query the current window id
21:04:05 <geekosaur> you can look through https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Util/Paste.hs to see how to simulate events although it only does key events, not pointer events
21:06:42 <dementorrr> Hmm.. it seems xdotool allows to simulate a click with "xdotool click 1", but now the problem is that the mouse may be on another window. Probably there is a tool that can move the mouse to the current focused window
21:07:38 <dementorrr> oh ... its still xdotool, but now it's a chicken egg problem
21:09:12 <liskin> xdotool can move mouse relative to window, ans that window can be the current window
21:10:59 <liskin> if all you need is the rectangle of the active window, you can just do xwininfo -id "$(xdotool getactivewindow)"
21:11:30 <geekosaur> for that matter you can do the same with xwd
21:11:40 <geekosaur> it also takes -id
21:13:51 <dementorrr> liskin: Thanks! You are right, I can get the necesary info from xwininfo. Now if I parse the output I can get the size and offset of the current window :) Thx guys for the info!
21:14:54 <liskin> or even xdotool getactivewindow getwindowgeometry
21:15:13 <dementorrr> Hmm... i don:t think I need xdotool then... I mean I can get the window id with "withFocused"
21:15:39 × sagax quits (~sagax_nb@213.138.71.146) (Excess Flood)
21:15:45 × idhugo quits (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) (Remote host closed the connection)
21:16:01 idhugo joins (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net)
21:16:02 <liskin> yeah you can definitely get the window id and even the dimensions completely inside xmonad
21:16:43 <liskin> but just using xdotool will probably be the easiest way
21:18:46 <dementorrr> Okay, now I got a bash question (probably will ask it at #bash): is there a way to parse a multiline output? I mean the values are on different lines...
21:19:33 <liskin> eval "$(xdotool getactivewindow getwindowgeometry --shell)"
21:19:48 <liskin> doesn't really answer the question of parsing multiple lines, but it does what you want :-)
21:20:12 <dementorrr> Okay, thanks again :)
21:20:32 <liskin> otheriwse bash lets you parse multiple lines by grouping a bunch of reads with {} and using the command as input for those
21:20:40 <liskin> or you can match a regex
21:20:52 <liskin> that is indeed offtopic here tho :-)
21:28:08 deepy parts (deepy@wrongplanet/deepa) ("WeeChat 2.8")
21:40:22 sagax joins (~sagax_nb@213.138.71.146)
21:46:08 × idhugo quits (~idhugo@80-62-117-193-mobile.dk.customer.tdc.net) (Ping timeout: 246 seconds)
21:50:41 × notis quits (~notis@185.51.134.229) (Ping timeout: 260 seconds)
21:52:24 notis joins (~notis@85.203.44.98)
21:55:02 × pittma quits (sid332680@gateway/web/irccloud.com/x-vzqcpnpbirbvbyns) (Read error: Connection reset by peer)
21:59:04 pittma joins (sid332680@gateway/web/irccloud.com/x-pbpwynyqvuwzqqar)
22:04:28 × matijja quits (~matijja@193.77.181.208) (Quit: bye)
22:05:15 matijja joins (~matijja@193.77.181.208)
22:16:18 × dementorrr quits (5678f3b6@86.120.243.182) (Quit: Connection closed)
22:22:04 benin joins (~benin@183.82.204.177)
22:44:21 × toniz4 quits (~toniz4@unaffiliated/toniz4) (Ping timeout: 260 seconds)
22:46:15 toniz4 joins (~toniz4@191.31.226.130)
22:47:44 × notis quits (~notis@85.203.44.98) (Ping timeout: 246 seconds)
23:01:13 werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
23:32:47 × toniz4 quits (~toniz4@191.31.226.130) (Quit: leaving)
23:51:26 × s00pcan quits (~chris@107.181.165.217) (Ping timeout: 240 seconds)
23:53:33 s00pcan joins (~chris@075-133-056-178.res.spectrum.com)

All times are in UTC on 2021-05-21.