Logs: liberachat/#xmonad
| 2022-07-12 03:13:15 | × | wusticality quits (~wusticali@c-67-161-204-49.hsd1.co.comcast.net) (Quit: Client closed) |
| 2022-07-12 03:29:52 | → | tjmciver_ joins (~tjmciver@cpe-172-101-32-70.maine.res.rr.com) |
| 2022-07-12 03:29:52 | × | tjmciver quits (~tjmciver@cpe-172-101-32-70.maine.res.rr.com) (Read error: Connection reset by peer) |
| 2022-07-12 03:35:24 | × | qther quits (~qther@165.225.230.105) (Quit: Client closed) |
| 2022-07-12 03:40:16 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::909a) (Ping timeout: 244 seconds) |
| 2022-07-12 06:23:43 | → | gauge_ joins (~gauge@user/gauge) |
| 2022-07-12 06:23:51 | → | haskl[error] joins (~haskl@user/haskl) |
| 2022-07-12 06:24:01 | × | gauge quits (~gauge@user/gauge) (Quit: Quitting) |
| 2022-07-12 06:24:04 | × | haskl quits (~haskl@user/haskl) (Quit: Uh oh... ZNC disconnected.) |
| 2022-07-12 06:33:51 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 244 seconds) |
| 2022-07-12 06:45:40 | → | safeguard-irc joins (~doctor-se@151.41.199.212) |
| 2022-07-12 06:48:55 | <safeguard-irc> | hello, i've been trying to put my config together, and I wanted to do something like this user does: https://github.com/ivanbrennan/nixbox/blob/d5b54fe2c0b672273f053c31eaaee17c4b1e65e9/services/xserver/xmonad.hs which is basically embedd the xmobar config in the xmonad one. now, he uses the dynStatusBarStartup function, which is deprecated. what would be a good way to do this with the new XMonad.Hooks.StatusBar instead? I get that the xmobar |
| 2022-07-12 06:48:55 | <safeguard-irc> | configuration is basically equal, but the type of xmobar should be something else. this is how I currently start up my xmobar: https://termbin.com/c9k6 (still under work, so pardon me if it's messy) |
| 2022-07-12 06:51:01 | gauge_ | is now known as gauge |
| 2022-07-12 07:05:42 | → | Guest50 joins (~Guest50@pd9ec2719.dip0.t-ipconnect.de) |
| 2022-07-12 07:14:53 | → | benin0 joins (~benin@183.82.29.162) |
| 2022-07-12 07:15:00 | <Solid> | safeguard-irc: at the end of the day, this config is translating everything into strings and giving it to xmobar via its command line options; this should be doable in exactly the same way with X.H.StatusBar ( https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Hooks-StatusBar.html#g:4 ) |
| 2022-07-12 07:16:25 | → | alternateved joins (~alternate@staticline-31-183-144-54.toya.net.pl) |
| 2022-07-12 07:19:11 | <Guest50> | Hi, I've been using Xmonad for a while now but still consider myself somewhat of a noob both with Xmonad and Haskell. |
| 2022-07-12 07:19:11 | <Guest50> | As I currently have no idea whatsoever how to debug my problems further i would greatly appreciate any hints or pointers. I'll try to explain the Problem now: |
| 2022-07-12 07:19:12 | <Guest50> | Yesterday I took the plunge and updated my arch system which also meant an update of Xmonad from 0.15 to 0.17. After consulting the breaking changes and the documentation for the now recommended functions I've rewritten parts of my configuration file and was able to get Xmonad running again. |
| 2022-07-12 07:19:12 | <Guest50> | However, I now face somewhat of a weird issue sometimes after I first log in to my system Xmobar spawns only on my first monitor and the second monitor is seemingly unresponsive. If I then mouse over to my second monitor and switch to a workspace with a window through my keybindings nothing happens on the second monitor, on my first monitor my |
| 2022-07-12 07:19:13 | <Guest50> | xmobar changes to indicate that i have just switched the workspace on my second monitor. If I now move back to my first monitor and switch my layout to full-screen through a keybinding the second monitor refreshes once, I can then repeat these steps to get a single new frame from my second monitor. |
| 2022-07-12 07:19:13 | <Guest50> | If I then reboot my machine and log in again, most of the time, it works without problems and both monitors are responsive. |
| 2022-07-12 07:19:14 | <Guest50> | Sorry for the long-ish Post, if anyone has an idea what's going on or if I should post excerpts of my Xmonad/Xmobar config somewhere please let me know |
| 2022-07-12 07:25:51 | → | chomwitt joins (~chomwitt@2a02:587:dc0d:4a00:cff7:1232:6084:40) |
| 2022-07-12 07:36:27 | × | chomwitt quits (~chomwitt@2a02:587:dc0d:4a00:cff7:1232:6084:40) (Ping timeout: 272 seconds) |
| 2022-07-12 07:38:21 | <safeguard-irc> | Solid yeah I got it, the problem is that since I use tray it does not seem that xmobar parses a position via the cmdline, and I don't think I can pass that via template; any idea on that? |
| 2022-07-12 07:40:22 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-07-12 07:44:32 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-07-12 07:49:40 | <Guest50> | safeguard-irc do you mean how to add some whitespace, so that the bar content does not overlap with your tray? I found a script for that some time back: https://github.com/jaor/xmobar/issues/239#issuecomment-233206552 |
| 2022-07-12 07:49:41 | <Guest50> | And then in your xmobar config something like: |
| 2022-07-12 07:49:41 | <Guest50> | > Run Com "sh" [ "-c" , "~/scripts/trayer-padding-icon.sh"] "trayerpad" 100` |
| 2022-07-12 07:49:42 | <Guest50> | and |
| 2022-07-12 07:49:42 | <Guest50> | > template = " [...] %trayerpad% [...]" |
| 2022-07-12 07:49:44 | <lambdabot> | <hint>:1:89: error: |
| 2022-07-12 07:49:44 | <lambdabot> | parse error (possibly incorrect indentation or mismatched brackets) |
| 2022-07-12 07:49:45 | <lambdabot> | <hint>:1:10: error: parse error on input ‘=’ |
| 2022-07-12 07:50:48 | → | Jade1 joins (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) |
| 2022-07-12 07:50:53 | <Jade1> | Can you use Xmonad with Wayland? |
| 2022-07-12 07:51:56 | <safeguard-irc> | Guest50: I already use that script |
| 2022-07-12 08:05:30 | <safeguard-irc> | actually scratch that, I have fixed xmobar, now I just need to and implement it inside xmonad |
| 2022-07-12 08:20:37 | <alternateved> | Jade1 yes, you can |
| 2022-07-12 08:20:56 | <alternateved> | Ah, scratch that. I've read xmobar not xmonad |
| 2022-07-12 08:21:23 | × | neopenk[m] quits (~neopenkma@2001:470:69fc:105::1:6286) (Quit: Client limit exceeded: 20000) |
| 2022-07-12 08:21:46 | <alternateved> | Check this page: https://github.com/sponsors/xmonad |
| 2022-07-12 08:22:03 | → | neopenk[m] joins (~neopenkma@2001:470:69fc:105::1:6286) |
| 2022-07-12 08:22:47 | <alternateved> | There you could read about Wayland, X11 and state of things |
| 2022-07-12 08:23:14 | <safeguard-irc> | okay so I have a question: as of now I use two StatusBarConfig, XmobarInt and xmobarExt with each XMONAD_LOG_0 and 1. if I wanted to use only one binding, say xmobarAll, which takes an argument s, how can I append that to the XMONAD_LOG_STRING? I've tried something like xmobarSin :: ScreenId -> StatusBarConfig, and then doing statusBarPropTo ("_XMONAD_LOG_" ++ s) [..] but it keep giving me a type error |
| 2022-07-12 08:23:15 | <alternateved> | Not sure how up to date this paragraph is |
| 2022-07-12 08:24:08 | <alternateved> | You would need first to `show s` to turn it into the string, I think |
| 2022-07-12 08:24:26 | <safeguard-irc> | ooh let me try, did not think about that |
| 2022-07-12 08:24:35 | <alternateved> | Not sure if ScreenId has an instance of Show |
| 2022-07-12 08:25:37 | <alternateved> | Yeah, it does |
| 2022-07-12 08:26:27 | <safeguard-irc> | sso I need to use Show or show? |
| 2022-07-12 08:26:40 | <alternateved> | show |
| 2022-07-12 08:26:45 | <safeguard-irc> | okay |
| 2022-07-12 08:27:48 | <alternateved> | Oh, I think it won't work |
| 2022-07-12 08:28:14 | <alternateved> | It would return something like `S 1` |
| 2022-07-12 08:28:19 | <safeguard-irc> | indeed it does not, xmonad_log does not respond (it's frozen) |
| 2022-07-12 08:29:13 | <safeguard-irc> | oh wait now it works |
| 2022-07-12 08:29:26 | <safeguard-irc> | I used this s@(S i) and then show i |
| 2022-07-12 08:29:49 | <alternateved> | Oh, right, good call |
| 2022-07-12 08:30:22 | <safeguard-irc> | though it does not seem to work for xmobar0 |
| 2022-07-12 08:31:52 | <safeguard-irc> | this is how I use the function: I have barSpawner' :: ScreenId -> IO StatusBarConfig, and I have two instances with barSpawner' 0 = pure $ xmobarSin 0 and the same but with 1 |
| 2022-07-12 08:32:21 | × | Jade1 quits (~Jade1@ip-178-201-128-039.um46.pools.vodafone-ip.de) (Quit: Client closed) |
| 2022-07-12 08:33:25 | <alternateved> | How it does not work? |
| 2022-07-12 08:33:53 | <safeguard-irc> | xmobar0's workspaces are just stuck |
| 2022-07-12 08:34:29 | <safeguard-irc> | maybe I need to restart xmonad as a whole? sometimes it can get funky with the unsafeXProplog |
| 2022-07-12 08:34:30 | <safeguard-irc> | brb |
| 2022-07-12 08:34:32 | × | safeguard-irc quits (~doctor-se@151.41.199.212) (Remote host closed the connection) |
| 2022-07-12 08:36:23 | → | Safeguard-IRC joins (~doctor-se@151.41.199.212) |
| 2022-07-12 08:36:53 | <Safeguard-IRC> | nope, xmobar1 works perfectly, xmobar0 does not. maybe the i variable does not start to count from 0? I find that odd tho |
| 2022-07-12 08:39:36 | <alternateved> | Well, that wouldn't be hard to check |
| 2022-07-12 08:42:49 | <alternateved> | It seems it starts from 0 |
| 2022-07-12 08:48:13 | <Safeguard-IRC> | hmm |
| 2022-07-12 08:48:30 | <Safeguard-IRC> | let me try putting toghter the xmobar config with unsafestindreader insinde the xmonad config |
| 2022-07-12 08:48:55 | <Safeguard-IRC> | actually scratch that, I'm gonna still use unsafeXproplog so I can see if it works |
| 2022-07-12 09:30:41 | × | Jazzah quits (~jazz@user/jazzah) (Ping timeout: 244 seconds) |
| 2022-07-12 09:35:29 | → | Jazzah joins (~jazz@stolen.plutonium.dk) |
| 2022-07-12 09:35:29 | × | Jazzah quits (~jazz@stolen.plutonium.dk) (Changing host) |
| 2022-07-12 09:35:29 | → | Jazzah joins (~jazz@user/jazzah) |
| 2022-07-12 10:01:51 | → | dschrempf joins (~dominik@mobiledyn-62-240-134-33.mrsn.at) |
| 2022-07-12 10:02:14 | × | dschrempf quits (~dominik@mobiledyn-62-240-134-33.mrsn.at) (Client Quit) |
| 2022-07-12 10:28:26 | × | Lears quits (~Leary]@122-58-224-198-vdsl.sparkbb.co.nz) (Ping timeout: 255 seconds) |
| 2022-07-12 10:46:41 | × | Guest50 quits (~Guest50@pd9ec2719.dip0.t-ipconnect.de) (Quit: Client closed) |
| 2022-07-12 11:09:27 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2022-07-12 11:09:28 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 2022-07-12 11:09:31 | allbery_b | is now known as geekosaur |
| 2022-07-12 11:21:04 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-07-12 11:23:14 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-07-12 11:38:30 | tjmciver_ | is now known as tjmciver |
| 2022-07-12 11:45:39 | → | Guest50 joins (~Guest50@pd9ec2719.dip0.t-ipconnect.de) |
| 2022-07-12 12:02:21 | → | [Leary] joins (~Leary]@122-58-224-198-vdsl.sparkbb.co.nz) |
| 2022-07-12 12:06:15 | × | Guest50 quits (~Guest50@pd9ec2719.dip0.t-ipconnect.de) (Quit: Client closed) |
| 2022-07-12 12:47:00 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-07-12 14:51:10 | → | benin09 joins (~benin@156.146.51.131) |
| 2022-07-12 14:52:49 | × | benin0 quits (~benin@183.82.29.162) (Ping timeout: 272 seconds) |
| 2022-07-12 14:52:49 | benin09 | is now known as benin0 |
| 2022-07-12 14:55:12 | <Safeguard-IRC> | ok i've been trying to tackle that xmobar problem for a while now, but I simply don't know how to make it work correctly; any tip on that? |
All times are in UTC.