Logs: liberachat/#xmonad
| 2021-05-27 02:36:46 | <a6a45081-2b83> | *an hour |
| 2021-05-27 02:37:05 | <a6a45081-2b83> | can i make it so that it updates after internet or xmonad start after internet or any other soluiton? |
| 2021-05-27 02:37:15 | × | td_ quits (~td@94.134.91.198) (Ping timeout: 272 seconds) |
| 2021-05-27 02:37:25 | <jrgiacone> | you might be able to use the sleep command |
| 2021-05-27 02:37:39 | <jrgiacone> | to make iit wait and reload xmonad after a couple seconds |
| 2021-05-27 02:38:30 | → | td_ joins (~td@94.134.91.249) |
| 2021-05-27 02:39:19 | <jrgiacone> | burp did you ever have any issues with xmonad displaying degree symbols? when I try to launch it with the default config i get hGetContents: invalid arguments (invalid byte sequence) |
| 2021-05-27 02:39:26 | <jrgiacone> | sorry xmobar |
| 2021-05-27 02:39:45 | <jrgiacone> | i have the fonts installed |
| 2021-05-27 02:41:03 | <a6a45081-2b83> | you have to use \x2368 something like this |
| 2021-05-27 02:41:06 | <a6a45081-2b83> | not the unicode symbol |
| 2021-05-27 02:41:11 | <a6a45081-2b83> | the file has to be utf-8 afaik |
| 2021-05-27 02:41:14 | <a6a45081-2b83> | i faced this issue |
| 2021-05-27 02:42:05 | <a6a45081-2b83> | ignore- I have this in config and it works: <fc=#458588><tempC></fc>°C <fc=#458588><rh>% rh</fc> |
| 2021-05-27 02:42:19 | <jrgiacone> | damn what the heck |
| 2021-05-27 02:42:32 | <jrgiacone> | this was the issue I was running into the other day after building from source |
| 2021-05-27 02:42:56 | <jrgiacone> | i have the utf8 and xft flags |
| 2021-05-27 02:43:06 | <a6a45081-2b83> | I think I changed LC_ALL or locale to include ISO-8661 or something |
| 2021-05-27 02:43:32 | <jrgiacone> | hmm how do you do that |
| 2021-05-27 02:43:41 | <jrgiacone> | like my locale where i defined LANG |
| 2021-05-27 02:44:49 | <a6a45081-2b83> | check this out https://github.com/koalaman/shellcheck/issues/324 |
| 2021-05-27 02:45:22 | <a6a45081-2b83> | my file was iso-8859-1 but my locale was LANG=en_IN.UTF-8 |
| 2021-05-27 02:45:31 | <a6a45081-2b83> | you have to edit a locale file and run locale-gen |
| 2021-05-27 02:45:57 | <a6a45081-2b83> | so probably just try changing file type |
| 2021-05-27 02:46:07 | <jrgiacone> | I'll take a look I know i use en_US.UTF-8 |
| 2021-05-27 02:46:15 | <a6a45081-2b83> | if you want to change locale check this https://wiki.archlinux.org/title/Locale#Generating_locales |
| 2021-05-27 02:46:29 | <a6a45081-2b83> | but since it's working for me in UTF-8 probably better to change file type |
| 2021-05-27 02:51:27 | <jrgiacone> | uncomenting en_US ISO-8859 got it to start thank you, now I have UnmarshalErrors when trying to read message headers lol |
| 2021-05-27 02:52:06 | <jrgiacone> | actually reading message from socket might be because I am in a vm, not sure |
| 2021-05-27 02:53:48 | <jrgiacone> | nvm didnt work lol |
| 2021-05-27 02:56:43 | <jrgiacone> | interesting xmobar will only read when it is a root |
| 2021-05-27 02:56:45 | <jrgiacone> | wtf |
| 2021-05-27 02:57:42 | <jrgiacone> | nvm because it doesnt read the config, disregaurd |
| 2021-05-27 03:00:10 | <burp> | hmm yea, it should work with with_utf8 and if the xmobar config is also utf8 encoded |
| 2021-05-27 03:01:14 | <burp> | <a6a45081-2b83> can i make it so that it updates after internet or xmonad start after internet or any other soluiton? |
| 2021-05-27 03:01:18 | <burp> | right, I thought about that too |
| 2021-05-27 03:01:32 | <burp> | would be nice to trigger an update, like a weather update after hibernation |
| 2021-05-27 03:01:43 | <burp> | an option is always to kill and restart after that, but it feels hacky |
| 2021-05-27 03:01:59 | <burp> | wonder if xmobar has a kill signal that triggers an update |
| 2021-05-27 03:02:54 | <a6a45081-2b83> | burp: still seraching for the same |
| 2021-05-27 03:03:01 | <jrgiacone> | yea I still cant get xmobar to read the file even after running :w ++enc=utf-8 in vim |
| 2021-05-27 03:03:01 | <burp> | file xmobar.hs should tell you if the file is utf-8 encoded |
| 2021-05-27 03:03:17 | <jrgiacone> | im just trying to get xmobar to run on its own through terminal |
| 2021-05-27 03:03:39 | <a6a45081-2b83> | try running `file` command on config file |
| 2021-05-27 03:04:24 | <jrgiacone> | Unicode text, UTF-8 is the output |
| 2021-05-27 03:04:43 | <burp> | hmm well, and it works without the degree? |
| 2021-05-27 03:05:00 | <jrgiacone> | no if I remove the degree it gets mad at the , sepChar |
| 2021-05-27 03:05:12 | <burp> | ah, so let's fix that first |
| 2021-05-27 03:06:07 | <jrgiacone> | Uploaded file: https://uploads.kiwiirc.com/files/9744170f64a60ec956074c5a465c1624/2021-05-26-200556_875x547_scrot.png |
| 2021-05-27 03:06:26 | <jrgiacone> | there are no tabs but with degree removed it says unexpected "s" where , sepChar is |
| 2021-05-27 03:06:47 | <burp> | yea it *looks* fine, I remember I had such issues too |
| 2021-05-27 03:07:23 | <jrgiacone> | lmfao |
| 2021-05-27 03:07:46 | <burp> | you found it? |
| 2021-05-27 03:07:48 | <jrgiacone> | do you remember what it did not like |
| 2021-05-27 03:07:52 | <jrgiacone> | no lol |
| 2021-05-27 03:08:32 | <burp> | Idk, try my config https://paste.tomsmeding.com/T1U0Mj1f |
| 2021-05-27 03:09:52 | <burp> | just to see if it starts at all |
| 2021-05-27 03:10:06 | <a6a45081-2b83> | I have this in my config `, sepChar = "%"` |
| 2021-05-27 03:10:41 | <a6a45081-2b83> | can you show the exact error after running xmobar from terminal |
| 2021-05-27 03:10:46 | <a6a45081-2b83> | i.e. stdout/stderr |
| 2021-05-27 03:11:35 | <a6a45081-2b83> | e.g. `xmobar ~/.config/xmobar/xmobarc1234` |
| 2021-05-27 03:13:23 | <jrgiacone> | Uploaded file: https://uploads.kiwiirc.com/files/f4a31427265a9b8cfb6234c1f97f48d0/2021-05-26-201312_521x122_scrot.png |
| 2021-05-27 03:13:42 | <jrgiacone> | burp i get font issues with those dots or something lol but it did not like them for whatever reason |
| 2021-05-27 03:14:16 | <burp> | other thing I could imagine is that you launch an xmonad from somewhere without utf8 |
| 2021-05-27 03:14:37 | <jrgiacone> | what do you mean |
| 2021-05-27 03:14:52 | <burp> | like, a global installation /usr/bin, and one in $HOME/.local/bin/xmobar |
| 2021-05-27 03:15:04 | <burp> | but even the archlinux distro one should be with utf8 |
| 2021-05-27 03:15:19 | <jrgiacone> | oh I'm launching from .xmobarrc though? |
| 2021-05-27 03:15:33 | <burp> | yea, that should be fine |
| 2021-05-27 03:16:28 | <a6a45081-2b83> | try removing sep char line |
| 2021-05-27 03:16:45 | <jrgiacone> | then it errors to the line below |
| 2021-05-27 03:16:47 | <a6a45081-2b83> | anyways % is default value |
| 2021-05-27 03:16:59 | <jrgiacone> | a instead of s |
| 2021-05-27 03:17:09 | <a6a45081-2b83> | remove that too, it's also the default value :)) |
| 2021-05-27 03:17:23 | <jrgiacone> | then it errors to t for template expecting run lol |
| 2021-05-27 03:17:23 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Quit: leaving) |
| 2021-05-27 03:17:34 | <jrgiacone> | when that is gone, it no longer can run |
| 2021-05-27 03:18:04 | <a6a45081-2b83> | :)) |
| 2021-05-27 03:18:21 | <jrgiacone> | burp what font do you have to make those dots in your templatge |
| 2021-05-27 03:18:42 | <burp> | the one I specified in the xmobar config |
| 2021-05-27 03:18:43 | <burp> | what about something minimal, like |
| 2021-05-27 03:18:47 | <burp> | Config { |
| 2021-05-27 03:18:47 | <burp> | font = "xft:Source Sans Pro:Semibold:size=8:antialias=true:hinting=true" |
| 2021-05-27 03:18:47 | <burp> | } |
| 2021-05-27 03:19:10 | <jrgiacone> | what is funny is my main xmonad and xmobar from arch repo's on .15 which im chatting with yall on has no issues, its only these git ones |
| 2021-05-27 03:19:19 | <jrgiacone> | i have that customized to shit |
| 2021-05-27 03:19:27 | <burp> | eh, I see |
| 2021-05-27 03:20:07 | <a6a45081-2b83> | found the issue: https://bbs.archlinux.org/viewtopic.php?id=185573 |
| 2021-05-27 03:20:23 | <jrgiacone> | burp simple runs |
| 2021-05-27 03:20:40 | <burp> | ah, so it's just crappy error messages :D |
| 2021-05-27 03:20:50 | <jrgiacone> | let me try with mpd flag |
| 2021-05-27 03:21:05 | <burp> | nah, not necessary |
| 2021-05-27 03:21:18 | <burp> | I think it's because you use a module that's not compiled in |
| 2021-05-27 03:21:31 | <jrgiacone> | wdym? |
| 2021-05-27 03:21:35 | <burp> | jrgiacone: eh, you have alsa in your config |
| 2021-05-27 03:21:43 | <jrgiacone> | i got rid of alsa |
| 2021-05-27 03:21:46 | <jrgiacone> | with the flag remember |
| 2021-05-27 03:21:53 | <burp> | I mean the xmobar config |
| 2021-05-27 03:21:54 | <jrgiacone> | or setting it to false |
| 2021-05-27 03:22:01 | <jrgiacone> | oooh |
All times are in UTC.