Home freenode/#xmonad: Logs Calendar

Logs: freenode/#xmonad

←Prev  Next→
Page 1 .. 196 197 198 199 200 201 202 203 204 205 206 .. 397
39,606 events total
2021-02-27 16:45:03 <isovector> that did the trick! you're amazing, Liskni_si! thanks
2021-02-27 16:47:09 <Liskni_si> I guess it's got something to do with readProcessWithExitCode waiting for the process to exit, and xmonad interfering with that wait
2021-02-27 16:50:37 <Liskni_si> yeah that's probably it, the manpage for waitpid says that if SIGCHLD is set to SIG_IGN, which it is by xmonad, waitpid just blocks
2021-02-27 16:53:57 <isovector> marvelous. i just automated away a few minutes of work i do every few hours
2021-02-27 16:58:06 <Liskni_si> I have something similar to what you did, but it looks for all git repos via locate (ugly hacks but works well), and combines rofi with frece to have the list ordered by frecency
2021-02-27 16:58:19 <Liskni_si> https://github.com/liskin/dotfiles/blob/home/bin/rofi-git-all-repos and so on
2021-02-27 17:21:34 geekosaur joins (82650c7a@130.101.12.122)
2021-02-27 17:23:46 × materiyolo quits (~materiyol@112.204.160.151) (Quit: WeeChat 3.0)
2021-02-27 17:31:18 dxld joins (~dxld@rush.pub.dxld.at)
2021-02-27 17:50:05 × notis quits (~notis@92.118.13.23) (Quit: WeeChat 3.0)
2021-02-27 17:52:49 notis joins (~notis@92.118.13.191)
2021-02-27 18:02:40 × toniz4 quits (~toniz4@unaffiliated/toniz4) (Quit: leaving)
2021-02-27 18:10:02 dementorr joins (5678ef88@86.120.239.136)
2021-02-27 18:11:30 <dementorr> Hello! Is there a way to find out the current focused window id? (the hex value)
2021-02-27 18:12:35 <dementorr> I think it should be here somewhere: https://hackage.haskell.org/package/xmonad-0.15/docs/XMonad-StackSet.html#t:StackSet
2021-02-27 18:14:16 <Liskni_si> dementorr: https://hackage.haskell.org/package/xmonad-0.15/docs/XMonad-Operations.html#v:withFocused
2021-02-27 18:14:45 <Liskni_si> or just do w <- withFocused W.peek
2021-02-27 18:16:37 isovector parts (~isovector@172.103.216.166) ("WeeChat 2.9")
2021-02-27 18:17:08 <dementorr> Liskni_si: So if I do (withFocused W.peek) I will get the number (like 0x350003)? Sorry for the dumb question
2021-02-27 18:18:29 <geekosaur> I think it's just withFocused id, and you will get a number. "hex" has to do with how you display it, it's not an attribute of the window id
2021-02-27 18:18:39 <Liskni_si> dementorr: You will get a Window, which is a number in the abstract sense. If you need it in hex, you'll then need to convert it to hex
2021-02-27 18:18:59 <Liskni_si> oh, right, by withFocused W.peek I meant withWindowSet W.peek, sorry
2021-02-27 18:19:09 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/pyanfar/xmonad.hs#L215
2021-02-27 18:19:24 <dementorr> Okay, I'll try it out. Thanks guys!
2021-02-27 18:19:54 <Liskni_si> geekosaur: why not just "xprop -id " ++ show w ?
2021-02-27 18:20:22 <geekosaur> probaly would work but I prefer the hex id because some things do only work with it
2021-02-27 18:20:39 <geekosaur> (they treat an unadorned number as a title prefix, for example)
2021-02-27 18:21:05 <Liskni_si> I see
2021-02-27 18:26:16 × Zetagon quits (~leo@c151-177-52-233.bredband.comhem.se) (Ping timeout: 240 seconds)
2021-02-27 18:32:39 <geekosaur> also I think it redisplays it as it was given, and the hex one has some clues because of how the server allocates window IDs (this is probably a horrid hack that I should not rely on :)
2021-02-27 18:33:55 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
2021-02-27 18:42:18 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-02-27 18:44:29 <dementorr> geekosaur: Thank you for your example! I have managed to do a screenshot of the current window without using the mouse :)
2021-02-27 18:45:43 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
2021-02-27 18:46:57 × totte quits (~totte@chakra/totte) (Ping timeout: 256 seconds)
2021-02-27 18:48:23 totte joins (~totte@chakra/totte)
2021-02-27 18:57:00 × notis quits (~notis@92.118.13.191) (Ping timeout: 246 seconds)
2021-02-27 19:03:54 geekosaur joins (82650c7a@130.101.12.122)
2021-02-27 19:05:15 × AZG256 quits (~user@78-56-98-5.static.zebra.lt) (Quit: ERC (IRC client for Emacs 26.1))
2021-02-27 19:05:44 <geekosaur> there's also an example of that using scrot, which doesn't need a window ID (but does need an unGrab)
2021-02-27 19:09:16 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 240 seconds)
2021-02-27 19:11:35 palo joins (~weechat@c-base/crew/palo)
2021-02-27 19:29:47 × dementorr quits (5678ef88@86.120.239.136) (Quit: Connection closed)
2021-02-27 19:40:44 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-02-27 19:41:39 <abhixec> When I have a floating scratchpad and switch focus to my master is there a way to make the scratch not be on top of the master?
2021-02-27 19:51:00 jamik joins (~james@d75-155-42-59.abhsia.telus.net)
2021-02-27 20:04:04 <geekosaur> not really
2021-02-27 20:04:15 <geekosaur> our floating window handling is kinda horrible
2021-02-27 20:07:05 <jamik> Hey guys, I'm trying to use the description of the current layout to decide whether to jump to another layout but I don't know how to reference the current layout. How do I get the current layout?
2021-02-27 20:09:54 <jamik> On another note, is there an canonical way to refer to the last layout? I guess something like the workspace history contrib packgae but for layouts
2021-02-27 20:10:59 <jamik> a*
2021-02-27 20:15:09 <geekosaur> withWindowSet $ W.description . W.layout . W.workspace . W.current -- iirc
2021-02-27 20:15:31 <geekosaur> and there's no good way to refer to the last layout, no
2021-02-27 20:16:51 <jamik> thanks geekosaur, now that I know how to get the layour I can just keep track of the last one myself. Appreciate the help!
2021-02-27 20:25:22 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
2021-02-27 20:36:35 notis joins (~notis@92.118.13.191)
2021-02-27 20:38:39 geekosaur joins (82650c7a@130.101.12.122)
2021-02-27 20:47:06 <abhixec> thanks geekosaur, is there any plans of making it better?
2021-02-27 20:47:31 <geekosaur> not really, it'd require a lot of breaking changes to the core
2021-02-27 20:52:40 <abhixec> how is that your name doesn't appear on '/names' list?
2021-02-27 20:52:42 abhixec wonders
2021-02-27 21:32:33 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
2021-02-27 21:54:35 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
2021-02-27 21:57:43 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-02-27 22:14:03 deja joins (~deja@212095008174.public.telering.at)
2021-02-27 22:30:31 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
2021-02-27 22:54:37 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-02-27 22:59:03 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 272 seconds)
2021-02-28 00:21:54 × seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq)
2021-02-28 00:31:43 × notis quits (~notis@92.118.13.191) (Ping timeout: 276 seconds)
2021-02-28 01:36:38 × kelnoky quits (~shao@ip1f1285ec.dynamic.kabel-deutschland.de) (Quit: WeeChat 3.0)
2021-02-28 02:13:14 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-02-28 03:18:21 kw joins (d4662d5d@212.102.45.93)
2021-02-28 03:35:37 materiyolo joins (~materiyol@112.204.160.151)
2021-02-28 03:47:57 × theDon quits (~td@94.134.91.67) (Ping timeout: 264 seconds)
2021-02-28 03:49:19 theDon joins (~td@muedsl-82-207-238-016.citykom.de)
2021-02-28 04:36:06 × materiyolo quits (~materiyol@112.204.160.151) (Quit: WeeChat 3.0)
2021-02-28 04:37:34 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-02-28 05:19:03 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 272 seconds)
2021-02-28 05:29:44 materiyolo joins (~materiyol@112.204.160.151)
2021-02-28 06:10:02 × kw quits (d4662d5d@212.102.45.93) (Ping timeout: 240 seconds)
2021-02-28 06:15:51 palo1 joins (~weechat@c-base/crew/palo)
2021-02-28 06:18:48 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 246 seconds)
2021-02-28 06:18:48 palo1 is now known as palo
2021-02-28 07:29:53 toniz4 joins (~toniz4@unaffiliated/toniz4)
2021-02-28 07:43:34 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
2021-02-28 08:32:10 kelnoky joins (~shao@ip1f1285ec.dynamic.kabel-deutschland.de)
2021-02-28 08:41:57 × jamik quits (~james@d75-155-42-59.abhsia.telus.net) (Ping timeout: 264 seconds)
2021-02-28 08:44:58 × materiyolo quits (~materiyol@112.204.160.151) (Quit: WeeChat 3.0)
2021-02-28 08:45:19 notis joins (~notis@92.118.13.23)
2021-02-28 09:09:25 materiyolo joins (~materiyol@112.204.160.151)
2021-02-28 09:31:11 seschwar joins (~seschwar@unaffiliated/seschwar)
2021-02-28 09:34:33 × materiyolo quits (~materiyol@112.204.160.151) (Quit: WeeChat 3.0)
2021-02-28 09:35:57 materiyolo joins (~materiyol@112.204.160.151)
2021-02-28 09:52:19 mc47 joins (~yecinem@89.246.239.190)
2021-02-28 10:23:02 × toniz4 quits (~toniz4@unaffiliated/toniz4) (Remote host closed the connection)
2021-02-28 10:23:33 toniz4 joins (~toniz4@unaffiliated/toniz4)
2021-02-28 10:28:46 × materiyolo quits (~materiyol@112.204.160.151) (Quit: WeeChat 3.0)
2021-02-28 10:49:59 jamik joins (~james@d75-155-42-59.abhsia.telus.net)
2021-02-28 11:10:38 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
←Prev  Next→
Page 1 .. 196 197 198 199 200 201 202 203 204 205 206 .. 397

All times are in UTC.