Logs: freenode/#xmonad
| 2020-12-04 20:10:50 | <geekosaur> | somthing like that, yes |
| 2020-12-04 20:16:16 | × | sfrique quits (~sfrique@189.122.177.88) (Remote host closed the connection) |
| 2020-12-04 20:24:09 | × | abhixec quits (~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 2020-12-04 20:36:36 | × | Shadowraith quits (~shadow@pool-71-187-70-139.nwrknj.fios.verizon.net) (Quit: Lost terminal) |
| 2020-12-04 20:43:10 | → | sfrique joins (~sfrique@189.122.177.88) |
| 2020-12-04 20:45:06 | <sfrique> | hey, anyone can help me why i can't get spotify to be floated on namedscrapthas? |
| 2020-12-04 20:45:36 | <sfrique> | i am using className =? "Spotify" and it brings back the spotify, it just don't make it float |
| 2020-12-04 20:49:39 | <geekosaur> | show your code |
| 2020-12-04 20:49:42 | <geekosaur> | @where paste |
| 2020-12-04 20:49:42 | <lambdabot> | Help us help you: please paste full code, input and/or output at eg https://paste.tomsmeding.com |
| 2020-12-04 20:50:04 | → | ddellacosta joins (dd@gateway/vpn/mullvad/ddellacosta) |
| 2020-12-04 20:50:14 | <geekosaur> | that said there's a long running issue basically caused by spotify not playing by the rules, so things like className don't work right |
| 2020-12-04 20:51:08 | <geekosaur> | (it doesn't set its properties until after it renders. there's a special module to deal with this, DynamicProperty) |
| 2020-12-04 20:52:42 | <geekosaur> | XMonad.Hooks.DynamicProperty that is |
| 2020-12-04 20:53:27 | <geekosaur> | so you may need to put things like floating via DynamicProperty to get them to work right, and the scratchpad might be a little unreliable |
| 2020-12-04 20:53:28 | <sfrique> | i just have to load it? |
| 2020-12-04 20:54:40 | <sfrique> | it seems i have to add some code |
| 2020-12-04 20:55:11 | <geekosaur> | yes |
| 2020-12-04 20:55:44 | <geekosaur> | it basically puts a managehook in response to a property change. but you need to be specific as to what the managehook matches. |
| 2020-12-04 20:57:12 | <geekosaur> | there's no simple way to deal with this kind of thing, Spotify is a browser window and they're really dynamic |
| 2020-12-04 20:59:35 | <sfrique> | i see, i will see how to add the code |
| 2020-12-04 21:08:03 | <geekosaur> | here's where the discussion of spotify's misbehavior is being discussed: https://github.com/xmonad/xmonad/issues/214 |
| 2020-12-04 21:08:52 | <geekosaur> | (wrong place since for starters namedscratchpads are part of contrib… but moving issues is painful so it's there) |
| 2020-12-04 21:09:11 | → | notis joins (~notis@185.51.134.222) |
| 2020-12-04 21:12:35 | <geekosaur> | the most recent message has a solution gleaned from Reddit, using DynamicProperty to apply the customFloat to it |
| 2020-12-04 21:14:28 | <sfrique> | i just got it "working" |
| 2020-12-04 21:14:30 | <geekosaur> | I admit to some curiosity as to what it's doing with className early on, but not so much so that I'm willing to install it and aim ManageDebug at it >.> |
| 2020-12-04 21:14:54 | <sfrique> | but then my xmobar seems to become bwllow everything |
| 2020-12-04 21:15:23 | <sfrique> | it happens when i add eventhook |
| 2020-12-04 21:15:30 | <geekosaur> | that sounds like your hook's firing on too many windows (floating everything?) |
| 2020-12-04 21:16:10 | × | Shadorain quits (uid453914@gateway/web/irccloud.com/x-zacharxypgsnvrfo) (Quit: Connection closed for inactivity) |
| 2020-12-04 21:16:47 | <sfrique> | not verything is floated, but it seems it ignores xmobar for some reason |
| 2020-12-04 21:18:26 | <geekosaur> | it does ignore xmobar, as it ignores all dock windows (they're self-managing). "below everything" still sounds wrong though |
| 2020-12-04 21:18:55 | <geekosaur> | it shouldn't be placing windows over docks with or without the handleEventHook |
| 2020-12-04 21:20:10 | <geekosaur> | unless maybe you broke docksEventHook in the process, hm |
| 2020-12-04 21:21:53 | <sfrique> | https://paste.tomsmeding.com/HaWbkPy6 |
| 2020-12-04 21:22:15 | <sfrique> | i don't understand that first managehook thing |
| 2020-12-04 21:23:58 | <geekosaur> | you're not using the docks combinator. so what does your handleEventHook look like? |
| 2020-12-04 21:24:48 | <sfrique> | this? |
| 2020-12-04 21:24:48 | <sfrique> | https://paste.tomsmeding.com/TaF7gUCN |
| 2020-12-04 21:24:58 | <geekosaur> | the manageHook floats any old-style fullscreened windows, applies your manageHook, then manageDocks |
| 2020-12-04 21:25:22 | × | Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 260 seconds) |
| 2020-12-04 21:25:37 | <geekosaur> | did you have a handleEventHook before that? you should have and it should have called docksEventHook |
| 2020-12-04 21:25:50 | <sfrique> | i had not |
| 2020-12-04 21:26:10 | <sfrique> | handleEventHook = myHandleEventHook |
| 2020-12-04 21:26:40 | <sfrique> | this was added to my main block just now, if i remove it, the xmobar works fine, but i don't getthe spotify resize |
| 2020-12-04 21:26:52 | <geekosaur> | although come to think of it the docksEventHook shouldn't be involved here, it's just for things like moves |
| 2020-12-04 21:33:19 | <sfrique> | it seems spotify won't be fixed for now =/ |
| 2020-12-04 21:33:33 | <sfrique> | xmonad seemed very promising, but i keep hiting "edge" cases |
| 2020-12-04 21:34:41 | <geekosaur> | actually I'm wondering if you need to change the handleEventHook to: myHandleEventHook <+> handleEventHook desktopConfig |
| 2020-12-04 21:36:16 | <sfrique> | wait, so how you think would be the full line? |
| 2020-12-04 21:38:11 | <geekosaur> | , handleEventHook = myHandleEventHook <+> handleEventHook desktopConfig |
| 2020-12-04 21:39:06 | <sfrique> | it did work |
| 2020-12-04 21:39:19 | <sfrique> | i don't understand why tough |
| 2020-12-04 21:40:00 | <sfrique> | so it's like we are adding all the defaults after what i have createdas events hooks? |
| 2020-12-04 21:40:04 | <geekosaur> | because you were getting something essential from desktopConfig but when you overrode handleEventHook without explicitly "copying in" the stuff from desktopConfig, you lost it |
| 2020-12-04 21:41:00 | <sfrique> | ok sounds reasonable |
| 2020-12-04 21:41:21 | <sfrique> | thanks! |
| 2020-12-04 21:42:07 | <geekosaur> | they're going to kick me out of this library shortly and I'll lose internet, sorry |
| 2020-12-04 21:43:26 | × | geekosaur quits (82659a09@host154-009.vpn.uakron.edu) (Remote host closed the connection) |
| 2020-12-04 21:43:27 | <sfrique> | you have helped a lot already |
| 2020-12-04 21:47:28 | → | Rockj joins (~rockj@2001:67c:550:feed::1) |
| 2020-12-04 22:00:54 | × | isgy quits (~jy@82.38.116.187) (Ping timeout: 256 seconds) |
| 2020-12-04 22:46:09 | <sfrique> | is there a way to create a new workspace on demand? |
| 2020-12-04 22:47:40 | <sfrique> | will try this |
| 2020-12-04 22:47:41 | <sfrique> | https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Actions-DynamicWorkspaces.html |
| 2020-12-04 23:10:50 | × | ericsagnes quits (~ericsagne@2405:6580:0:5100:2a4b:4c53:e4dc:e61e) (Ping timeout: 264 seconds) |
| 2020-12-04 23:22:45 | → | ericsagnes joins (~ericsagne@2405:6580:0:5100:cd57:3434:c0d0:b946) |
| 2020-12-05 00:25:14 | × | Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 264 seconds) |
| 2020-12-05 00:46:03 | × | notis quits (~notis@185.51.134.222) (Ping timeout: 260 seconds) |
| 2020-12-05 00:55:06 | → | Rockj joins (~rockj@2001:67c:550:feed::1) |
| 2020-12-05 01:14:31 | → | abhixec joins (~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) |
| 2020-12-05 01:15:40 | → | doct0rhu joins (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) |
| 2020-12-05 01:19:14 | × | byorgey quits (~byorgey@155.138.238.211) (Ping timeout: 272 seconds) |
| 2020-12-05 01:28:37 | × | Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 260 seconds) |
| 2020-12-05 02:22:45 | → | Rockj joins (~rockj@2001:67c:550:feed::1) |
| 2020-12-05 02:29:00 | × | seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq) |
| 2020-12-05 02:40:43 | → | byorgey joins (~byorgey@155.138.238.211) |
| 2020-12-05 03:03:33 | <sfrique> | i am able to create it, but can't use prompt, nor random string.. if anyone has an idea i would be glad |
| 2020-12-05 03:07:00 | × | Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 244 seconds) |
| 2020-12-05 03:13:20 | × | dsal quits (sid13060@gateway/web/irccloud.com/x-auonqazuemdkzyye) (*.net *.split) |
| 2020-12-05 03:13:20 | × | PotatoGim quits (sid99505@gateway/web/irccloud.com/x-hlnasejbcjzegeqa) (*.net *.split) |
| 2020-12-05 03:13:29 | → | Rockj joins (~rockj@2001:67c:550:feed::1) |
| 2020-12-05 03:17:56 | × | Nahra quits (~Nahra@unaffiliated/nahra) (Quit: leaving) |
| 2020-12-05 03:18:43 | → | dsal joins (sid13060@gateway/web/irccloud.com/x-auonqazuemdkzyye) |
| 2020-12-05 03:18:43 | → | PotatoGim joins (sid99505@gateway/web/irccloud.com/x-hlnasejbcjzegeqa) |
| 2020-12-05 03:22:57 | × | Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 260 seconds) |
| 2020-12-05 03:27:06 | × | abhixec quits (~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) (Ping timeout: 260 seconds) |
| 2020-12-05 03:29:38 | → | Rockj joins (~rockj@2001:67c:550:feed::1) |
| 2020-12-05 03:33:45 | × | theDon quits (~td@94.134.91.27) (Ping timeout: 240 seconds) |
| 2020-12-05 03:35:53 | → | theDon joins (~td@muedsl-82-207-238-039.citykom.de) |
| 2020-12-05 04:09:25 | × | byorgey quits (~byorgey@155.138.238.211) (Ping timeout: 240 seconds) |
| 2020-12-05 04:26:15 | → | byorgey joins (~byorgey@155.138.238.211) |
| 2020-12-05 04:41:01 | × | byorgey quits (~byorgey@155.138.238.211) (Ping timeout: 264 seconds) |
| 2020-12-05 05:25:29 | × | Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 244 seconds) |
| 2020-12-05 05:53:03 | × | novas0x2a quits (~blah@157-131-125-210.fiber.dynamic.sonic.net) (Read error: Connection reset by peer) |
| 2020-12-05 05:53:40 | → | novas0x2a joins (~blah@157-131-125-210.fiber.dynamic.sonic.net) |
| 2020-12-05 05:58:17 | → | Rockj joins (~rockj@2001:67c:550:feed::1) |
| 2020-12-05 06:04:50 | × | Rockj quits (~rockj@2001:67c:550:feed::1) (Ping timeout: 264 seconds) |
| 2020-12-05 06:13:35 | → | palo1 joins (~weechat@c-base/crew/palo) |
All times are in UTC.