2022-07-04 00:03:04 +0200 | <geekosaur> | guess the next step is to look more closely at what WN is doing, although my previous looks at it just showed it doing the same thing the core does |
2022-07-04 00:03:13 +0200 | <geekosaur> | and even calling the core functions for it |
2022-07-04 00:14:24 +0200 | alternateved | (~alternate@82.180.151.30) (Remote host closed the connection) |
2022-07-04 00:23:13 +0200 | <geekosaur> | hrm |
2022-07-04 00:23:37 +0200 | geekosaur | wonders what `pixelToString` does when handed a pixel with alpha |
2022-07-04 00:38:07 +0200 | chomwitt | (~chomwitt@2a02:587:dc17:ef00:fd52:a6f3:ef09:f22e) (Ping timeout: 260 seconds) |
2022-07-04 00:54:18 +0200 | ChatSlayer[m] | ChaoticMist[m] |
2022-07-04 01:02:55 +0200 | jao | (~jao@guest2.nyenrode.nl) |
2022-07-04 01:15:29 +0200 | <geekosaur> | got half of it. if the pixel value handed to pixelToString has an alpha, it returns #000000 |
2022-07-04 01:15:42 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 264 seconds) |
2022-07-04 01:16:39 +0200 | <geekosaur> | but there's still that weird BadValue and it's happening somewhere other than painting the border apparently |
2022-07-04 01:17:37 +0200 | sogens | (~sogens@211.30.154.12) |
2022-07-04 01:17:59 +0200 | <geekosaur> | (and in my case it only happens with the normal border color; the focused border color seems fine) |
2022-07-04 01:28:20 +0200 | henninb | (~henninb@63-231-187-148.mpls.qwest.net) |
2022-07-04 01:31:37 +0200 | henninb | (~henninb@63-231-187-148.mpls.qwest.net) (Client Quit) |
2022-07-04 01:31:56 +0200 | henninb | (~henninb@63-231-187-148.mpls.qwest.net) |
2022-07-04 01:32:04 +0200 | henninb | (~henninb@63-231-187-148.mpls.qwest.net) (Client Quit) |
2022-07-04 01:46:49 +0200 | <geekosaur> | bingo! `averagePixels` also does the wrong thing when the pixels have alpha. I now have working WindowNavigation |
2022-07-04 01:51:00 +0200 | Ocelot | (~ocelot@50-78-208-189-static.hfc.comcastbusiness.net) |
2022-07-04 02:14:30 +0200 | jao | (~jao@guest2.nyenrode.nl) (Ping timeout: 264 seconds) |
2022-07-04 02:16:55 +0200 | jao | (~jao@guest2.nyenrode.nl) |
2022-07-04 02:24:10 +0200 | jao | (~jao@guest2.nyenrode.nl) (Ping timeout: 240 seconds) |
2022-07-04 02:30:24 +0200 | <geekosaur> | figuring out that X11 doesn't really support alpha internally had a lot to do with that |
2022-07-04 02:49:29 +0200 | <Lears> | scotabroad[m]: X.L.Tabbed does vertical decorations. |
2022-07-04 02:50:43 +0200 | <geekosaur> | hm, okay, so that means Decoration should work fine for that |
2022-07-04 02:50:51 +0200 | <geekosaur> | I forgot about vertical tabs |
2022-07-04 02:53:27 +0200 | <scotabroad[m]> | Lears: Ooh, I am going to look more into that |
2022-07-04 03:14:48 +0200 | <liskin> | oh my I'm so glad we have CI but I wish I waited for it before opening a PR and making an idiot of myself :-) |
2022-07-04 03:15:53 +0200 | <geekosaur> | I got nailed by a tab (damn nvim anyway) and had to hurriedly force-push 🙂 |
2022-07-04 03:16:49 +0200 | <liskin> | oh you got nvim already :-o |
2022-07-04 03:17:21 +0200 | <liskin> | anyway, I'm like 140 minutes past the time I should've gone to sleep so … |
2022-07-04 03:17:22 +0200 | <geekosaur> | mostly I use emacs but it's annoying to open a new frame for quickish changes |
2022-07-04 03:17:27 +0200 | <geekosaur> | gnite |
2022-07-04 03:17:41 +0200 | <geekosaur> | someone can deal with our PRs tomorrow |
2022-07-04 03:17:56 +0200 | <liskin> | good job on the colors stuff btw, but I'm not commenting on it today :-) |
2022-07-04 03:18:06 +0200 | <liskin> | gnite |
2022-07-04 04:03:50 +0200 | banc | (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds) |
2022-07-04 04:12:03 +0200 | sogens | (~sogens@211.30.154.12) (Ping timeout: 276 seconds) |
2022-07-04 04:13:27 +0200 | sogens | (~sogens@211.30.154.12) |
2022-07-04 04:22:55 +0200 | sogens | (~sogens@211.30.154.12) (Ping timeout: 256 seconds) |
2022-07-04 04:23:05 +0200 | banc | (banc@gateway/vpn/airvpn/banc) |
2022-07-04 04:24:40 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) |
2022-07-04 04:37:39 +0200 | td_ | (~td@muedsl-82-207-238-139.citykom.de) (Ping timeout: 246 seconds) |
2022-07-04 04:39:37 +0200 | td_ | (~td@94.134.91.91) |
2022-07-04 06:26:13 +0200 | lisq | (~quassel@lis.moe) (*.net *.split) |
2022-07-04 06:26:13 +0200 | amir | (sid22336@user/amir) (*.net *.split) |
2022-07-04 06:26:26 +0200 | lisq | (~quassel@lis.moe) |
2022-07-04 06:26:29 +0200 | amir | (sid22336@user/amir) |
2022-07-04 06:37:26 +0200 | ircbrowse_tom | (~ircbrowse@static.162.49.55.162.clients.your-server.de) (ZNC 1.7.5+deb4 - https://znc.in) |
2022-07-04 06:38:19 +0200 | ircbrowse_tom | (~ircbrowse@2a01:4f8:1c1c:9319::1) |
2022-07-04 06:38:19 +0200 | Server | +cnt |
2022-07-04 06:38:37 +0200 | PotatoGim | (sid99505@id-99505.lymington.irccloud.com) |
2022-07-04 06:38:52 +0200 | coldpress | (~coldpress@72.136.212.35.bc.googleusercontent.com) |
2022-07-04 07:52:01 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 256 seconds) |
2022-07-04 07:54:04 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) |
2022-07-04 08:52:58 +0200 | alternateved | (~alternate@37.120.211.126) |
2022-07-04 08:53:51 +0200 | cfricke | (~cfricke@user/cfricke) |
2022-07-04 08:56:23 +0200 | chomwitt | (~chomwitt@2a02:587:dc17:ef00:b970:eb1f:3e6:5c29) |
2022-07-04 09:22:33 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 246 seconds) |
2022-07-04 09:32:39 +0200 | benin0 | (~benin@183.82.27.194) |
2022-07-04 10:08:41 +0200 | Jade20 | (~Jade@ip-178-201-128-039.um46.pools.vodafone-ip.de) |
2022-07-04 10:08:52 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) |
2022-07-04 10:09:16 +0200 | Jade20 | (~Jade@ip-178-201-128-039.um46.pools.vodafone-ip.de) (Client Quit) |
2022-07-04 10:11:49 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) |
2022-07-04 10:16:24 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) (Quit: WeeChat 3.5) |
2022-07-04 10:50:44 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) |
2022-07-04 11:06:57 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) (Ping timeout: 256 seconds) |
2022-07-04 11:12:57 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 276 seconds) |
2022-07-04 11:14:07 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) |
2022-07-04 11:55:51 +0200 | benin0 | (~benin@183.82.27.194) (Ping timeout: 246 seconds) |
2022-07-04 11:57:24 +0200 | benin0 | (~benin@183.82.26.81) |
2022-07-04 13:33:35 +0200 | <deepy> | Do I need to do anything magical in xmobar to get utf8 to work? Debian promises they're building with full unicode support but if I cat a file or if I have a window with traditional chinese characters in it they all get messed up :-( |
2022-07-04 13:44:15 +0200 | <MrElendig> | messed up how? |
2022-07-04 13:46:27 +0200 | <deepy> | I'm getting latin characters instead: https://i.imgur.com/6ETUL4n.png |
2022-07-04 13:46:59 +0200 | <deepy> | 2&3>J? is one heck of an artist name though :-) |
2022-07-04 13:50:00 +0200 | <deepy> | 黑超 shows as }YD6 |
2022-07-04 13:57:26 +0200 | ectospasm | (~ectospasm@user/ectospasm) (Quit: WeeChat 3.5) |
2022-07-04 13:58:36 +0200 | <vrs> | check that your env has set the correct locale, the desktop session doesn't read its env variables from the same place as shell sessions |
2022-07-04 13:58:52 +0200 | <vrs> | also sometimes it's a font problem |
2022-07-04 13:59:52 +0200 | <vrs> | you can test that by starting your xmobar from a shell with the correct locale |
2022-07-04 14:02:40 +0200 | <deepy> | starting with the correct locale I still get the same issue |
2022-07-04 14:03:30 +0200 | <deepy> | ah, it's probably fonts, it works fine with åäö and those aren't latin1 |
2022-07-04 14:03:37 +0200 | <deepy> | thanks! |
2022-07-04 14:10:25 +0200 | <fizzie> | That's a bit confusing statement, because åäö *are* part of the Latin 1 (ISO-8859-1) repertoire. (Perhaps not encoded as such in your specific instance, but still.) |
2022-07-04 14:11:29 +0200 | <deepy> | it's probably fonts, it worked fine with a particular set of utf8 åäös :-) |
2022-07-04 14:12:34 +0200 | <geekosaur> | still doesn't make a whole lot of sense… |
2022-07-04 14:13:02 +0200 | <deepy> | Okay, it's probably fonts, it worked with חיפוש and Hebrew on IRC is what initially got me to learn about encodings |
2022-07-04 14:15:21 +0200 | geekosaur | wonders if that's big5 encoded |
2022-07-04 14:16:23 +0200 | <geekosaur> | nope |
2022-07-04 14:16:38 +0200 | <geekosaur> | seems like a double byte encoding of some kind |
2022-07-04 14:18:38 +0200 | <alternateved> | Not sure if that is connected, but I also have issues with rendering some symbols on xmobar - mostly window titles |
2022-07-04 14:19:33 +0200 | <alternateved> | Like if there are some polish characters such as ąęćóśł, they do not get rendered at all |
2022-07-04 14:20:22 +0200 | <geekosaur> | hm. I don't but I use xmonad-log-applet which uses pango so there's rarely a problem with such characters these days |
2022-07-04 14:21:17 +0200 | <alternateved> | Not sure, what is the problem here. Weirdly enough I can render those characters anywhere else - like in plugins, as a string or as a workspace name |
2022-07-04 14:21:32 +0200 | <alternateved> | So it is not font |
2022-07-04 14:21:49 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) |
2022-07-04 14:22:46 +0200 | <deepy> | I tried adding 黑超 directly into xmobar and that didn't work for me either |
2022-07-04 14:23:18 +0200 | <geekosaur> | there's a separate ppTitleSanitize, might check that |
2022-07-04 14:23:47 +0200 | <geekosaur> | xmobar is supposed to handle utf8 but I don't know much in the way of details since I don't use it |
2022-07-04 14:29:13 +0200 | <vrs> | those chinese chars work for me, at least in window titles |
2022-07-04 14:36:26 +0200 | <deepy> | Anything out of the ordinary in your setup? |
2022-07-04 14:39:48 +0200 | <vrs> | locale is en_US.UTF-8 (I set this somewhere global, forgot where), fontstring is "xft:Terminus (TTF):pixelsize=12,Fairfax:pixelsize=12,Unifont:pixelsize=12" |
2022-07-04 14:40:17 +0200 | <vrs> | unifont is ugly but has almost everything so it's an okay fallback |
2022-07-04 14:44:12 +0200 | <vrs> | kind of annoyingly, some cyrillic chars have really weird lowercase forms in this, but at least I don't get mojibake |
2022-07-04 14:48:45 +0200 | <vrs> | putting the chars directly into my config also works fine |
2022-07-04 14:49:21 +0200 | <deepy> | AR PL UKai HK:style=Book works for me, and looks pretty nice |
2022-07-04 14:49:29 +0200 | <deepy> | It was fonts, thanks everyone :-) |
2022-07-04 14:56:03 +0200 | Guest27 | (~Guest27@h-98-128-228-171.NA.cust.bahnhof.se) |
2022-07-04 14:56:36 +0200 | <Guest27> | Hello! I'm studying design of haskell projects, and came across denotational design. Has anybody here used it? |
2022-07-04 14:58:14 +0200 | <geekosaur> | not really. xmonad is about as procedural as haskell gets, since it's a thin layer atop Xlib. you might ask in #haskell though |
2022-07-04 14:58:49 +0200 | <geekosaur> | functional reactive programming might be of interest, but it's still very much in development so I don't think any major projects use it yet |
2022-07-04 15:02:25 +0200 | <alternateved> | FRP in development? What do you mean by that? |
2022-07-04 15:02:44 +0200 | thunderrd | (~thunderrd@183.182.115.193) (Ping timeout: 272 seconds) |
2022-07-04 15:03:09 +0200 | <geekosaur> | it's a research topic still |
2022-07-04 15:03:37 +0200 | <alternateved> | Ah, I am just surprised, I work for company where FRP is used |
2022-07-04 15:03:44 +0200 | <geekosaur> | there are libraries for it (e.g. reactive-banana) but it's not really up to production use yet |
2022-07-04 15:04:21 +0200 | <geekosaur> | and I know Obsidian has some stuff that is largely dependent on fixes to Control.Arrow, which really does need a redesign |
2022-07-04 15:04:22 +0200 | <Guest27> | Well, all I'm trying to do is write better code. I recently wrote a hang-man in Haskell but wasn't very pleased by how the code look (https://codereview.stackexchange.com/questions/277633/hangman-game-in-haskell-written-using-a-stat…) |
2022-07-04 15:04:34 +0200 | <Guest27> | Found denotational design and thought it might help me write more idiomatic code |
2022-07-04 15:04:54 +0200 | <geekosaur> | right, you'll do better in #haskell then |
2022-07-04 15:05:12 +0200 | <alternateved> | Yeah, Obsidian use reflex: https://reflex-frp.org/ |
2022-07-04 15:07:24 +0200 | <Guest27> | alright, thanks for the tip! |
2022-07-04 15:21:34 +0200 | Guest2776 | (~Guest27@h-98-128-228-171.NA.cust.bahnhof.se) |
2022-07-04 15:21:41 +0200 | Guest2776 | (~Guest27@h-98-128-228-171.NA.cust.bahnhof.se) (Client Quit) |
2022-07-04 15:27:37 +0200 | Jade1 | (~Jade@ip-178-201-128-039.um46.pools.vodafone-ip.de) |
2022-07-04 15:29:53 +0200 | <Jade1> | Hello, I'm having problems setting up xmonad. Everything works but besides having `((modm , xK_w), kill)` in my `xmonad.hs` it will not kill the window |
2022-07-04 15:30:20 +0200 | <Jade1> | Everything else works as I said, including the mod key and "normal" keybindings |
2022-07-04 15:32:49 +0200 | <geekosaur> | @paste |
2022-07-04 15:32:49 +0200 | <lambdabot> | A pastebin: https://paste.debian.net/ |
2022-07-04 15:32:56 +0200 | <geekosaur> | bah |
2022-07-04 15:32:59 +0200 | <geekosaur> | @where paste |
2022-07-04 15:32:59 +0200 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
2022-07-04 15:33:06 +0200 | <geekosaur> | can you show us your config? |
2022-07-04 15:33:19 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) (Quit: WeeChat 3.5) |
2022-07-04 15:35:51 +0200 | <Jade1> | https://paste.tomsmeding.com/xeXQw7ib |
2022-07-04 15:35:59 +0200 | <Jade1> | thats the entire config |
2022-07-04 15:37:12 +0200 | <geekosaur> | right, you still have the multiscreen part at the end, and it rebinds mod-w, mod-e, mod-r to that |
2022-07-04 15:37:24 +0200 | <geekosaur> | so your rebinding of mod-w gets overwritten |
2022-07-04 15:37:36 +0200 | <geekosaur> | see line 145 |
2022-07-04 15:37:48 +0200 | <Jade1> | oh yeah I see, thanks a bunch |
2022-07-04 15:38:20 +0200 | Jade1 | (~Jade@ip-178-201-128-039.um46.pools.vodafone-ip.de) (Quit: Client closed) |
2022-07-04 15:39:26 +0200 | Jade1 | (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) |
2022-07-04 15:39:37 +0200 | <Jade1> | I deleted those lines but it still does not work |
2022-07-04 15:39:55 +0200 | <Jade1> | saved file, restarted xmonad etc. |
2022-07-04 15:40:05 +0200 | <geekosaur> | the way that particular config works, it starts with the default bindings and then overwrites them with the default bindings again |
2022-07-04 15:40:45 +0200 | <Jade1> | hm? I thought the `keys = ...` set a new keybinding scheme |
2022-07-04 15:42:13 +0200 | <Jade1> | how can I make this work? |
2022-07-04 15:42:18 +0200 | <geekosaur> | whoops, I though I had stopped short of sending that so I could check if your config was actually doing that, sorry |
2022-07-04 15:43:05 +0200 | <geekosaur> | the usual one does a `union` of that with the defaults (there are a lot of passed-around configs that do that, it's kinda stupid to do that kind of duplication but it's really common) |
2022-07-04 15:43:37 +0200 | <geekosaur> | so I'm not seeing it unless your recompile didn't work and you didn't get an error popup. what does `xmonad --recompile` in a terminal do? |
2022-07-04 15:44:51 +0200 | <geekosaur> | (my head is kinda somewhere else today, sorry, waiting for my sister to arrive for a family thing) |
2022-07-04 15:45:12 +0200 | <Jade1> | Ahhhhh, I did not remove the `++` to concat the lists ... resulted in a syntax error |
2022-07-04 15:45:19 +0200 | <Jade1> | now it works. Thanks a bunch! |
2022-07-04 15:45:25 +0200 | <geekosaur> | yep, I suspected that |
2022-07-04 15:45:29 +0200 | <geekosaur> | no problem |
2022-07-04 15:45:49 +0200 | <geekosaur> | and 0.15 didn';t reliably show error popups |
2022-07-04 15:46:08 +0200 | <geekosaur> | (we're on 0.17 now but very few distros have picked it up for some reason) |
2022-07-04 15:47:57 +0200 | <Jade1> | nope |
2022-07-04 15:49:12 +0200 | <geekosaur> | hm, if you're on 0.17 then you should have gotten a popup. unless xmessage isn't installed but most distros put in a dependency on it |
2022-07-04 15:49:30 +0200 | <geekosaur> | if you used cabal or stack to install then you probably want to install xmessage |
2022-07-04 15:50:43 +0200 | <Jade1> | I'm on 0.15 |
2022-07-04 15:50:50 +0200 | <Jade1> | as by `xmonad --version` |
2022-07-04 15:55:34 +0200 | Jade1 | (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) (Quit: Client closed) |
2022-07-04 15:57:50 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) |
2022-07-04 15:57:52 +0200 | Guest27 | (~Guest27@h-98-128-228-171.NA.cust.bahnhof.se) (Ping timeout: 252 seconds) |
2022-07-04 16:04:36 +0200 | thunderrd | (~thunderrd@183.182.111.73) |
2022-07-04 16:12:36 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) (Ping timeout: 276 seconds) |
2022-07-04 16:41:16 +0200 | alternateved | (~alternate@37.120.211.126) (Remote host closed the connection) |
2022-07-04 16:41:50 +0200 | cfricke | (~cfricke@user/cfricke) (Ping timeout: 240 seconds) |
2022-07-04 16:46:05 +0200 | Guest27 | (~Guest27@h-98-128-228-171.NA.cust.bahnhof.se) |
2022-07-04 16:58:02 +0200 | Guest27 | (~Guest27@h-98-128-228-171.NA.cust.bahnhof.se) (Quit: Client closed) |
2022-07-04 17:20:52 +0200 | cfricke | (~cfricke@user/cfricke) |
2022-07-04 17:24:10 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 240 seconds) |
2022-07-04 17:26:16 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) |
2022-07-04 17:26:43 +0200 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 3.5) |
2022-07-04 17:39:16 +0200 | alternateved | (~alternate@5.253.206.141) |
2022-07-04 17:44:17 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) |
2022-07-04 17:46:27 +0200 | alternateved | (~alternate@5.253.206.141) (Remote host closed the connection) |
2022-07-04 18:00:06 +0200 | M-_-[m] | (~testdrive@2001:470:69fc:105::2:6d6) (Quit: You have been kicked for being idle) |
2022-07-04 18:00:10 +0200 | aura1337[m] | (~aura1337m@2001:470:69fc:105::2:230a) (Quit: You have been kicked for being idle) |
2022-07-04 20:04:43 +0200 | benin0 | (~benin@183.82.26.81) (Quit: The Lounge - https://thelounge.chat) |
2022-07-04 20:06:32 +0200 | chomwitt | (~chomwitt@2a02:587:dc17:ef00:b970:eb1f:3e6:5c29) (Ping timeout: 260 seconds) |
2022-07-04 20:10:30 +0200 | dschrempf | (~dominik@mobiledyn-62-240-134-178.mrsn.at) (Ping timeout: 240 seconds) |
2022-07-04 21:32:30 +0200 | sogens | (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 264 seconds) |
2022-07-04 21:50:33 +0200 | Guest2745 | (~Guest27@h-155-4-15-75.A163.priv.bahnhof.se) |
2022-07-04 22:08:12 +0200 | Guest2745 | (~Guest27@h-155-4-15-75.A163.priv.bahnhof.se) (Ping timeout: 252 seconds) |
2022-07-04 22:10:12 +0200 | redgloboli | (~redglobol@user/redgloboli) (Quit: ...enter the matrix...) |
2022-07-04 22:11:16 +0200 | redgloboli | (~redglobol@user/redgloboli) |
2022-07-04 22:45:32 +0200 | chomwitt | (~chomwitt@2a02:587:dc17:ef00:6aee:6c8:90ff:eaab) |
2022-07-04 23:46:18 +0200 | chomwitt | (~chomwitt@2a02:587:dc17:ef00:6aee:6c8:90ff:eaab) (Ping timeout: 276 seconds) |
2022-07-04 23:55:33 +0200 | cyr4x3 | (~cyr4x3@139.47.116.80) |