Logs on 2022-01-04 (liberachat/#xmonad)
| 00:47:54 | × | twiclo1 quits (~twiclo@vpn.utahbroadband.com) (Quit: WeeChat 3.3) |
| 00:48:11 | → | twiclo1 joins (~twiclo@vpn.utahbroadband.com) |
| 01:00:10 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 02:05:42 | → | dirtcastle joins (~dirtcastl@103.43.203.229) |
| 02:09:49 | × | humky quits (~humky@user/humky) (Quit: Leaving) |
| 02:13:57 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds) |
| 02:37:43 | → | dirtcastle_pc joins (~su@103.43.203.229) |
| 02:48:36 | × | dirtcastle_pc quits (~su@103.43.203.229) (Quit: Leaving) |
| 02:56:35 | → | dirtcastle_pc joins (~su@103.43.203.229) |
| 02:57:39 | → | su_ joins (~su@103.43.203.229) |
| 02:57:48 | × | su_ quits (~su@103.43.203.229) (Remote host closed the connection) |
| 03:02:57 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds) |
| 03:06:39 | × | dirtcastle_pc quits (~su@103.43.203.229) (Quit: Leaving) |
| 03:07:00 | → | dirtcastle_pc joins (~su@103.43.203.229) |
| 03:07:05 | × | dirtcastle_pc quits (~su@103.43.203.229) (Remote host closed the connection) |
| 03:07:24 | → | dirtcastle_pc joins (~su@103.43.203.226) |
| 03:07:27 | ← | dirtcastle_pc parts (~su@103.43.203.226) () |
| 03:08:47 | → | dirtcastle_pc joins (~su@103.43.203.226) |
| 03:09:13 | × | dirtcastle_pc quits (~su@103.43.203.226) (Client Quit) |
| 03:09:18 | → | su_ joins (~su@103.43.203.229) |
| 03:10:18 | × | su_ quits (~su@103.43.203.229) (Client Quit) |
| 03:10:22 | → | dirtcastle_pc joins (~su@103.43.203.229) |
| 03:12:41 | × | dirtcastle_pc quits (~su@103.43.203.229) (Client Quit) |
| 03:12:53 | → | dirtcastle_pc joins (~su@103.43.203.229) |
| 03:14:02 | × | dirtcastle_pc quits (~su@103.43.203.229) (Client Quit) |
| 03:14:06 | → | dirtcastle_pc_ joins (~su@103.43.203.229) |
| 03:14:12 | × | dirtcastle_pc_ quits (~su@103.43.203.229) (Client Quit) |
| 03:14:13 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (K-Lined) |
| 03:22:41 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 03:27:53 | → | dirtcastle joins (~dirtcastl@103.43.203.226) |
| 03:42:41 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
| 03:45:08 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 03:50:37 | × | td_ quits (~td@94.134.91.188) (Ping timeout: 240 seconds) |
| 03:52:42 | → | td_ joins (~td@94.134.91.122) |
| 04:44:49 | × | twiclo1 quits (~twiclo@vpn.utahbroadband.com) (Ping timeout: 256 seconds) |
| 04:46:35 | → | twiclo1 joins (~twiclo@vpn.utahbroadband.com) |
| 05:00:17 | × | sogens2 quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.4) |
| 05:00:38 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 05:05:34 | → | f joins (~fish@cpe-108-184-44-250.socal.res.rr.com) |
| 05:10:53 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 256 seconds) |
| 05:14:07 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 07:29:29 | → | dirtcastle_pc joins (~su@103.43.203.229) |
| 07:48:12 | × | dirtcastle_pc quits (~su@103.43.203.229) (Remote host closed the connection) |
| 08:21:26 | × | jsoo quits (~znc@irc.refl.club) (Quit: ZNC 1.8.2 - https://znc.in) |
| 08:22:45 | → | jsoo joins (~znc@irc.refl.club) |
| 08:33:37 | × | dirtcastle quits (~dirtcastl@103.43.203.226) (Ping timeout: 256 seconds) |
| 08:34:08 | → | dirtcastle joins (~dirtcastl@103.43.203.229) |
| 09:05:09 | → | Nahra joins (~user@static.161.95.99.88.clients.your-server.de) |
| 09:09:37 | <dirtcastle> | https://pastecode.io/s/6g5fy1fm |
| 09:10:35 | <dirtcastle> | trying to run xmobar. xmobar was installed through pacman. xmonad was built from source.(stack) |
| 09:11:16 | <dirtcastle> | i made a .xmobarrc with example config from arch wiki. it's at ~/.xmobarrc. |
| 09:11:39 | <dirtcastle> | google, reddit, yt, xmobar doc - nothing was helpful. |
| 09:17:52 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 09:17:52 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 09:17:55 | allbery_b | is now known as geekosaur |
| 09:18:44 | <AIM[m]> | Have ya seen DT's video on it? |
| 09:25:47 | <dirtcastle> | yes. exactly his. but he configured it inside xmonad.1 i think. I'm doing it .hs. should I try it on .1 itself once? |
| 09:27:24 | <dirtcastle> | i think the problem is in syntax in the main function. can u take a look at that for a sec. |
| 09:30:54 | <AIM[m]> | I also did the rc file without the entire hs code |
| 09:31:14 | <AIM[m]> | The file with only Config |
| 09:32:03 | <dirtcastle> | ok. I'll try do xmobar config alone in that file once |
| 09:32:15 | <AIM[m]> | Ya |
| 09:32:41 | <AIM[m]> | I haven't got the hs file working |
| 09:38:12 | → | sogens2 joins (~sogens@gateway/vpn/pia/sogens) |
| 09:39:55 | × | sogens quits (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 256 seconds) |
| 09:58:42 | × | sogens2 quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.4) |
| 10:00:25 | → | sogens joins (~sogens@gateway/vpn/pia/sogens) |
| 10:51:01 | → | seschwar joins (~seschwar@user/seschwar) |
| 11:19:09 | <dirtcastle> | i tried it. didn't work. he uses ubuntu. i use arch. i could be missing a step related to X11. |
| 11:21:23 | <AIM[m]> | I use Arch only |
| 11:21:38 | <AIM[m]> | You can try to get an example config first |
| 11:21:47 | <AIM[m]> | Instead of writing from scratch |
| 11:22:10 | <AIM[m]> | What error does it show? |
| 11:22:29 | <AIM[m]> | Try running from terminal instead of automatically launching it from xmonad |
| 11:22:49 | <AIM[m]> | That way the errors get thrown into the terminal output |
| 11:24:41 | <geekosaur> | @where paste |
| 11:24:41 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 11:26:33 | <geekosaur> | although if you're on arch using a pacman-installed xmobar, I'm betting you need to build the xmobar config with -dynamic |
| 11:28:10 | <AIM[m]> | It's better to get he Aur version of xmonad and xmobar |
| 11:28:54 | <geekosaur> | probably still need it. arch haskell packaging is kinda broken |
| 11:29:01 | <AIM[m]> | The pacman version is kinda back on updates (which is surprising coz Arch is supposed to be a rolling release). I guess the maintainers are too busy. |
| 12:09:41 | <dirtcastle> | i didn't know they were outdated . I'll do it from official git repo. |
| 12:34:10 | <dirtcastle> | Could not load module `Distribution.Simple' |
| 12:34:10 | <dirtcastle> | It is a member of the hidden package `Cabal-3.4.0.0'. |
| 12:34:10 | <dirtcastle> | You can run `:set -package Cabal' to expose it. |
| 12:34:10 | <dirtcastle> | (Note: this unloads all the modules in the current scope.) |
| 12:34:10 | <dirtcastle> | Use -v (or `:set -v` in ghci) to see a list of the files searched for. |
| 12:34:10 | <dirtcastle> | | |
| 12:34:10 | <dirtcastle> | 3 | > import Distribution.Simple |
| 12:34:11 | <dirtcastle> | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 12:34:11 | <dirtcastle> | ==> ERROR: A failure occurred in build(). |
| 12:34:12 | <dirtcastle> | Aborting... |
| 12:34:34 | <dirtcastle> | when downloading from aur |
| 13:29:33 | <dirtcastle> | never mind |
| 13:30:09 | <dirtcastle> | i installed through pacman . xmobarrc example config in archwiki is bugged |
| 13:33:12 | <dirtcastle> | thanks your time guys. really appreciate it! |
| 13:36:07 | <Solid> | dirtcastle: perhaps change that wiki article/alert someone who can? |
| 13:42:47 | <dirtcastle> | Solid, I've never done that b4. I've pulled issues in git only. does that have a git page? |
| 13:50:13 | × | nihilipster[m] quits (~nihilipst@2001:470:69fc:105::720) (Ping timeout: 240 seconds) |
| 13:50:13 | × | yuu[m] quits (~yuumatrix@2001:470:69fc:105::8a6) (Ping timeout: 240 seconds) |
| 13:50:37 | × | ms[m] quits (~msmatrixp@2001:470:69fc:105::2b48) (Ping timeout: 240 seconds) |
| 13:50:37 | × | thonoht[m] quits (~thonohtma@2001:470:69fc:105::d7be) (Ping timeout: 240 seconds) |
| 13:50:37 | × | kwer[m] quits (~kwermatri@2001:470:69fc:105::1:4da1) (Ping timeout: 240 seconds) |
| 13:51:01 | × | dkasak[m] quits (~dkasakter@2001:470:69fc:105::a34) (Ping timeout: 240 seconds) |
| 13:51:01 | × | yehoshuapw quits (~yehoshuap@2001:470:69fc:105::a5f) (Ping timeout: 240 seconds) |
| 14:02:21 | → | nihilipster[m] joins (~nihilipst@2001:470:69fc:105::720) |
| 14:02:24 | → | yuu[m] joins (~yuumatrix@2001:470:69fc:105::8a6) |
| 14:05:10 | → | thonoht[m] joins (~thonohtma@2001:470:69fc:105::d7be) |
| 14:05:55 | → | kwer[m] joins (~kwermatri@2001:470:69fc:105::1:4da1) |
| 14:08:33 | → | ms[m] joins (~msmatrixp@2001:470:69fc:105::2b48) |
| 14:11:20 | → | yehoshuapw joins (~yehoshuap@2001:470:69fc:105::a5f) |
| 14:12:11 | → | dkasak[m] joins (~dkasakter@2001:470:69fc:105::a34) |
| 14:24:30 | <Solid> | dirtcastle: I don't know, I don't use Arch |
| 14:24:42 | <Solid> | but surely a wiki is editable by everyone (modulo a review process) |
| 14:26:44 | <dirtcastle> | oh npnp. I'll search the internet. or else will ask in #archlinux irc |
| 14:27:01 | <geekosaur> | iirc it's a mediawiki, it should have pretty good help |
| 15:47:43 | → | jimr joins (~jimr@2603-7080-7640-b000-0000-0000-0000-0003.res6.spectrum.com) |
| 16:06:14 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 16:11:03 | × | rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 256 seconds) |
| 16:23:34 | × | bsima quits (~bsima@2604:a880:400:d0::19f1:7001) (Quit: ZNC 1.8.2 - https://znc.in) |
| 16:24:09 | → | bsima joins (~bsima@2604:a880:400:d0::19f1:7001) |
| 16:44:29 | × | jimr quits (~jimr@2603-7080-7640-b000-0000-0000-0000-0003.res6.spectrum.com) (Quit: Leaving) |
| 16:48:13 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 17:00:51 | <dirtcastle> | can I use emacs as a scratchpad? |
| 17:01:05 | <dirtcastle> | is it possible |
| 17:02:28 | <geekosaur> | don't see why not. probably have to use NamedScratchpads rather than the simple scratchpad which is limited to windows you can name "scratchpad", then className =? "Emacs". main problem there is then using any emacs window for anything else |
| 17:02:49 | <geekosaur> | would need some elisp hacking to get a specific emacs frame with a role you could match on |
| 17:05:46 | <dirtcastle> | gotcha. I'll search a little more. |
| 17:17:15 | <geekosaur> | might be easier to use an emacsclient running in a terminal, then just arrange for the terminal to not be a factory and use --name scratchpad (appName =? "scratchpad") |
| 17:29:33 | <Solid> | dirtcastle: emacsclient supports the -F flag with which you can set the parameters of the spawned frame |
| 17:31:04 | <Solid> | e.g. for an instance name you'd do something like -F "(quote (name . \"my-scratchpad\"))" |
| 17:31:50 | <fizzie> | I've done an Emacs stratchpady thing. |
| 17:31:55 | <fizzie> | I just keep forgetting to use it. |
| 17:32:04 | <Solid> | (the instance name is the first string in WM_CLASS) |
| 17:32:17 | <Solid> | I have like 4 Emacs scratchpads for different purposes |
| 17:32:20 | <Solid> | very worth it :) |
| 17:37:06 | <fizzie> | I do "emacsclient -a '' -e '(scratch-frame)'" to start one, (resource =? "scratch-emacs") to match one, and https://0x0.st/ozcF.txt on the Emacs side, and have completely forgotten most of what that's for -- it's probably much overcomplicated. |
| 17:37:33 | <fizzie> | I think the idea was I could also toggle the scratchpad visibility over from Elisp for whatever reason, that's what sending the XMONAD_NSP_SHOW client event is doing. |
| 17:37:52 | <fizzie> | It probably still works, but I still don't remember to use it. |
| 17:45:18 | <dirtcastle> | Solid: Share config and save me from going through so much pain. I'll understand the emacsclient options from manual. |
| 17:46:05 | <dirtcastle> | I literally took a screenshot of everything u guys said for reference. |
| 17:49:03 | <dirtcastle> | thank you very much! |
| 17:54:09 | <dirtcastle> | fizzie, i didn't understand that lisp code but I copied and make sense of it later. Thank you! |
| 17:58:17 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::45db) (Ping timeout: 240 seconds) |
| 18:02:24 | <Solid> | dirtcastle: the config itself is a little bit complicated because I have a little EDSL for spawning things and setting these names, but the basic command for emacsclient is `emacsclient -c -F "(quote (name . \"scratch-name\"))"` and you would then match on it in your scratchpad config with `appName =? "scratch-name"` |
| 18:03:10 | <Solid> | in case you're wondering, -F sets the `default-frame-alist` variable (`C-h v default-frame-alist` for more information) |
| 18:06:38 | <Solid> | fizzie: yeah the snippet seems to duplicate some scratchpad functionality in elisp |
| 18:06:40 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 18:07:24 | <Solid> | and most of this is actually dead code since I would imagine `scratch-frame` is only called for spawning the scratchpad (with managing being done by NamedScratchpads) |
| 18:07:31 | <Solid> | but if it works it works so... :) |
| 18:11:58 | <dirtcastle> | I'll remember to contact you for debugging :D |
| 18:11:58 | <dirtcastle> | one of the reasons I asked was to see if I there are new features I am not aware of. |
| 18:14:04 | <fizzie> | Solid: Oh, I remember what it's for -- the motivation was to allow opening a file in the scratch frame from the command line. So it's accompanied with a es() { e="${1/\\/\\\\}"; emacsclient -a '' -q -e '(scratch-frame "'"${e/\"/\\\"}"'")'; } bash function that does that. I don't remember to use it either. |
| 18:15:38 | <Solid> | fizzie: ah, that makes sense |
| 18:15:50 | <fizzie> | I don't remember why that was really any better than using the keybinding to bring up the scratchpad and open the file from there. Well, I guess it does respect the working directory of whatever terminal you run it in. |
| 18:16:12 | <Solid> | maybe you would use it more often if it wasn't a general Emacs scratchpad but something more specific |
| 18:19:10 | <fizzie> | I think pretty much what ended up happening is, I've got a screen session automatically opening in the terminal scratchpad, and the different screen windows of that session play the role of sort of more specific (but still slightly ephemeral) scratchpads, so I end up just using that one. |
| 18:20:50 | <geekosaur> | yeh, I open "scratchpads" in my one big emacs frame and probably would forget to use another one |
| 19:12:57 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Ping timeout: 240 seconds) |
| 20:00:35 | → | jimr joins (~jimr@2603-7080-7640-b000-0000-0000-0000-0003.res6.spectrum.com) |
| 20:16:14 | → | dirtcastle joins (~dirtcastl@2409:4072:813:8a8a:c4c7:7ff:fe7a:1c71) |
| 20:28:17 | × | afreakk quits (~weechat@user/afreak) (Ping timeout: 240 seconds) |
| 20:32:11 | → | afreakk joins (~weechat@user/afreak) |
| 20:37:25 | × | afreakk quits (~weechat@user/afreak) (Ping timeout: 240 seconds) |
| 20:47:26 | × | jimr quits (~jimr@2603-7080-7640-b000-0000-0000-0000-0003.res6.spectrum.com) (Quit: Leaving) |
| 21:02:17 | → | afreakk joins (~weechat@user/afreak) |
| 21:02:17 | × | dirtcastle quits (~dirtcastl@2409:4072:813:8a8a:c4c7:7ff:fe7a:1c71) (Ping timeout: 240 seconds) |
| 21:06:37 | × | afreakk quits (~weechat@user/afreak) (Ping timeout: 240 seconds) |
| 21:10:45 | → | afreakk joins (~weechat@user/afreak) |
| 21:16:40 | × | afreakk quits (~weechat@user/afreak) (Remote host closed the connection) |
| 21:30:28 | → | afreakk joins (~weechat@user/afreak) |
| 21:36:11 | × | afreakk quits (~weechat@user/afreak) (Ping timeout: 256 seconds) |
| 21:48:10 | × | f quits (~fish@cpe-108-184-44-250.socal.res.rr.com) (Remote host closed the connection) |
| 21:57:21 | → | iMaaNor[m] joins (~imaanorma@2001:470:69fc:105::1:5988) |
| 22:03:39 | × | de-vri-es quits (~de-vri-es@voyager.de-vri.es) (Quit: Bathrobe!) |
| 22:04:24 | → | de-vri-es joins (~de-vri-es@voyager.de-vri.es) |
| 22:08:56 | → | iMaaNor joins (uid534642@id-534642.tinside.irccloud.com) |
| 22:31:28 | → | afreakk joins (~weechat@user/afreak) |
| 23:53:27 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::45db) |
| 23:59:09 | → | dirtcastle joins (~dirtcastl@2409:4072:813:8a8a:44fc:a0ff:fe92:ac3) |
All times are in UTC on 2022-01-04.