Logs on 2022-11-07 (liberachat/#xmonad)
| 00:06:19 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 260 seconds) |
| 00:08:25 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 00:10:12 | → | justache joins (~justache@user/justache) |
| 01:04:19 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::4b68) |
| 02:06:44 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 248 seconds) |
| 02:08:32 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 02:52:05 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 02:52:29 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 02:59:49 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 03:00:08 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 03:02:35 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 246 seconds) |
| 03:20:52 | × | td_ quits (~td@83.135.9.27) (Ping timeout: 248 seconds) |
| 03:22:42 | → | td_ joins (~td@83.135.9.26) |
| 03:23:55 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 04:02:01 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds) |
| 04:31:43 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::4b68) (Ping timeout: 252 seconds) |
| 05:25:59 | × | td_ quits (~td@83.135.9.26) (Ping timeout: 260 seconds) |
| 05:26:12 | → | td_ joins (~td@83.135.9.26) |
| 06:21:38 | → | chomwitt joins (~chomwitt@2a02:587:7a0a:c00:1ac0:4dff:fedb:a3f1) |
| 06:42:29 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 06:42:47 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 07:04:11 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 07:04:28 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 07:05:58 | <xmonadtrack> | xmonad-contrib Illia Bobyr * v0.17.1-72-gcf975d08: EwmhDesktops: _NET_CLIENT_LIST_STACKING: In focus order (9 days ago, 2 files, 35+ 4-) https://github.com/xmonad/xmonad-contrib/commit/cf975d082eb3 |
| 07:06:01 | <xmonadtrack> | xmonad-contrib Tony Zorman {GitHub} * v0.17.1-74-g6373dc41: Merge pull request #772 from ilya-bobyr/master (4 minutes ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/6373dc41fa4d |
| 07:15:31 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Quit: WeeChat 3.6) |
| 07:15:53 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 08:21:28 | → | cfricke joins (~cfricke@user/cfricke) |
| 08:22:38 | × | wusticality quits (~user@76.131.115.3) (Remote host closed the connection) |
| 09:00:05 | × | Solid[m] quits (~slot-matr@2001:470:69fc:105::1:a84) (Quit: You have been kicked for being idle) |
| 09:00:14 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 09:08:14 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 260 seconds) |
| 09:10:15 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 09:25:06 | → | Ehllie joins (~Thunderbi@217-67-208-66.itsa.net.pl) |
| 09:47:25 | × | Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Ping timeout: 252 seconds) |
| 10:05:53 | → | thyriaen joins (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) |
| 10:05:57 | × | ft quits (~ft@p508dbd59.dip0.t-ipconnect.de) (Quit: leaving) |
| 10:37:38 | × | pl quits (sid98063@id-98063.helmsley.irccloud.com) (Read error: Connection reset by peer) |
| 10:38:27 | → | pl joins (sid98063@2a03:5180:f:1::1:7f0f) |
| 11:09:55 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds) |
| 11:26:55 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 12:03:03 | → | Ehllie joins (~Thunderbi@217-67-208-66.itsa.net.pl) |
| 12:55:29 | × | vanvik1 quits (~vanvik@78.156.8.93) (Quit: Later) |
| 13:30:44 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 13:30:59 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 15:11:47 | → | vanvik1 joins (~vanvik@185.138.33.250) |
| 15:21:07 | → | Ehllie1 joins (~Thunderbi@217-67-208-66.itsa.net.pl) |
| 15:22:29 | × | Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Ping timeout: 246 seconds) |
| 15:22:29 | Ehllie1 | is now known as Ehllie |
| 15:42:30 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 15:43:06 | <jabuxas> | hello |
| 15:43:19 | <jabuxas> | how can I set a default layout for a workspace? |
| 15:43:26 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 15:47:14 | × | Ehllie quits (~Thunderbi@217-67-208-66.itsa.net.pl) (Ping timeout: 260 seconds) |
| 15:55:26 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Layout-PerWorkspace.html |
| 15:55:58 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L144-L151 example |
| 16:12:51 | <jabuxas> | thank you, managed to get it working. it wasn't working for some reason adding on the layoutHook at the end so I just put it inside myLayoutHook |
| 16:14:28 | <geekosaur> | your myLayoutHook probably has an unconditional set of layouts which would take precedence (cf. line 152 of mine) |
| 16:14:51 | <geekosaur> | they have to come before those |
| 16:15:47 | <geekosaur> | well, it'd still work but you would have to mod-space through the other layouts to reach it. it's not a very practical setup when put at the end |
| 16:17:35 | <geekosaur> | also, after things like avoidStruts (noting I have some magic on line 144) |
| 16:18:50 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::4b68) |
| 16:19:14 | <jabuxas> | now that you said, i think putting it first and then mylayouthook would probably work, as you have basic at the end |
| 16:20:20 | <jabuxas> | also how do u have 12 workspaces o.O |
| 16:22:41 | <geekosaur> | there's no limit on the number of workspaces you can have. I extended the top row keys to access the additional ones as 0/-/= (lines 251-255) |
| 16:23:08 | <geekosaur> | but you can also use XMonad.Prompt.Workspaces to access by name, or use DynamicWorkspaces to make new named workspaces on the fly |
| 16:23:21 | <jabuxas> | the reason I decided to fixate a floating layout on my game's workspace is because I couldn't figure out how to doFloat it properly since it just wasn't working, and onPropertyChange is some dark magic. tho doShift was working. |
| 16:24:26 | <geekosaur> | I've also seen configs which have 20+ workspaces by using the F-keys to access the additional ones |
| 16:24:36 | <jabuxas> | geekosaur: oh I see, I can't even juggle the 8 workspaces I have at hand but 12 workspaces does seem attractive |
| 16:25:01 | <geekosaur> | I don't use the extra ones that often but they can be fairly useful at times |
| 16:25:32 | <geekosaur> | I think there's also a Prompt module to find/focus a workspace by window |
| 16:26:17 | <jabuxas> | rofi can also do that window finding thing |
| 16:26:33 | <geekosaur> | yeh, part of XMonad.Prompt.Window |
| 16:29:09 | <jabuxas> | i have no idea why my ncmpcpp scratchpad doesn't work |
| 16:31:15 | <jabuxas> | when i run the exact command ` kitty --name ncmpcpp -e ncmpcpp` it works (it runs), but it doesn't really recognize as scratchpad |
| 16:32:07 | <jabuxas> | https://0x0.st/oExA.txt at the end of the file i'm defining it |
| 16:35:13 | <geekosaur> | might mean it doesn't set --name until it's mapped, which is what onPropertyChange is for |
| 16:35:26 | <geekosaur> | then again that would break the terminal scratchpad too |
| 16:37:07 | <jabuxas> | terminal scratchpad works |
| 17:06:51 | <geekosaur> | hm. can you make sure -e doesn't override --name? |
| 17:06:59 | geekosaur | is still trying to figure this out |
| 17:08:56 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-ManageDebug.html may be helpful as well, if you have access to xmonad's stderr (usually .xsession-errors) |
| 17:16:31 | → | jao joins (~jao@92.233.85.247) |
| 17:17:03 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Remote host closed the connection) |
| 17:19:24 | <jabuxas> | `WM_CLASS(STRING) = "ncmpcpp", "kitty"` |
| 17:19:31 | <jabuxas> | so it looks like it isn't overriding |
| 17:19:53 | <jabuxas> | when I xprop my term scratchpad, it shows up as `"scratchpad", "kitty"` |
| 17:25:34 | → | thyriaen joins (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) |
| 17:26:56 | → | thyriaen_ joins (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) |
| 17:51:14 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 3.7.1) |
| 17:51:22 | <geekosaur> | still might want to try ManageDebug (https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L54-L56 see also line 132) just to make sure. M-S-d (or pick your own key sequence and fill it in on line 54) then open the ncmpcpp scratchpad |
| 17:51:31 | <jabuxas> | ok so is there an mpd library for xmobar or something? I'm not finding anything on https://hackage.haskell.org/package/xmobar-0.39/docs/Xmobar.html |
| 17:51:53 | <geekosaur> | (also note the ManageHook only applies when first launched, so you would need to exit and relaunch) |
| 17:52:05 | <geekosaur> | I don't know, I don't use xmobar |
| 17:52:13 | <jabuxas> | ok I will try that managedebug |
| 17:52:18 | <geekosaur> | although, no library as such but ISTR a plugin |
| 17:54:07 | <geekosaur> | https://codeberg.org/xmobar/xmobar/src/branch/master/doc/plugins.org#headline-44 |
| 17:54:36 | <geekosaur> | two plugins in fact, I pointed to MPDX vs. MPD which is headline-43 |
| 17:55:42 | <jabuxas> | I was trying, but `Data constructor not in scope: MPD :: [String]` errors out |
| 17:56:38 | <geekosaur> | sounds like your xmobar was built without it, then |
| 17:57:44 | <geekosaur> | https://codeberg.org/xmobar/xmobar/src/branch/master/xmobar.cabal#L51-L53 |
| 17:58:28 | <jabuxas> | I guess it was indeed built without it, even when I added `with_mpd : true` to stack.yaml and ran `stack install` |
| 17:58:47 | <jabuxas> | I updated the stack.yaml and now it lloks like it should work |
| 18:13:30 | <geekosaur> | make sure the libmpd dev library is installed or it might flip it back to false or just report it can't find an install plan |
| 18:14:01 | <jabuxas> | all went well |
| 18:14:03 | <jabuxas> | sort of |
| 18:14:13 | <jabuxas> | it is showing <Waiting...> |
| 18:14:17 | <jabuxas> | I'm not sure what's wrong |
| 18:14:44 | <jabuxas> | `, Run $ MPD ["-t", "<composer> <title> <track>/<plength> <statei>", "--", "-P", ">>", "-Z", "|", "-S", "><"] 10` |
| 18:20:35 | <geekosaur> | make sure MPD_HOST and MPD_PORT are set in xmobar's context? (this is similar to $PATH, if you started mpd separately then libmpd might not be able to find it) |
| 18:21:32 | <geekosaur> | which mmeans it may be set for a terminal but not for xmobar |
| 18:23:08 | <jabuxas> | hmmm |
| 18:24:36 | <geekosaur> | or use -h/-p in the plugin args |
| 18:29:51 | <jabuxas> | I have added `"-h", "127.0.0.1", "-p", "6600",` to the args |
| 18:30:07 | <jabuxas> | still waiting |
| 18:30:28 | <geekosaur> | 😞 |
| 18:39:09 | <jabuxas> | looking at other people's config, they don't need to add -p and -h |
| 18:40:44 | × | jabuxas quits (~jabuxas@user/jabuxas) (Remote host closed the connection) |
| 18:41:50 | <geekosaur> | @tell jabuxas I don't know enough about mpd, I don't know if you (or they) are starting it differently, etc. |
| 18:41:51 | <lambdabot> | Consider it noted. |
| 18:43:28 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 18:46:41 | <jabuxas> | geekosaur: i'll probably just write a script with `mpc current -f %title%` or something |
| 18:47:49 | <jabuxas> | i'll try to figure that out later, thank you for your patience and help |
| 18:47:52 | × | jabuxas quits (~jabuxas@user/jabuxas) (Client Quit) |
| 18:59:52 | × | thyriaen_ quits (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Quit: Leaving) |
| 19:23:20 | → | YasserK[m]1 joins (~varonking@2001:470:69fc:105::2:b4a2) |
| 19:24:07 | × | burp quits (~quassel@hedgewars/sysadmin/burp) (Read error: Connection reset by peer) |
| 19:24:07 | × | YasserK[m] quits (~varonking@2001:470:69fc:105::2:b4a2) (Ping timeout: 246 seconds) |
| 19:24:07 | × | VarikValefor[m] quits (~varikvale@2001:470:69fc:105::a5d) (Ping timeout: 246 seconds) |
| 19:24:07 | × | lions[m] quits (~lionsmatr@2001:470:69fc:105::d1fe) (Ping timeout: 246 seconds) |
| 19:24:07 | × | MangoIV[m] quits (~mangoivma@2001:470:69fc:105::2:8417) (Ping timeout: 246 seconds) |
| 19:24:07 | × | unclechu quits (~unclechu@2001:470:69fc:105::354) (Ping timeout: 246 seconds) |
| 19:24:08 | × | fewu[m] quits (~fewumatri@2001:470:69fc:105::2:ad68) (Ping timeout: 246 seconds) |
| 19:24:12 | × | jao quits (~jao@92.233.85.247) (Ping timeout: 260 seconds) |
| 19:24:46 | → | ft joins (~ft@p508dbd59.dip0.t-ipconnect.de) |
| 19:25:02 | → | burp joins (~quassel@hedgewars/sysadmin/burp) |
| 19:28:06 | → | lions[m] joins (~lionsmatr@2001:470:69fc:105::d1fe) |
| 19:28:07 | → | MangoIV[m] joins (~mangoivma@2001:470:69fc:105::2:8417) |
| 19:31:33 | → | fewu[m] joins (~fewumatri@2001:470:69fc:105::2:ad68) |
| 19:32:14 | → | VarikValefor[m] joins (~varikvale@2001:470:69fc:105::a5d) |
| 19:32:16 | → | unclechu joins (~unclechu@2001:470:69fc:105::354) |
| 19:57:20 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 20:56:36 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 20:59:32 | × | jabuxas quits (~jabuxas@user/jabuxas) (Remote host closed the connection) |
| 21:02:04 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 21:04:20 | <jabuxas> | geekosaur: how is your setup on mate? do you use mate's panel? |
| 21:09:57 | <jabuxas> | i was trying to set it up but I have literally no idea why the windows on my 2nd monitor are tiled that way: https://0x0.st/oEg1.png |
| 21:10:23 | <jabuxas> | I also don't know why the 1st panel is invisible but 2nd isn't |
| 21:14:48 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 21:18:59 | <geekosaur> | I use mate-panel, yes. both panels on primary screen, one top, one bottom |
| 21:21:08 | <geekosaur> | also I use arandr to arrange monitors but that's because my laptop has a bum displayport on it and mate's display manager tries to access it and hangs at 100% cpu |
| 21:22:04 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 21:22:16 | <jabuxas> | i'm not sure what's causing the thing at the second monitor either. if I move the windows out of tiling they work just fine, 100% of the screen, the only thing that doesn't work is tiling. i have no idea why. |
| 21:22:57 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 21:23:58 | <jabuxas> | uhmmm this is weird |
| 21:24:37 | <jabuxas> | https://0x0.st/oEg4.png it.. works now? |
| 21:25:22 | <jabuxas> | the only thing i did was delete first panel and create another one (that wasn't invisible) |
| 21:28:25 | <geekosaur> | odd |
| 21:28:50 | <geekosaur> | sounds as if the struts got miscalculated for some reason |
| 21:29:04 | × | ft quits (~ft@p508dbd59.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 21:29:16 | <jabuxas> | well the good thing is that xfce-panel can show workspaces. that's the only reason i really used xmobar :) |
| 21:29:43 | <jabuxas> | now I just need to tweak things to my liking.. |
| 21:29:53 | × | jabuxas quits (~jabuxas@user/jabuxas) (Quit: WeeChat 3.6) |
| 21:30:28 | → | ft joins (~ft@p508dbd59.dip0.t-ipconnect.de) |
| 21:31:05 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 21:31:36 | <geekosaur> | there might be a better mpd client for it as well |
| 21:32:14 | <jabuxas> | nevermind |
| 21:32:16 | <geekosaur> | xfce4-mpc-plugin appears to exist |
| 21:32:22 | <geekosaur> | huh? |
| 21:32:25 | <jabuxas> | if i log out and log back in, the panels are transparent again |
| 21:32:46 | <geekosaur> | o.O |
| 21:33:16 | <jabuxas> | xmonad knows they exist - it even respects its borders |
| 21:34:03 | <geekosaur> | then that's an issue with the panels themselves. panels are self-managing, and drawing is always up to the app not the wm |
| 21:34:31 | <geekosaur> | anything odd with the panel plugins by any chance? |
| 21:35:31 | <jabuxas> | https://0x0.st/oEgg.png |
| 21:35:37 | <jabuxas> | not really |
| 21:40:48 | <jabuxas> | If I use xfce4-panel-profiles to reapply the same config I have now, they appear. |
| 21:45:00 | <geekosaur> | you have ther weirdest problems… |
| 21:45:13 | <jabuxas> | :'( |
| 21:46:54 | <geekosaur> | https://imgur.com/FQZDc5zl.png fwiw |
| 21:48:42 | <jabuxas> | i will log out |
| 21:48:44 | <jabuxas> | and pray |
| 21:48:49 | × | jabuxas quits (~jabuxas@user/jabuxas) (Quit: WeeChat 3.6) |
| 21:50:14 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 21:51:24 | <jabuxas> | ok |
| 21:51:26 | <jabuxas> | so |
| 21:51:28 | <jabuxas> | https://github.com/xmonad/xmonad-contrib/issues/194 |
| 21:51:30 | <jabuxas> | looks like |
| 21:51:32 | <jabuxas> | i'm not alone. |
| 21:54:24 | <jabuxas> | oh you even commented on the issue |
| 21:56:58 | × | jabuxas quits (~jabuxas@user/jabuxas) (Quit: WeeChat 3.6) |
| 22:00:31 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 22:00:40 | <jabuxas> | ok so sleep 4 works |
| 22:04:39 | <geekosaur> | I'd forgotten about that one |
| 22:08:19 | <geekosaur> | I wonder if adding some kind of wm startup indicator would help (mate uses https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Config/Mate.hs#L82-L102) |
| 22:08:48 | <geekosaur> | would need adjusting for xfce4, amd I have no idea what to send it to or what exactly to send it |
| 22:09:22 | × | jabuxas quits (~jabuxas@user/jabuxas) (Quit: WeeChat 3.6) |
| 22:26:08 | → | jabuxas joins (~jabuxas@user/jabuxas) |
| 22:28:27 | <jabuxas> | ok at last, lightdm working, xmonad also "working", and panels too |
| 22:31:23 | <jabuxas> | is it hard to implement xmonad-log-applet? |
| 22:34:03 | <geekosaur> | it's something of a PITA; first you need to usually build it for your DE because it's rarely packaged and when it is it's only one of the variants (but check, maybe yours packages the XFCE4 variant) |
| 22:34:15 | <geekosaur> | then you need to set up to send it dbus messages |
| 22:35:15 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L128-L130 https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L290-L338 is mine |
| 22:35:23 | × | rundown quits (~eb0t@94.15.186.227) (Ping timeout: 248 seconds) |
| 22:35:26 | <geekosaur> | note that I use fairly custom logging |
| 22:37:03 | <jabuxas> | first i need to debug why |
| 22:37:06 | <jabuxas> | configure: error: Package requirements (libxfce4panel-1.0 >= 4.6.0) were not met: |
| 22:37:08 | <jabuxas> | Package 'libxfce4panel-1.0', required by 'virtual:world', not found |
| 22:37:28 | → | rundown joins (~eb0t@33ba0e59.skybroadband.com) |
| 22:39:05 | <jabuxas> | and I do have xfce4-dev-tools installed |
| 22:41:09 | <jabuxas> | is my libxfce4panel too updated? |
| 22:42:08 | <geekosaur> | looks like xfce4-dev-tools is the wrong package? "The Xfce development tools are a collection of tools and macros for Xfce developers and people that want to build Xfce from Git" |
| 22:43:02 | <geekosaur> | hm, apt-cache shows me libxfce4panel-2.0-dev |
| 22:45:22 | <geekosaur> | where did you get xmonad-log-applet? the original upstream is dead and out of date on both mate and xfce4; my current upstream is up to date on both |
| 22:45:59 | <geekosaur> | https://github.com/jgoerzen/xmonad-log-applet.git |
| 22:46:22 | <jabuxas> | oh yeah, i got it from a alexkay guy |
| 22:47:12 | <jabuxas> | hmm now it worked |
| 22:47:13 | <jabuxas> | thank you |
| 22:47:20 | <jabuxas> | i guess it wasn't detecting before |
| 22:47:52 | <geekosaur> | it found 2.0 instead of 1.0 and failed, probably. (api changes) |
| 22:48:37 | <geekosaur> | the 1.0/2.0 is actually part of the name, that's how breaking api changes are usually indicated |
| 22:48:45 | <jabuxas> | ok now dbus time |
| 22:50:04 | <geekosaur> | libdbus-1-dev |
| 22:50:40 | <geekosaur> | xmonad-log-applet itself is written in C++ because it's a pain to hook a Haskell plugin into a C++ panel |
| 22:51:25 | <jabuxas> | the problem is putting dbus inside my config |
| 22:51:41 | <jabuxas> | would this config work? https://github.com/alexkay/xmonad-log-applet/blob/master/xmonad.hs |
| 22:51:44 | <jabuxas> | to base it of off |
| 22:52:22 | <geekosaur> | yes; it's a simplified version of the stuff I pointed you to in my config |
| 22:52:35 | <geekosaur> | which is mostly cribbed from that |
| 22:52:52 | <geekosaur> | although I added a few additional pango markup functions |
| 22:54:14 | × | chomwitt quits (~chomwitt@2a02:587:7a0a:c00:1ac0:4dff:fedb:a3f1) (Ping timeout: 252 seconds) |
| 22:57:52 | <jabuxas> | Could not load module ‘DBus’ |
| 22:57:54 | <jabuxas> | It is a member of the hidden package ‘dbus-1.2.22’. |
| 22:57:58 | <jabuxas> | '-' |
| 22:58:35 | <jabuxas> | now its the part where i regret getting this build from a friend |
| 23:02:29 | <geekosaur[m]> | Yes you need to declare dbus as a dependency |
| 23:02:40 | <jabuxas> | im declaring it on my .cabal file |
| 23:02:45 | <jabuxas> | but it is being overwritten |
| 23:03:52 | <geekosaur[m]> | If you are using stack then check package.yaml and you may also need it in stack.yaml extra-deps |
| 23:08:02 | <jabuxas> | https://0x0.st/oEEx.txt |
| 23:08:18 | <jabuxas> | how do I declare it on both? |
| 23:09:45 | <jabuxas> | actually, I should only need to add dbus-1.2.22 on stack.yaml |
| 23:10:08 | <jabuxas> | but I don't know the command to actually rebuild it |
| 23:10:55 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::4b68) (Ping timeout: 260 seconds) |
| 23:12:43 | <geekosaur> | you still need it in the cabal file, but if stack sees a package.yaml it'll overwrite the cabal file. I'd just remove that and work with the cabal file directly; the other way is just confusing |
| 23:13:40 | <geekosaur> | looks like dbus is in the resolver already so it doesn't need to be added to stack.yaml |
| 23:13:46 | <jabuxas> | oh it worked by adding dbus to package yaml |
| 23:13:55 | <jabuxas> | do I really need import qualified Codec.Binary.UTF8.String as UTF8? |
| 23:14:29 | <geekosaur> | dbusOutput uses it |
| 23:15:09 | <jabuxas> | but you don't have it |
| 23:15:40 | <geekosaur> | oh, right, we changed that |
| 23:15:52 | <geekosaur> | encoding is done in a different place now so you don't need it |
| 23:16:14 | <geekosaur> | you used to get a utf8-encoded string out of DynamicLog, now that's done in output when needed |
| 23:16:29 | <geekosaur> | so no, you don't need that or the dependency |
| 23:16:51 | <jabuxas> | ok |
| 23:17:08 | <jabuxas> | i'm trying to scrape whatever i can from your config |
| 23:19:07 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Quit: Leaving) |
| 23:21:06 | <jabuxas> | looks like just copying the highlighted lines doesn't work |
| 23:21:09 | <jabuxas> | who would've thought |
| 23:21:47 | <geekosaur> | you need both groups, and I forgot https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L173 |
| 23:22:04 | <geekosaur> | which is what hooks them together |
| 23:23:29 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::4b68) |
| 23:25:44 | <jabuxas> | you were right |
| 23:25:50 | <jabuxas> | it is a hassle to set up |
| 23:26:19 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 23:26:36 | <geekosaur> | someday I may try to package it up compatibly with StatusBar's stuff and add it to xmonad-extras |
| 23:26:56 | <geekosaur> | I'm not sure it supports enough to do that currently though |
| 23:27:13 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 23:27:42 | <jabuxas> | https://dpaste.com/5LBJF23HE |
| 23:27:48 | <jabuxas> | any ideas? |
| 23:28:29 | <jabuxas> | https://0x0.st/oEEd.txt |
| 23:28:30 | <jabuxas> | how it looks rn |
| 23:29:11 | <geekosaur> | most of that is you need `{-# LANGUAGE OverloadedStrings #-}` at the very top of the file. the `getSortBy…` stuff is https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L39 |
| 23:30:35 | <jabuxas> | it indeed cleared up a lot of things |
| 23:31:27 | <jabuxas> | what about the horizontalScreenOrderer? |
| 23:32:46 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L10 |
| 23:34:29 | × | ft quits (~ft@p508dbd59.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 23:34:40 | <geekosaur> | you might prefer to replace that whole thing with your own logging; I figured since I care more about windows than workspaces and those are in the top bar, I just show which workspace is on each screen + any urgent workspaces |
| 23:34:52 | <geekosaur> | + layout + title of active window |
| 23:35:27 | <geekosaur> | you may want to fiddle with the pango colors as well, mine are based on the rather dark gtk theme I use |
| 23:36:10 | → | ft joins (~ft@p508dbd59.dip0.t-ipconnect.de) |
| 23:36:52 | <geekosaur> | with a more typical color scheme I suspect my choice of inactive color will be unreadable |
| 23:36:58 | <geekosaur> | (pangoInactive) |
| 23:38:08 | <jabuxas> | i was thinking of getting it working first and then understanding and tweaking |
| 23:38:36 | <jabuxas> | tbh I don't really need xmonad logging except so it can say what layout is on each workspace, which i won't even really use. |
| 23:40:22 | → | noex joins (~null@user/noex) |
| 23:40:41 | <jabuxas> | now that I think about it.. why did i go through all that trouble |
| 23:43:51 | <jabuxas> | geekosaur: thank you for your help again. i think i'm the most troublesome person here at this point. i will settle a bit and then try to tweak anything if needed |
All times are in UTC on 2022-11-07.