Logs: freenode/#xmonad
| 2021-02-16 17:09:13 | <ttmx> | The single exception is input and output(in the case of time standards) and that should be the only thing that differs |
| 2021-02-16 17:09:37 | <vrs> | didn't keep track - does xmonad do the sane thing and just emit utf8 on the pipe or is it special? |
| 2021-02-16 17:09:43 | <ttmx> | I haven't fixed a python script from a year ago because of shitty daylight saving differences that break stuff and its just a pain to work with. |
| 2021-02-16 17:10:06 | <Liskni_si> | vrs: right now it does't |
| 2021-02-16 17:13:15 | → | geekosaur joins (82650c7a@130.101.12.122) |
| 2021-02-16 17:26:10 | <ttmx> | Right, how would I fix behaviour like this? |
| 2021-02-16 17:26:36 | <ttmx> | alacritty --title "</fn>" |
| 2021-02-16 17:26:51 | <ttmx> | Essentially, how do I make sure I don't get pwned by window titles? |
| 2021-02-16 17:27:55 | <geekosaur> | there's an xmobarEscape function you can run things like titles through |
| 2021-02-16 17:29:07 | <ttmx> | Something like this? ppTitle = xmobarEscape (xmobarColor "#b3afc2" "#242831:4" . shorten 60) |
| 2021-02-16 17:29:17 | <ttmx> | (That does not work btw) |
| 2021-02-16 17:29:25 | <geekosaur> | that would also escape the color sequences |
| 2021-02-16 17:29:56 | <ttmx> | Right |
| 2021-02-16 17:29:57 | <geekosaur> | ppTitle = xmobarColor "#b3afc2" "242831:4" . shorten 60 . xmobarEscape -- I think |
| 2021-02-16 17:29:59 | <Liskni_si> | ttmx: I think you used to have xmobarRaw in there at the beginning |
| 2021-02-16 17:30:01 | <Liskni_si> | ttmx: put it back |
| 2021-02-16 17:30:24 | <Solid> | there is ppTitleSanitize |
| 2021-02-16 17:30:45 | <ttmx> | Which one do I follow? :P |
| 2021-02-16 17:30:58 | <Liskni_si> | oh, right, xmobarRaw in ppTitleSanitize is probably best |
| 2021-02-16 17:31:35 | <ttmx> | Also I hope I'm not the only one whose 12 year old mind laughs a little with every "pp" |
| 2021-02-16 17:31:58 | <ttmx> | I'm guessing I have to import xmobarRaw? |
| 2021-02-16 17:32:53 | <Solid> | yes |
| 2021-02-16 17:33:00 | <mc47> | it's in XMonad.Hooks.DynamicLog |
| 2021-02-16 17:33:28 | <geekosaur> | I guess it got renamed at some point. (I don't actually use xmobar, it's been years) |
| 2021-02-16 17:33:30 | <ttmx> | I already have that imported though mc47... |
| 2021-02-16 17:33:48 | <mc47> | ttmx, same :D which has been a bit entertaining while working on some PRs |
| 2021-02-16 17:33:54 | <Solid> | the default ppTitleSanitize action is (among other things) xmobarStrip btw |
| 2021-02-16 17:34:01 | <mc47> | so you should be able to use it |
| 2021-02-16 17:34:11 | <Solid> | oh but it doesn't strip fn tags |
| 2021-02-16 17:34:21 | <ttmx> | I only import it like this |
| 2021-02-16 17:34:23 | <ttmx> | import XMonad.Hooks.DynamicLog |
| 2021-02-16 17:34:39 | <Liskni_si> | geekosaur: it hasn't been renamed, there are more of those |
| 2021-02-16 17:34:45 | <ttmx> | I'm not sure what the difference is between these "generic" imports and the specific ones like this "import XMonad.Hooks.ManageHelpers (isFullscreen, doFullFloat)" |
| 2021-02-16 17:35:01 | <geekosaur> | the ones that don't have a list import everything |
| 2021-02-16 17:35:13 | <ttmx> | Then how come I can't use xmobarRaw? |
| 2021-02-16 17:35:31 | <ttmx> | If I have the dynlog imported? |
| 2021-02-16 17:36:07 | <mc47> | what's the problem? |
| 2021-02-16 17:36:41 | <ttmx> | Also, it doesn't seem to be escaping it properly with the "default" value? |
| 2021-02-16 17:36:47 | <ttmx> | Uploaded file: https://uploads.kiwiirc.com/files/0d417dd8340bfbc01083bd9f2ceccf52/image.png |
| 2021-02-16 17:37:31 | <Liskni_si> | there are nested <fc>s |
| 2021-02-16 17:38:56 | <ttmx> | I mean yes, that part is on purpose |
| 2021-02-16 17:39:10 | <ttmx> | Only breaks when I input a wacky window title |
| 2021-02-16 17:39:17 | <Liskni_si> | oh and I just realized that xmobarRaw can't be used in ppTitleSanitize, because ppTitle then shortens the result |
| 2021-02-16 17:39:52 | <Liskni_si> | so you might be better of with the default ppTitleSanitize |
| 2021-02-16 17:39:56 | × | malook quits (~Thunderbi@2a02:9b0:4001:e78f:ce3:24dd:9e30:bbeb) (Quit: malook) |
| 2021-02-16 17:41:38 | <ttmx> | I'm using the default |
| 2021-02-16 17:41:48 | <ttmx> | And it breaks if I do the </fn> in the window title :/ |
| 2021-02-16 17:43:13 | <Solid> | the default doesn't strip fn tags |
| 2021-02-16 17:43:25 | <Solid> | xmobarEscape doesn't, that is |
| 2021-02-16 17:43:43 | <ttmx> | Then how would I do so? |
| 2021-02-16 17:46:51 | <ttmx> | I just don't want to get pwned by window titles :( |
| 2021-02-16 17:47:18 | <ttmx> | Le epic one click RCE 😎 |
| 2021-02-16 17:47:25 | <Liskni_si> | in that case it might be a good idea to xmobarRaw in ppTitle _after_ shortening |
| 2021-02-16 17:47:32 | <Liskni_si> | (after meaning to the left of a dot) |
| 2021-02-16 17:48:27 | <ttmx> | Uploaded file: https://uploads.kiwiirc.com/files/eade81ed9943cc4aa963d48d510aea37/image.png |
| 2021-02-16 17:48:45 | <ttmx> | Am I doing something wrong? |
| 2021-02-16 17:48:49 | <Solid> | xmobarRaw |
| 2021-02-16 17:49:07 | <Solid> | xmobarEscape is a function that only exists in my head, apparently :) |
| 2021-02-16 17:49:23 | <ttmx> | Oh ignore me |
| 2021-02-16 17:49:28 | <ttmx> | Yeah I did both xD |
| 2021-02-16 17:49:32 | <Liskni_si> | it also existed in geekosaur's head at 18:27:55 UTC |
| 2021-02-16 17:49:37 | <ttmx> | Truth time |
| 2021-02-16 17:49:39 | <Liskni_si> | not that it matters |
| 2021-02-16 17:49:47 | <Solid> | Liskni_si: it's because of this comment `-- ??? add an xmobarEscape function?' |
| 2021-02-16 17:49:47 | <ttmx> | Uploaded file: https://uploads.kiwiirc.com/files/961476529264e8233edc1481f9a3de2a/image.png |
| 2021-02-16 17:49:54 | <Solid> | that you removed because we have xmobarRaw now |
| 2021-02-16 17:49:57 | <ttmx> | Ayy I won't get pwned now! |
| 2021-02-16 17:49:59 | <Solid> | but it's still in the 0.16 docs |
| 2021-02-16 17:50:04 | <Liskni_si> | Solid: oh :-) |
| 2021-02-16 17:50:31 | <Solid> | funny how people remember these things :) |
| 2021-02-16 17:50:39 | <Liskni_si> | ttmx: nice |
| 2021-02-16 17:50:53 | <Liskni_si> | I kind of like these pretty desktops people make |
| 2021-02-16 17:51:29 | <Liskni_si> | and then I happily go back to my spartan one, where no space is wasted and no cpu cycles for drawing pretty xft fonts are needed :-) |
| 2021-02-16 17:51:32 | <ttmx> | I wish I had more pixels on my screen :( |
| 2021-02-16 17:51:51 | <ttmx> | I cannot align stuff in the center 100% |
| 2021-02-16 17:52:00 | <ttmx> | Since center is in the middle of 2 pixels currently |
| 2021-02-16 17:52:14 | <Solid> | that's quite some attention to detail :D |
| 2021-02-16 17:52:48 | <ttmx> | Its kinda annoying xD |
| 2021-02-16 17:52:56 | <ttmx> | Uploaded file: https://uploads.kiwiirc.com/files/956c4ffe53c1a184bffebc5862d76891/image.png |
| 2021-02-16 17:53:05 | <ttmx> | Do you see how all icons are not the same size? :( |
| 2021-02-16 17:53:09 | <ttmx> | But its the same font |
| 2021-02-16 17:53:34 | <ttmx> | I will not be editing fonts again for this, I'm kinda tired of doing that |
| 2021-02-16 17:53:52 | <Solid> | I have to say I do not unless I really zoom in |
| 2021-02-16 17:54:15 | <ttmx> | Firefox is the largest, then discord, then spotify. |
| 2021-02-16 17:54:44 | <ttmx> | Its okay enough not to bother me immensely, but when I see it its a little yucky |
| 2021-02-16 17:54:53 | <geekosaur> | I can barely tell |
| 2021-02-16 17:55:03 | <ttmx> | But a little yucky > 2 hours of work editing fonts again |
| 2021-02-16 17:55:12 | <Solid> | definitely :) |
| 2021-02-16 17:55:40 | <ttmx> | I have bigger stuff to fix right now |
| 2021-02-16 17:55:42 | <Solid> | but I agree that I like these pretty pictures people post sometimes |
| 2021-02-16 17:55:46 | <ttmx> | I need fullscreen working right now. |
| 2021-02-16 17:55:58 | <ttmx> | I'm HEAVILY inspiring myself on this one |
| 2021-02-16 17:56:01 | <ttmx> | https://raw.githubusercontent.com/Barbarossa93/Genome/main/out.png |
| 2021-02-16 17:56:13 | <ttmx> | Its so pretty 😭 |
| 2021-02-16 17:56:25 | <Liskni_si> | this is what mine looks like right now btw: https://store.lisk.in/tmp/2021-02-16-175236_1920x2160_scrot.png |
| 2021-02-16 17:56:36 | <ttmx> | Oh god |
| 2021-02-16 17:56:46 | <Solid> | aah the bitmap fots |
| 2021-02-16 17:56:53 | <ttmx> | Is that chrome I see? |
| 2021-02-16 17:57:13 | <Liskni_si> | ttmx: yeah :-/ |
| 2021-02-16 17:57:18 | <ttmx> | But |
All times are in UTC.