Logs: liberachat/#xmonad
| 2021-11-11 00:46:03 | → | diep joins (~diep@2a01:cb11:2d7:4a00:2274:48a2:c68a:a306) |
| 2021-11-11 00:50:47 | × | pl quits (sid98063@helmsley.irccloud.com) (Ping timeout: 264 seconds) |
| 2021-11-11 00:54:06 | <diep> | Hi guys ! There is a way to always place a specific window (trayer window in my case) on top of other windows (on top of xmobar window in my case) ? |
| 2021-11-11 00:54:18 | → | pl joins (sid98063@helmsley.irccloud.com) |
| 2021-11-11 00:55:04 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-Hacks.html#v:trayerAboveXmobarEventHook |
| 2021-11-11 00:55:37 | <diep> | Oh I misse that! I take a look, thank! |
| 2021-11-11 00:55:39 | <geekosaur> | there is a smarter version of this in development but not ready for use quite yet |
| 2021-11-11 00:55:57 | <diep> | okok good to know |
| 2021-11-11 01:04:02 | × | hippoid quits (~hippoid@c-98-220-13-8.hsd1.il.comcast.net) (Remote host closed the connection) |
| 2021-11-11 01:04:18 | → | jmct_ joins (sid160793@tinside.irccloud.com) |
| 2021-11-11 01:11:38 | → | amir joins (sid22336@user/amir) |
| 2021-11-11 01:14:22 | → | mudri joins (sid317655@helmsley.irccloud.com) |
| 2021-11-11 01:15:04 | → | PotatoGim joins (sid99505@lymington.irccloud.com) |
| 2021-11-11 01:27:59 | × | diep quits (~diep@2a01:cb11:2d7:4a00:2274:48a2:c68a:a306) (Quit: diep) |
| 2021-11-11 01:30:35 | × | PotatoGim quits (sid99505@lymington.irccloud.com) (Ping timeout: 256 seconds) |
| 2021-11-11 01:30:35 | × | mudri quits (sid317655@helmsley.irccloud.com) (Ping timeout: 256 seconds) |
| 2021-11-11 01:32:29 | → | PotatoGim joins (sid99505@lymington.irccloud.com) |
| 2021-11-11 01:34:06 | → | mudri joins (sid317655@helmsley.irccloud.com) |
| 2021-11-11 01:36:23 | × | SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 264 seconds) |
| 2021-11-11 02:26:17 | → | gdd joins (~gdd@129.199.146.230) |
| 2021-11-11 02:35:18 | → | SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) |
| 2021-11-11 02:49:17 | × | catman quits (~catman@user/catman) (Remote host closed the connection) |
| 2021-11-11 02:57:19 | → | catman joins (~catman@user/catman) |
| 2021-11-11 03:02:54 | × | banc- quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds) |
| 2021-11-11 03:24:11 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-11-11 03:36:02 | → | wmc joins (~wmc@124.170.223.28) |
| 2021-11-11 03:36:26 | ← | wmc parts (~wmc@124.170.223.28) () |
| 2021-11-11 04:00:02 | × | haasn quits (~nand@haasn.dev) (Quit: ZNC 1.7.5+deb4 - https://znc.in) |
| 2021-11-11 04:01:11 | × | Extropy quits (~extropy@user/extropy) (Remote host closed the connection) |
| 2021-11-11 04:01:28 | → | haasn joins (~nand@haasn.dev) |
| 2021-11-11 04:01:40 | → | Extropy joins (~extropy@user/extropy) |
| 2021-11-11 04:02:10 | × | td_ quits (~td@94.134.91.32) (Ping timeout: 260 seconds) |
| 2021-11-11 04:03:03 | × | Extropy quits (~extropy@user/extropy) (Client Quit) |
| 2021-11-11 04:04:03 | → | td_ joins (~td@94.134.91.245) |
| 2021-11-11 04:29:25 | × | eblip quits (~eb0t@90.199.241.70) (Read error: Connection reset by peer) |
| 2021-11-11 04:35:02 | → | eblip joins (~eb0t@90.209.246.132) |
| 2021-11-11 04:39:56 | → | noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) |
| 2021-11-11 04:46:04 | × | noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!) |
| 2021-11-11 04:50:30 | → | noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) |
| 2021-11-11 05:16:28 | → | Guest4467 joins (~Guest44@50.7.251.186) |
| 2021-11-11 05:16:51 | × | Guest4467 quits (~Guest44@50.7.251.186) (Client Quit) |
| 2021-11-11 05:27:35 | → | stsaintwyy[m] joins (~stsaintwy@2001:470:69fc:105::1:3181) |
| 2021-11-11 05:37:36 | × | noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Ping timeout: 245 seconds) |
| 2021-11-11 05:42:45 | → | qbt joins (~qbt@user/edun) |
| 2021-11-11 06:18:52 | → | safeguard-irc joins (~safeguard@151.42.165.137) |
| 2021-11-11 06:25:48 | × | safeguard-irc quits (~safeguard@151.42.165.137) (Read error: Connection reset by peer) |
| 2021-11-11 06:26:10 | → | safeguard-irc joins (~safeguard@37.159.126.185) |
| 2021-11-11 06:35:23 | × | safeguard-irc quits (~safeguard@37.159.126.185) (Read error: Connection reset by peer) |
| 2021-11-11 06:36:10 | → | safeguard-irc joins (~safeguard@37.159.126.185) |
| 2021-11-11 06:36:36 | × | safeguard-irc quits (~safeguard@37.159.126.185) (Client Quit) |
| 2021-11-11 07:12:13 | → | benin joins (~benin@183.82.26.68) |
| 2021-11-11 07:19:48 | <Solid> | liskin: do you know if the debian install instructions in INSTALL.md slurp in the xorg stack as well? |
| 2021-11-11 07:20:32 | <Solid> | we've had someone complain on reddit that xmonad wasn't working and it turns out arch installs neither xorg, nor xorg-xinit as a dependency of any of those (nor xorg-xmessage, which is obviously also important for us) |
| 2021-11-11 07:20:45 | <Solid> | I reckon we should add these to the instructions |
| 2021-11-11 07:34:15 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2021-11-11 07:40:03 | × | SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 256 seconds) |
| 2021-11-11 07:50:21 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2021-11-11 08:00:47 | × | codedmart quits (codedmart@2600:3c01::f03c:92ff:fefe:8511) (Quit: ZNC 1.7.5+deb4 - https://znc.in) |
| 2021-11-11 08:01:02 | → | codedmart joins (codedmart@2600:3c01::f03c:92ff:fefe:8511) |
| 2021-11-11 08:40:20 | × | benin quits (~benin@183.82.26.68) (Ping timeout: 268 seconds) |
| 2021-11-11 08:47:12 | → | cfricke joins (~cfricke@user/cfricke) |
| 2021-11-11 08:52:19 | → | benin joins (~benin@106.198.86.143) |
| 2021-11-11 09:17:33 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2021-11-11 09:17:33 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 2021-11-11 09:17:36 | allbery_b | is now known as geekosaur |
| 2021-11-11 09:22:20 | → | electr0n joins (~electr0n@about/security/founder/electr0n) |
| 2021-11-11 09:26:22 | → | Vermoot joins (~vermoot@89-158-106-112.rev.numericable.fr) |
| 2021-11-11 10:08:47 | → | benin5 joins (~benin@106.198.94.217) |
| 2021-11-11 10:09:45 | × | benin quits (~benin@106.198.86.143) (Ping timeout: 268 seconds) |
| 2021-11-11 10:09:46 | benin5 | is now known as benin |
| 2021-11-11 10:12:32 | <Vermoot> | Hey there! |
| 2021-11-11 10:12:34 | <Vermoot> | New issue :D |
| 2021-11-11 10:13:16 | <Vermoot> | I'm using TiledWindowDragging, and it's awesome |
| 2021-11-11 10:13:48 | <Vermoot> | And in my mouse bindings, I've set ` ((modMask, button1), dragWindow)` |
| 2021-11-11 10:14:08 | <Vermoot> | So I can use mod+LMB to drag windows on top of each other and swap them out |
| 2021-11-11 10:14:29 | <Vermoot> | This works great, but the problem now is: I can't move floating windows anymore |
| 2021-11-11 10:15:29 | <Vermoot> | I'd like to be able to do both with Mod+button1, since a window is always either floating or not floating, there won't be any conflicts |
| 2021-11-11 10:15:55 | <Vermoot> | So the question is: How do I bind both of these actions to the same mouse binding? |
| 2021-11-11 10:23:38 | <fizzie> | A mouse binding is given a Window, and checking whether a window is floating looks something like `withWindowSet (M.member w . W.floating)` with the usual imports (XMonad.StackSet as W, Data.Map as M), so I imagine the binding would look something like... `\w -> whenM (withWindowSet (M.member w . W.floating) (dragWindow w) (mouseMoveWindow w)`. |
| 2021-11-11 10:23:42 | <fizzie> | Entirely untested, of course. |
| 2021-11-11 10:24:09 | <fizzie> | And with the missing ) inserted. |
| 2021-11-11 10:25:16 | <Vermoot> | Thank you, I'll try that soon |
| 2021-11-11 10:27:47 | <fizzie> | Also I got those conditions exactly the wrong way around. :) |
| 2021-11-11 10:28:09 | <fizzie> | You wanted mouseMoveWindow *when* it's floating, and dragWindow when not. |
| 2021-11-11 10:28:45 | <fizzie> | And the default binding for (modMask, button1) is `focus w >> mouseMoveWindow w >> windows W.shiftMaster`; not sure whether those two other bits (that sound like they're just moving the focus) are crucial, but you could include them in as well. |
| 2021-11-11 10:32:31 | Andrew_ | is now known as AndrewYu |
| 2021-11-11 10:34:25 | × | benin quits (~benin@106.198.94.217) (Ping timeout: 268 seconds) |
| 2021-11-11 10:37:43 | <Solid> | AFAIR focus is important if you don't have focusFollowsMouse |
| 2021-11-11 10:37:56 | <Solid> | because then the window under the point is potentially not focused |
| 2021-11-11 10:45:49 | <Solid> | (also you probably want ifM instead of whenM, neither of which is defined anywhere anyways, so you'll either have to define them yourself or just do it by hand along the lines of `\w -> do floating <- withWindowSet ...; if floating then ... else ...`) |
| 2021-11-11 10:55:40 | <fizzie> | Yeah, ifM is what I meant. And it's defined in XMonad.ManageHook. ;) |
| 2021-11-11 10:56:09 | → | diep joins (~diep@2a01:cb11:2d7:4a00:4202:8c7d:a3d3:256f) |
| 2021-11-11 10:56:42 | <Solid> | ooooh neat |
| 2021-11-11 10:57:14 | × | diep quits (~diep@2a01:cb11:2d7:4a00:4202:8c7d:a3d3:256f) (Client Quit) |
| 2021-11-11 10:57:34 | <Solid> | the core has some nice helper functions strewn around in random places |
| 2021-11-11 11:05:16 | <Vermoot> | Alright, I'm saving all this, I should be able to make it work thanks to you now |
| 2021-11-11 11:16:42 | → | benin joins (~benin@106.198.89.104) |
| 2021-11-11 12:10:08 | × | benin quits (~benin@106.198.89.104) (Quit: Ping timeout (120 seconds)) |
| 2021-11-11 12:10:27 | → | benin joins (~benin@106.198.89.104) |
| 2021-11-11 12:26:27 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.3) |
All times are in UTC.