Logs: liberachat/#xmonad
| 2024-12-18 03:11:54 | <geekosaur> | wrong prefix π |
| 2024-12-18 03:13:50 | <beastwick> | wrong prefix? |
| 2024-12-18 03:16:18 | <geekosaur> | it's wromnganyway |
| 2024-12-18 03:17:02 | <geekosaur> | (I needed W. instead of S., but there are bigger problems; onScreen' doesn't run inside X.O.windows so getting a ScreeenID is harder) |
| 2024-12-18 03:18:34 | <geekosaur> | okay, ugly but the types work |
| 2024-12-18 03:18:38 | <geekosaur> | gets (W.screen . W.current . windowset) >>= \(S s) -> onScreen' viewEmptyWorkspace FocusCurrent (S (1 - s)) |
| 2024-12-18 03:18:53 | <beastwick> | it's beautiful |
| 2024-12-18 03:18:55 | <geekosaur> | without X.O.windows, because onScreen' doesn't use it |
| 2024-12-18 03:19:10 | <geekosaur> | and you can't use viewEmptyWorkspace with X.O.windows |
| 2024-12-18 03:19:10 | <beastwick> | is 'gets' required? |
| 2024-12-18 03:19:13 | <geekosaur> | yes |
| 2024-12-18 03:19:20 | <geekosaur> | it's what extracts the current screen |
| 2024-12-18 03:19:56 | <geekosaur> | "get with selector (W.screen . W.current . windowset)" |
| 2024-12-18 03:20:45 | <geekosaur> | see https://hackage.haskell.org/package/transformers/docs/Control-Monad-Trans-State-Lazy.html#v:gets |
| 2024-12-18 03:21:40 | <beastwick> | thanks ^, this worked! |
| 2024-12-18 03:21:50 | <beastwick> | I will study the solution |
| 2024-12-18 03:22:38 | <beastwick> | this was simply for focusing/hiding distractions on other screens, I am lazy and don't want to have to focus them to hide them. |
| 2024-12-18 03:22:46 | <beastwick> | :D |
| 2024-12-18 03:23:28 | <geekosaur> | isn't it easier to make a compositor dim non-focused screens to 0? |
| 2024-12-18 03:24:27 | Γ | Leary quits (~Leary@user/Leary/x-0910699) (Remote host closed the connection) |
| 2024-12-18 03:25:13 | <beastwick> | I didn't even know you could do that... |
| 2024-12-18 03:25:28 | <beastwick> | and I am not using a compositor with my xmonad, maybe I should I suppose |
| 2024-12-18 03:26:09 | <beastwick> | ohhh, that's also assuming I can programatically affect my monitor brightness also - not sure I can |
| 2024-12-18 03:27:14 | <geekosaur> | on second thought, compositors don't know about xmonad's screens, they think the whole thing is a single workspace |
| 2024-12-18 03:27:14 | <beastwick> | I like your solution |
| 2024-12-18 03:27:37 | <geekosaur> | and no, I'm not talking about monitor brightness |
| 2024-12-18 03:28:15 | <geekosaur> | it's about the compositor adjusting the brightness or the transparency of windows as it renders them to the actual screen |
| 2024-12-18 03:28:28 | <geekosaur> | picom can do both |
| 2024-12-18 03:28:55 | <geekosaur> | sadly it doesn't know about xmonad workspaces so it can't dial down either one properly here |
| 2024-12-18 03:28:57 | <geekosaur> | oh well |
| 2024-12-18 03:29:11 | <beastwick> | haha, i'll check out picom regardless |
| 2024-12-18 03:29:23 | <beastwick> | but also your sln is working for me |
| 2024-12-18 03:42:19 | Γ | terrorjack4 quits (~terrorjac@2a01:4f8:c17:dc9f::) (Quit: The Lounge - https://thelounge.chat) |
| 2024-12-18 03:45:09 | β | terrorjack4 joins (~terrorjac@2a01:4f8:c17:dc9f::) |
| 2024-12-18 03:47:11 | β | Leary joins (~Leary@user/Leary/x-0910699) |
| 2024-12-18 03:47:51 | Γ | td_ quits (~td@i5387092E.versanet.de) (Ping timeout: 252 seconds) |
| 2024-12-18 03:49:45 | β | td_ joins (~td@i53870921.versanet.de) |
| 2024-12-18 03:50:14 | <geekosaur> | actually I think that can be simplified slightly because someone thought it was a good idea to give ScreenId a Num instance |
| 2024-12-18 03:50:39 | <geekosaur> | gets (W.screen . W.current . windowset) >>= \s -> onScreen' viewEmptyWorkspace FocusCurrent (1 - s) |
| 2024-12-18 04:03:13 | <beastwick> | I'll give it a try |
| 2024-12-18 04:35:51 | Γ | rekahsoft quits (~rekahsoft@76.69.85.220) (Remote host closed the connection) |
| 2024-12-18 04:41:23 | β | alp joins (~alp@2001:861:8ca0:4940:d739:f225:bf6f:3d8f) |
| 2024-12-18 04:45:24 | β | ChubaDuba joins (~ChubaDuba@79.136.177.225) |
| 2024-12-18 06:07:37 | β | OftenFaded joins (~OftenFade@user/tisktisk) |
| 2024-12-18 07:51:03 | Γ | jusa quits (~jusa@kraa.fi) (Quit: WeeChat 4.4.1) |
| 2024-12-18 07:53:14 | β | jusa joins (~jusa@kraa.fi) |
| 2024-12-18 08:49:20 | β | ash3en joins (~Thunderbi@193.32.248.167) |
| 2024-12-18 08:52:17 | β | Digitteknohippie joins (~user@user/digit) |
| 2024-12-18 08:53:40 | Γ | Digit quits (~user@user/digit) (Ping timeout: 260 seconds) |
| 2024-12-18 09:01:26 | β | ash3en1 joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) |
| 2024-12-18 09:02:15 | Γ | ash3en1 quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Client Quit) |
| 2024-12-18 09:03:12 | Γ | ash3en quits (~Thunderbi@193.32.248.167) (Ping timeout: 252 seconds) |
| 2024-12-18 09:09:54 | Digitteknohippie | is now known as Digit |
| 2024-12-18 09:17:51 | Γ | Leary quits (~Leary@user/Leary/x-0910699) (Remote host closed the connection) |
| 2024-12-18 09:28:41 | β | Leary joins (~Leary@user/Leary/x-0910699) |
| 2024-12-18 10:20:09 | Γ | OftenFaded quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 2024-12-18 11:49:15 | Γ | alp quits (~alp@2001:861:8ca0:4940:d739:f225:bf6f:3d8f) (Ping timeout: 260 seconds) |
| 2024-12-18 12:39:05 | β | ash3en joins (~Thunderbi@146.70.124.222) |
| 2024-12-18 12:44:40 | Γ | ash3en quits (~Thunderbi@146.70.124.222) (Remote host closed the connection) |
| 2024-12-18 14:39:53 | Γ | ChubaDuba quits (~ChubaDuba@79.136.177.225) (Quit: WeeChat 4.4.2) |
| 2024-12-18 15:39:00 | β | ash3en joins (~Thunderbi@146.70.124.222) |
| 2024-12-18 15:43:14 | Γ | ash3en quits (~Thunderbi@146.70.124.222) (Ping timeout: 252 seconds) |
| 2024-12-18 15:59:47 | β | sol20 joins (~sol@49.228.249.152) |
| 2024-12-18 16:00:10 | <sol20> | Hi π |
| 2024-12-18 16:00:59 | <geekosaur> | hello |
| 2024-12-18 16:01:56 | <sol20> | I'm writing a layout. The layout should display some windows in dedicated areas. |
| 2024-12-18 16:02:22 | <sol20> | What would be the most idiomatic way to do that? |
| 2024-12-18 16:02:54 | <sol20> | Usually it should be some specific program or something |
| 2024-12-18 16:03:28 | <sol20> | The question is, how should I tag my windows? Β With x properties? |
| 2024-12-18 16:05:26 | <sol20> | Think of it like that, let's say I start e.g. ghcid in some terminal, I wanna treat the windows differently in my layout. |
| 2024-12-18 16:05:31 | <geekosaur> | have you looked at https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Layout-IM.html and https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Layout-Monitor.html |
| 2024-12-18 16:06:21 | <sol20> | Let me take a look. |
| 2024-12-18 16:06:53 | <geekosaur> | if you want to use window propeerties instead of what amounts to ManageHooks, there's https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Actions-TagWindows.html as a starting point |
| 2024-12-18 16:14:10 | <sol20> | geekosaur I think this gives me something to work with. Thanks a lot. |
| 2024-12-18 16:17:25 | Γ | haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection) |
| 2024-12-18 16:18:21 | β | haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com) |
| 2024-12-18 16:23:25 | Γ | sol20 quits (~sol@49.228.249.152) (Quit: Client closed) |
| 2024-12-18 16:38:15 | β | alp joins (~alp@2001:861:8ca0:4940:268e:5456:127:feca) |
| 2024-12-18 16:40:26 | β | Profpatsch parts (~Profpatsc@user/Profpatsch) (WeeChat 4.4.3) |
| 2024-12-18 18:19:23 | β | OftenFaded joins (~OftenFade@user/tisktisk) |
| 2024-12-18 19:04:38 | β | ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) |
| 2024-12-18 19:41:17 | Γ | ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en) |
| 2024-12-18 22:40:45 | Γ | OftenFaded quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 2024-12-18 22:42:13 | β | OftenFaded joins (~OftenFade@user/tisktisk) |
| 2024-12-18 22:43:01 | Γ | OftenFaded quits (~OftenFade@user/tisktisk) (Client Quit) |
| 2024-12-18 22:44:11 | β | OftenFaded joins (~OftenFade@user/tisktisk) |
| 2024-12-18 22:49:34 | β | bwolf parts (c3bc363dd1@2a03:6000:1812:100::180) () |
| 2024-12-19 00:24:03 | β | hightower3 joins (~hightower@141-136-146-29.dsl.iskon.hr) |
| 2024-12-19 01:21:43 | Γ | OftenFaded quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 2024-12-19 01:36:34 | Γ | alp quits (~alp@2001:861:8ca0:4940:268e:5456:127:feca) (Ping timeout: 272 seconds) |
| 2024-12-19 01:40:19 | β | OftenFaded joins (~OftenFade@user/tisktisk) |
| 2024-12-19 02:41:11 | Γ | OftenFaded quits (~OftenFade@user/tisktisk) (Quit: Client closed) |
| 2024-12-19 03:22:40 | Γ | hightower3 quits (~hightower@141-136-146-29.dsl.iskon.hr) (Read error: Connection reset by peer) |
| 2024-12-19 03:24:13 | β | hightower3 joins (~hightower@151-15.dsl.iskon.hr) |
| 2024-12-19 03:26:19 | Γ | hightower3 quits (~hightower@151-15.dsl.iskon.hr) (Remote host closed the connection) |
| 2024-12-19 03:26:43 | β | hightower3 joins (~hightower@151-15.dsl.iskon.hr) |
| 2024-12-19 03:28:19 | Γ | hightower3 quits (~hightower@151-15.dsl.iskon.hr) (Remote host closed the connection) |
| 2024-12-19 03:28:43 | β | hightower3 joins (~hightower@151-15.dsl.iskon.hr) |
| 2024-12-19 03:46:59 | Γ | td_ quits (~td@i53870921.versanet.de) (Ping timeout: 265 seconds) |
| 2024-12-19 03:48:31 | β | td_ joins (~td@i53870932.versanet.de) |
All times are in UTC.