Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 614 615 616 617 618 619 620 621 622 623 624 .. 1850
184,913 events total
2022-04-23 23:51:42 <AHemlocksLie> That sounds like a decent idea. I'll try that. Probably gonna disconnect when I logout to try it.
2022-04-23 23:51:45 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/skkukuk/start-xmonad
2022-04-23 23:51:55 <abastro[m]> I have my xmonad manager set the file up to fire my xmonad manager
2022-04-23 23:52:15 <geekosaur> although that file is for a desktop file, not a session file
2022-04-23 23:52:31 <geekosaur> but it should work when used from a session file as well
2022-04-23 23:54:26 <abastro[m]> Interesting how you have multiple branches
2022-04-23 23:54:37 <geekosaur> mm, you'll probably want to use bash instead of zsh, you may be using .bash_profile instead of .profile, and your xmonad will be in ~/.local/bin
2022-04-23 23:54:43 <geekosaur> one branch per machine
2022-04-23 23:55:11 <geekosaur> plus oddities like two branches for "hilfy", one for when it was my work laptop and one for when it was my personal machine
2022-04-23 23:56:02 <abastro[m]> In /.local/bin?
2022-04-23 23:56:13 <abastro[m]> Oh one branch per machine
2022-04-23 23:56:15 × AHemlocksLie quits (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com) (Remote host closed the connection)
2022-04-23 23:56:21 <geekosaur> they said they installed with stack
2022-04-23 23:56:31 <abastro[m]> Ah
2022-04-23 23:56:34 <geekosaur> I used cabal somine is in ~/.cabal/bin instead of ~/.local/bin
2022-04-23 23:57:01 <abastro[m]> Stack is better in this regard I guess.. oh it isn't
2022-04-23 23:57:08 <abastro[m]> No, it is
2022-04-23 23:57:32 <abastro[m]> I mean yes stack is better, as it has proper uninstaller
2022-04-23 23:57:59 <abastro[m]> Manually adding ~/.cabal/bin to PATH is some pain
2022-04-24 00:00:17 <abastro[m]> geekosaur: Have you thought about some kind of profile manager which selects profile?
2022-04-24 00:01:11 <geekosaur> why? each machine has its own profile tuned to that machine and I'm not going to run a different machine's profile on it
2022-04-24 00:02:41 <abastro[m]> Just that multiple branches might make it harder to manage
2022-04-24 00:02:51 <abastro[m]> + there would be some shared code
2022-04-24 00:03:26 <geekosaur> that's what cherrypicking is for
2022-04-24 00:03:57 <geekosaur> and, they're branches, of coursethere is sharedcode
2022-04-24 00:04:43 AHemlocksLie joins (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com)
2022-04-24 00:04:53 <AHemlocksLie> Okay, so that doesn't seem to have worked.
2022-04-24 00:05:02 <abastro[m]> Yea I mean personally find it bothersome to cherrypicking
2022-04-24 00:05:22 <AHemlocksLie> I put in a two line script, one that sources .bash_profile (which just sources .bashrc), then another to just exec xmonad
2022-04-24 00:05:39 <AHemlocksLie> dmenu still doesn't seem to see some of the extra $PATH stuff
2022-04-24 00:06:09 <abastro[m]> Could you show your script?
2022-04-24 00:06:25 <AHemlocksLie> #!/bin/bash
2022-04-24 00:06:26 <AHemlocksLie> source ~/.bash_profile
2022-04-24 00:06:26 <AHemlocksLie> exec xmonad
2022-04-24 00:06:50 <geekosaur> does that mean you set PATH stuff in your .bashrc? that's usually a bad idea
2022-04-24 00:06:54 <abastro[m]> Hmm
2022-04-24 00:07:07 <AHemlocksLie> That's how ghcup is setting stuff
2022-04-24 00:07:08 <geekosaur> it interferes with profile managers and the like
2022-04-24 00:07:15 <abastro[m]> Jokes on you, ghcup used to add PATH variable onto .bashrc
2022-04-24 00:07:28 <geekosaur> uh. the first version of ghcup did that, later versions do the right thing and even try to fix igt
2022-04-24 00:07:45 <abastro[m]> Mine is yet to be fixed :P
2022-04-24 00:07:47 <AHemlocksLie> Well I found the source command in .bashrc. Is there somewhere else I should be looking?
2022-04-24 00:07:57 <AHemlocksLie> I just installed ghcup earlier today trying to get HLS
2022-04-24 00:08:05 <abastro[m]> You should *not* be sourcing `.bashrc`
2022-04-24 00:08:19 <AHemlocksLie> I guess I could just source that in .bash_profile, too
2022-04-24 00:08:30 <abastro[m]> geekosaur: When I saw that, I thought it's because cabal bin should not be on PATH for entire system
2022-04-24 00:08:40 <abastro[m]> Hmm
2022-04-24 00:08:57 <abastro[m]> Could you check what is in .bash_profile
2022-04-24 00:09:15 <geekosaur> .bashrc is loaded by every shell, it shouldn't have to be explicitly sourced
2022-04-24 00:09:25 <geekosaur> well, every interactive shell
2022-04-24 00:09:51 <AHemlocksLie> Ah, crap, I forgot to include the #!/bin/bash line
2022-04-24 00:09:59 <AHemlocksLie> So that may be why it doesn't source properly
2022-04-24 00:10:04 <geekosaur> where did you get your ghcup from?
2022-04-24 00:10:18 <geekosaur> source ignpores that line, it's for executable scripts
2022-04-24 00:10:45 <AHemlocksLie> Uuuhhh I think wherever HLS linked me to
2022-04-24 00:10:58 <AHemlocksLie> I went looking for HLS, and it recommended installation through ghcup
2022-04-24 00:11:11 <AHemlocksLie> I had to use the install script off the site for it, which I no longer have right in front of me
2022-04-24 00:11:53 <abastro[m]> From here? https://www.haskell.org/ghcup/
2022-04-24 00:12:19 <AHemlocksLie> That looks right
2022-04-24 00:12:41 <AHemlocksLie> brb, testing
2022-04-24 00:12:44 <abastro[m]> Ye that is the official repository iirc
2022-04-24 00:12:44 × AHemlocksLie quits (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com) (Remote host closed the connection)
2022-04-24 00:12:51 <abastro[m]> Idk why it is not working hmm
2022-04-24 00:13:34 AHemlocksLie joins (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com)
2022-04-24 00:13:40 <abastro[m]> geekosaur: How do you use your .desktop file? Do you also put it in /usr/share/xsessions?
2022-04-24 00:13:41 <AHemlocksLie> Okay, so just sourcing .bashrc directly didn't work
2022-04-24 00:13:55 <abastro[m]> Yea you should not source .bashrc
2022-04-24 00:14:03 <abastro[m]> It checks if you are in interactive session
2022-04-24 00:14:06 <AHemlocksLie> Obviously less than ideal, but it would at least test it
2022-04-24 00:14:08 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-04-24 00:14:14 <AHemlocksLie> Ah
2022-04-24 00:14:15 <abastro[m]> If you aren't, it just doesn't do anything.
2022-04-24 00:14:38 <abastro[m]> xsession is ofc not interactive
2022-04-24 00:14:48 geekosaur joins (~geekosaur@xmonad/geekosaur)
2022-04-24 00:16:13 <abastro[m]> You can manually add
2022-04-24 00:16:13 <abastro[m]> `export PATH=~/.cabal/bin;$PATH`
2022-04-24 00:16:13 <abastro[m]> to the script, I think
2022-04-24 00:16:46 <AHemlocksLie> I just copied over the bit that loads the ghcup stuff, time to test again
2022-04-24 00:16:48 × AHemlocksLie quits (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com) (Remote host closed the connection)
2022-04-24 00:17:33 AHemlocksLie joins (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com)
2022-04-24 00:17:35 <AHemlocksLie> It worked!
2022-04-24 00:17:39 <AHemlocksLie> Thanks a lot for the help, guys
2022-04-24 00:18:53 <abastro[m]> Good!
2022-04-24 00:18:59 × Czernobog quits (~Czernobog@user/czernobog) (Ping timeout: 240 seconds)
2022-04-24 00:19:56 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-04-24 00:25:07 × AHemlocksLie quits (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com) (Remote host closed the connection)
2022-04-24 00:30:39 AHemlocksLie joins (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com)
2022-04-24 00:31:36 <AHemlocksLie> Okay, last question, I think. I want to setup trayer like in the configuration tutorial, except since I'm currently not 100% settling into xmonad, I don't know that I want it to launch from .xinitrc. How can I launch it from xmonad? It mentions the possibility but doesn't really elaborate
2022-04-24 00:38:02 Czernobog joins (~Czernobog@user/czernobog)
2022-04-24 00:40:21 <abastro[m]> Well you made the startup script right?
2022-04-24 00:40:24 <abastro[m]> Which boots xmonad
2022-04-24 00:41:01 <abastro[m]> Before `exec xmonad`, you can run trayer to make it show up as well.
2022-04-24 00:41:09 <AHemlocksLie> ...that's a good idea. I ripped that out and put the path stuff in regular .profile
2022-04-24 00:41:34 <AHemlocksLie> But I should put it back and have it do that instead of source .bash_profile
2022-04-24 00:47:39 × steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds)
2022-04-24 00:50:29 × AHemlocksLie quits (~mikey@2603-8080-090b-0b47-302e-59c5-34ce-6170.res6.spectrum.com) (Quit: Leaving)
2022-04-24 00:58:38 abhixec joins (~abhinav@c-67-169-139-16.hsd1.ca.comcast.net)
2022-04-24 01:13:56 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
2022-04-24 01:31:37 cdepillabout[m] joins (~cdepillab@2001:470:69fc:105::3d3)
2022-04-24 01:32:35 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)

All times are in UTC.