Logs: liberachat/#xmonad
| 2022-08-11 09:00:22 | × | pjaml[m] quits (~pjamlmatr@2001:470:69fc:105::2:41c4) (Quit: You have been kicked for being idle) |
| 2022-08-11 09:02:52 | → | sogens joins (~sogens@211.30.173.20) |
| 2022-08-11 09:09:57 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-08-11 09:14:08 | × | haskl quits (~haskl@user/haskl) (Remote host closed the connection) |
| 2022-08-11 09:14:24 | → | haskl joins (~haskl@user/haskl) |
| 2022-08-11 09:14:52 | × | haskl quits (~haskl@user/haskl) (Remote host closed the connection) |
| 2022-08-11 09:15:08 | → | haskl joins (~haskl@user/haskl) |
| 2022-08-11 09:32:08 | × | sogens quits (~sogens@211.30.173.20) (Ping timeout: 255 seconds) |
| 2022-08-11 09:33:01 | <zim0369[m]1> | Solid: do u think this could be due to kmonad |
| 2022-08-11 09:34:13 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-11 09:51:27 | → | logzet joins (~quassel@2001:9e8:e50d:4b00:dabb:c1ff:fed3:a1b9) |
| 2022-08-11 10:03:13 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5) |
| 2022-08-11 10:13:28 | → | benin0 joins (~benin@183.82.31.108) |
| 2022-08-11 10:17:03 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-11 11:25:29 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:312b:b0d2:43e8:3622) (Ping timeout: 268 seconds) |
| 2022-08-11 11:34:33 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-08-11 12:18:42 | × | alternateved quits (~user@staticline-31-183-149-36.toya.net.pl) (Remote host closed the connection) |
| 2022-08-11 12:33:01 | × | bsima quits (~bsima@2604:a880:400:d0::19f1:7001) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2022-08-11 12:33:25 | → | bsima joins (~bsima@143.198.118.179) |
| 2022-08-11 13:04:36 | <geekosaur> | I'd be really surprised if a keyboard manager had anything to do with xmonad vs. xmobar |
| 2022-08-11 13:10:23 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-08-11 13:13:59 | <zim0369[m]1> | geekosaur: can you at least help me setup polybar? |
| 2022-08-11 13:14:36 | <zim0369[m]1> | I didn't know how to set it up from scratch so I copied a lot of stub code from here: https://gvolpe.com/blog/xmonad-polybar-nixos/ |
| 2022-08-11 13:15:07 | × | Hash quits (~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) (Quit: ZNC - https://znc.in) |
| 2022-08-11 13:15:44 | <geekosaur> | probably not. I don't use either xmobar or polybar |
| 2022-08-11 13:16:43 | <zim0369[m]1> | atleast with one line? |
| 2022-08-11 13:16:53 | <zim0369[m]1> | that guys loghook looks like: |
| 2022-08-11 13:16:53 | <zim0369[m]1> | ` , logHook = myPolybarLogHook dbus` |
| 2022-08-11 13:17:16 | <zim0369[m]1> | mine: ` logHook = refocusLastLogHook <> logHook def,` |
| 2022-08-11 13:17:23 | <zim0369[m]1> | how should i modify mine? |
| 2022-08-11 13:18:08 | <zim0369[m]1> | also in his config: |
| 2022-08-11 13:18:08 | <zim0369[m]1> | `myPolybarLogHook dbus = myLogHook <+> dynamicLogWithPP (polybarHook dbus)` |
| 2022-08-11 13:18:08 | <zim0369[m]1> | and |
| 2022-08-11 13:18:08 | <zim0369[m]1> | `myLogHook = fadeInactiveLogHook 0.9` |
| 2022-08-11 13:29:00 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.5) |
| 2022-08-11 13:29:21 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-11 13:31:33 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.6) |
| 2022-08-11 13:31:39 | <geekosaur> | you probably don't need the fadeInactiveLogHook |
| 2022-08-11 13:31:58 | <geekosaur> | you would use <> to add the myPolybarLogHook to yours |
| 2022-08-11 13:32:45 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Client Quit) |
| 2022-08-11 13:33:56 | <zim0369[m]1> | how do i bring the dbus variable into scope? |
| 2022-08-11 13:35:50 | <geekosaur> | hm. you separated your config from main, right? that means you have to pass it as a parameter to your config |
| 2022-08-11 13:40:19 | <zim0369[m]1> | geekosaur: ``` |
| 2022-08-11 13:40:20 | <zim0369[m]1> | main :: IO () |
| 2022-08-11 13:40:20 | <zim0369[m]1> | main = xmonad $ myConfig |
| 2022-08-11 13:40:20 | <zim0369[m]1> | ``` |
| 2022-08-11 13:40:24 | <zim0369[m]1> | this is my main func. |
| 2022-08-11 13:40:48 | <zim0369[m]1> | so `main = xmonad $ myConfig $ dbus`? |
| 2022-08-11 13:40:52 | <geekosaur> | then where do you get dbus from? |
| 2022-08-11 13:41:08 | <geekosaur> | pastebin your full config |
| 2022-08-11 13:42:03 | <zim0369[m]1> | https://paste.tomsmeding.com/dfhoacT0 |
| 2022-08-11 13:44:04 | <geekosaur> | mkDbusClient needs to be invoked from main |
| 2022-08-11 13:46:00 | <geekosaur> | https://paste.tomsmeding.com/9qFkNABn |
| 2022-08-11 13:47:16 | <zim0369[m]1> | polybar works |
| 2022-08-11 13:47:32 | <zim0369[m]1> | but now i have to display the right workspaces and polybar overlaps over the windows |
| 2022-08-11 13:48:20 | <geekosaur> | yes, you're missing avoidStruts and docks |
| 2022-08-11 13:48:49 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:bc9f:ef3a:bfe5:3be8) |
| 2022-08-11 13:50:48 | × | benin0 quits (~benin@183.82.31.108) (Quit: The Lounge - https://thelounge.chat) |
| 2022-08-11 13:52:04 | <geekosaur> | https://paste.tomsmeding.com/tTV2ozl5 |
| 2022-08-11 13:52:59 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 2022-08-11 13:53:04 | <geekosaur> | "display the right workspaces" means replacing `polybarHook` with whatever you were using before |
| 2022-08-11 13:54:08 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:bc9f:ef3a:bfe5:3be8) (Ping timeout: 268 seconds) |
| 2022-08-11 13:55:17 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:b1ae:6546:179b:240) |
| 2022-08-11 13:57:29 | <zim0369[m]1> | polybar launches the same w/o that configuration |
| 2022-08-11 13:57:29 | <zim0369[m]1> | how am i supposed to integrate polybar with xmonad |
| 2022-08-11 13:59:39 | <geekosaur> | I don't understanmd the question. this modifies xmonad to talk to polybar via dbus; you may need to configure polybar to listen on dbus |
| 2022-08-11 14:00:03 | <geekosaur> | and you probably want to configure polybarHook to do what you want instead of the simple display it currently uses |
| 2022-08-11 14:00:30 | <geekosaur> | but, again, I don't know polybar |
| 2022-08-11 14:00:46 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:b1ae:6546:179b:240) (Remote host closed the connection) |
| 2022-08-11 14:01:05 | → | chomwitt joins (~chomwitt@2a02:587:dc15:5e00:1638:9f00:c92a:288b) |
| 2022-08-11 14:04:08 | <geekosaur> | I presume you have to configure it to display what it's being sent instead of trying to use EWMH (which you have disabled) |
| 2022-08-11 14:13:51 | → | Hash joins (~Hash@tunnel686959-pt.tunnel.tserv15.lax1.ipv6.he.net) |
| 2022-08-11 14:15:25 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-08-11 14:24:26 | → | thunderrd joins (~thunderrd@183.182.115.11) |
| 2022-08-11 14:26:10 | × | chomwitt quits (~chomwitt@2a02:587:dc15:5e00:1638:9f00:c92a:288b) (Ping timeout: 268 seconds) |
| 2022-08-11 14:27:44 | × | thunderrd quits (~thunderrd@183.182.115.11) (Remote host closed the connection) |
| 2022-08-11 14:28:42 | → | thunderrd joins (~thunderrd@183.182.115.11) |
| 2022-08-11 14:39:28 | × | thunderrd quits (~thunderrd@183.182.115.11) (Remote host closed the connection) |
| 2022-08-11 14:41:41 | → | thunderrd joins (~thunderrd@183.182.115.11) |
| 2022-08-11 15:04:53 | Hash | is now known as stoned |
| 2022-08-11 15:14:04 | <zim0369[m]1> | I went through a lot of configurations and seems like they're all using ewmh |
| 2022-08-11 15:14:21 | <zim0369[m]1> | but i can't use it because it messes up with fakefullscreen |
| 2022-08-11 15:17:15 | <geekosaur> | that shyould only happen if you use the ewmhFullscreen modifier |
| 2022-08-11 15:17:22 | <geekosaur> | it's separate for a reason |
| 2022-08-11 15:18:09 | <geekosaur> | also it looks like polybar might be using a special logger to get information directly from xmonad instead of using EWMH, but I have no clue what this nix xmonad-log package might be |
| 2022-08-11 15:19:10 | <geekosaur> | but looking back at the xmonad config's dbus setup it's almost the same as my setup for xmonad-log-applet in mate-panel |
| 2022-08-11 15:19:32 | <geekosaur> | (that doesn't support polybar, though) |
| 2022-08-11 15:23:19 | <geekosaur> | so that part of polybar config is hidden somewhere in nix and you'll have to find a config that doesn't use nix to find out how to use it |
| 2022-08-11 15:23:46 | <geekosaur> | (*don't* try to switch to nix, it has a very high learning curve) |
| 2022-08-11 15:25:16 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
| 2022-08-11 15:26:08 | <geekosaur> | actually that looks like nixos since it includes configuration information, that's even worse than plain nix |
| 2022-08-11 15:27:29 | → | Quelklef joins (~Quelklef@64.67.70.25.res-cmts.tvh.ptd.net) |
| 2022-08-11 15:34:00 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.6) |
| 2022-08-11 15:34:17 | <geekosaur> | https://github.com/sagotsky/.dotfiles/blob/master/config/polybar/config-xmonad-log#L94-L98 is how you hook in xmonad-log in a normal config. I have no idea what this xmonad-log program is or whether it's packaged on your distro |
| 2022-08-11 15:35:44 | <geekosaur> | looks like it's not, from a quick google |
| 2022-08-11 15:35:45 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-08-11 15:37:27 | <geekosaur> | https://github.com/xintron/xmonad-log |
| 2022-08-11 15:37:33 | <zim0369[m]1> | the configuration you sent was all working |
| 2022-08-11 15:37:49 | <zim0369[m]1> | it just needed ewmh and everything worked flawlessly |
| 2022-08-11 15:38:04 | <zim0369[m]1> | as you said i didn't use ewmhfull so my fakefullscreen is still preserved |
All times are in UTC.