Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 419 420 421 422 423 424 425 426 427 428 429 .. 1848
184,766 events total
2022-01-04 09:31:14 <AIM[m]> The file with only Config
2022-01-04 09:32:03 <dirtcastle> ok. I'll try do xmobar config alone in that file once
2022-01-04 09:32:15 <AIM[m]> Ya
2022-01-04 09:32:41 <AIM[m]> I haven't got the hs file working
2022-01-04 09:38:12 sogens2 joins (~sogens@gateway/vpn/pia/sogens)
2022-01-04 09:39:55 × sogens quits (~sogens@gateway/vpn/pia/sogens) (Ping timeout: 256 seconds)
2022-01-04 09:58:42 × sogens2 quits (~sogens@gateway/vpn/pia/sogens) (Quit: WeeChat 3.4)
2022-01-04 10:00:25 sogens joins (~sogens@gateway/vpn/pia/sogens)
2022-01-04 10:51:01 seschwar joins (~seschwar@user/seschwar)
2022-01-04 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.
2022-01-04 11:21:23 <AIM[m]> I use Arch only
2022-01-04 11:21:38 <AIM[m]> You can try to get an example config first
2022-01-04 11:21:47 <AIM[m]> Instead of writing from scratch
2022-01-04 11:22:10 <AIM[m]> What error does it show?
2022-01-04 11:22:29 <AIM[m]> Try running from terminal instead of automatically launching it from xmonad
2022-01-04 11:22:49 <AIM[m]> That way the errors get thrown into the terminal output
2022-01-04 11:24:41 <geekosaur> @where paste
2022-01-04 11:24:41 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-01-04 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
2022-01-04 11:28:10 <AIM[m]> It's better to get he Aur version of xmonad and xmobar
2022-01-04 11:28:54 <geekosaur> probably still need it. arch haskell packaging is kinda broken
2022-01-04 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.
2022-01-04 12:09:41 <dirtcastle> i didn't know they were outdated . I'll do it from official git repo.
2022-01-04 12:34:10 <dirtcastle> Could not load module `Distribution.Simple'
2022-01-04 12:34:10 <dirtcastle> It is a member of the hidden package `Cabal-3.4.0.0'.
2022-01-04 12:34:10 <dirtcastle> You can run `:set -package Cabal' to expose it.
2022-01-04 12:34:10 <dirtcastle> (Note: this unloads all the modules in the current scope.)
2022-01-04 12:34:10 <dirtcastle> Use -v (or `:set -v` in ghci) to see a list of the files searched for.
2022-01-04 12:34:10 <dirtcastle> |
2022-01-04 12:34:10 <dirtcastle> 3 | > import Distribution.Simple
2022-01-04 12:34:11 <dirtcastle> | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2022-01-04 12:34:11 <dirtcastle> ==> ERROR: A failure occurred in build().
2022-01-04 12:34:12 <dirtcastle> Aborting...
2022-01-04 12:34:34 <dirtcastle> when downloading from aur
2022-01-04 13:29:33 <dirtcastle> never mind
2022-01-04 13:30:09 <dirtcastle> i installed through pacman . xmobarrc example config in archwiki is bugged
2022-01-04 13:33:12 <dirtcastle> thanks your time guys. really appreciate it!
2022-01-04 13:36:07 <Solid> dirtcastle: perhaps change that wiki article/alert someone who can?
2022-01-04 13:42:47 <dirtcastle> Solid, I've never done that b4. I've pulled issues in git only. does that have a git page?
2022-01-04 13:50:13 × nihilipster[m] quits (~nihilipst@2001:470:69fc:105::720) (Ping timeout: 240 seconds)
2022-01-04 13:50:13 × yuu[m] quits (~yuumatrix@2001:470:69fc:105::8a6) (Ping timeout: 240 seconds)
2022-01-04 13:50:37 × ms[m] quits (~msmatrixp@2001:470:69fc:105::2b48) (Ping timeout: 240 seconds)
2022-01-04 13:50:37 × thonoht[m] quits (~thonohtma@2001:470:69fc:105::d7be) (Ping timeout: 240 seconds)
2022-01-04 13:50:37 × kwer[m] quits (~kwermatri@2001:470:69fc:105::1:4da1) (Ping timeout: 240 seconds)
2022-01-04 13:51:01 × dkasak[m] quits (~dkasakter@2001:470:69fc:105::a34) (Ping timeout: 240 seconds)
2022-01-04 13:51:01 × yehoshuapw quits (~yehoshuap@2001:470:69fc:105::a5f) (Ping timeout: 240 seconds)
2022-01-04 14:02:21 nihilipster[m] joins (~nihilipst@2001:470:69fc:105::720)
2022-01-04 14:02:24 yuu[m] joins (~yuumatrix@2001:470:69fc:105::8a6)
2022-01-04 14:05:10 thonoht[m] joins (~thonohtma@2001:470:69fc:105::d7be)
2022-01-04 14:05:55 kwer[m] joins (~kwermatri@2001:470:69fc:105::1:4da1)
2022-01-04 14:08:33 ms[m] joins (~msmatrixp@2001:470:69fc:105::2b48)
2022-01-04 14:11:20 yehoshuapw joins (~yehoshuap@2001:470:69fc:105::a5f)
2022-01-04 14:12:11 dkasak[m] joins (~dkasakter@2001:470:69fc:105::a34)
2022-01-04 14:24:30 <Solid> dirtcastle: I don't know, I don't use Arch
2022-01-04 14:24:42 <Solid> but surely a wiki is editable by everyone (modulo a review process)
2022-01-04 14:26:44 <dirtcastle> oh npnp. I'll search the internet. or else will ask in #archlinux irc
2022-01-04 14:27:01 <geekosaur> iirc it's a mediawiki, it should have pretty good help
2022-01-04 15:47:43 jimr joins (~jimr@2603-7080-7640-b000-0000-0000-0000-0003.res6.spectrum.com)
2022-01-04 16:06:14 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
2022-01-04 16:11:03 × rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 256 seconds)
2022-01-04 16:23:34 × bsima quits (~bsima@2604:a880:400:d0::19f1:7001) (Quit: ZNC 1.8.2 - https://znc.in)
2022-01-04 16:24:09 bsima joins (~bsima@2604:a880:400:d0::19f1:7001)
2022-01-04 16:44:29 × jimr quits (~jimr@2603-7080-7640-b000-0000-0000-0000-0003.res6.spectrum.com) (Quit: Leaving)
2022-01-04 16:48:13 steve__ joins (~steve@ool-182c2b80.dyn.optonline.net)
2022-01-04 17:00:51 <dirtcastle> can I use emacs as a scratchpad?
2022-01-04 17:01:05 <dirtcastle> is it possible
2022-01-04 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
2022-01-04 17:02:49 <geekosaur> would need some elisp hacking to get a specific emacs frame with a role you could match on
2022-01-04 17:05:46 <dirtcastle> gotcha. I'll search a little more.
2022-01-04 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")
2022-01-04 17:29:33 <Solid> dirtcastle: emacsclient supports the -F flag with which you can set the parameters of the spawned frame
2022-01-04 17:31:04 <Solid> e.g. for an instance name you'd do something like -F "(quote (name . \"my-scratchpad\"))"
2022-01-04 17:31:50 <fizzie> I've done an Emacs stratchpady thing.
2022-01-04 17:31:55 <fizzie> I just keep forgetting to use it.
2022-01-04 17:32:04 <Solid> (the instance name is the first string in WM_CLASS)
2022-01-04 17:32:17 <Solid> I have like 4 Emacs scratchpads for different purposes
2022-01-04 17:32:20 <Solid> very worth it :)
2022-01-04 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.
2022-01-04 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.
2022-01-04 17:37:52 <fizzie> It probably still works, but I still don't remember to use it.
2022-01-04 17:45:18 <dirtcastle> Solid: Share config and save me from going through so much pain. I'll understand the emacsclient options from manual.
2022-01-04 17:46:05 <dirtcastle> I literally took a screenshot of everything u guys said for reference.
2022-01-04 17:49:03 <dirtcastle> thank you very much!
2022-01-04 17:54:09 <dirtcastle> fizzie, i didn't understand that lisp code but I copied and make sense of it later. Thank you!
2022-01-04 17:58:17 × mvk quits (~mvk@2607:fea8:5cdd:f000::45db) (Ping timeout: 240 seconds)
2022-01-04 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"`
2022-01-04 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)
2022-01-04 18:06:38 <Solid> fizzie: yeah the snippet seems to duplicate some scratchpad functionality in elisp
2022-01-04 18:06:40 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
2022-01-04 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)
2022-01-04 18:07:31 <Solid> but if it works it works so... :)
2022-01-04 18:11:58 <dirtcastle> I'll remember to contact you for debugging :D
2022-01-04 18:11:58 <dirtcastle> one of the reasons I asked was to see if I there are new features I am not aware of.
2022-01-04 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.
2022-01-04 18:15:38 <Solid> fizzie: ah, that makes sense
2022-01-04 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.
2022-01-04 18:16:12 <Solid> maybe you would use it more often if it wasn't a general Emacs scratchpad but something more specific
2022-01-04 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.
2022-01-04 18:20:50 <geekosaur> yeh, I open "scratchpads" in my one big emacs frame and probably would forget to use another one
2022-01-04 19:12:57 × dirtcastle quits (~dirtcastl@103.43.203.229) (Ping timeout: 240 seconds)

All times are in UTC.