Home freenode/#xmonad: Logs Calendar

Logs: freenode/#xmonad

←Prev  Next→
Page 1 .. 160 161 162 163 164 165 166 167 168 169 170 .. 397
39,606 events total
2021-02-10 19:38:07 <geekosaur> hm. does the new XDG stuff support $XDG_CONFIG_HOME?
2021-02-10 19:38:55 <Solid> yes
2021-02-10 19:39:01 <geekosaur> (I have a build script that guesses at the xmonad config dir with fallbacks if no directory is specified)
2021-02-10 19:39:09 <geekosaur> ok, I'll add that in too
2021-02-10 19:39:48 <geekosaur>     SRC_DIR="${XMONAD_CONFIG_DIR:-${XDG_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME}/.config/xmonad}}"
2021-02-10 19:40:10 <geekosaur> amazing what you can do in one line of shell that took so much work in haskell >.>
2021-02-10 19:40:20 <Solid> :D
2021-02-10 19:40:31 <Solid> I don't think we're looking for XDG_CONFIG_DIR though
2021-02-10 19:40:35 <Solid> unless that's something that you do
2021-02-10 19:40:51 <geekosaur> no, that's wired in as one of the Xdg functions
2021-02-10 19:41:14 <geekosaur> which come to think of it is probably what handles $XDG_CONFIG_HOME too
2021-02-10 19:41:55 <geekosaur> and all of that is defaulting if a directory isn't specified. I'm not sure if I should copy the existing build script's directory, which looks like someone's personal config
2021-02-10 19:42:06 <Solid> we're using System.Directory.XdgConfig, but according to that doc it only looks at $XDG_CONFIG_HOME
2021-02-10 19:42:44 <geekosaur> $XDG_CONFIG_HOME is the directory under which .config, .local, .cache etc. are found
2021-02-10 19:42:50 <geekosaur> and defaults to $HOME
2021-02-10 19:43:10 <geekosaur> there's a parameter which specifies which of the directories you want from that set
2021-02-10 19:43:28 <Solid> "It uses the XDG_CONFIG_HOME environment variable. On non-Windows systems, the default is ~/.config."
2021-02-10 19:43:34 <Solid> this is form the System.Directory docs
2021-02-10 19:43:38 <Solid> is that wrong?
2021-02-10 19:46:06 <geekosaur> https://downloads.haskell.org/ghc/latest/docs/html/libraries/directory-1.3.6.1/System-Directory.html#v:getXdgDirectory
2021-02-10 19:46:14 <geekosaur> is what I thought we were using
2021-02-10 19:46:47 <Solid> yeah we're using that
2021-02-10 19:47:02 <Solid> but if you look at `XdgDirectory' you'll see what I posted
2021-02-10 19:48:08 <geekosaur> I think that doc is wrong and what I described (and used in the line I pasted earlier) is right
2021-02-10 19:48:47 <geekosaur> but I can double check the spec
2021-02-10 19:49:45 <geekosaur> sigh, looks like I'm wrong. thought in particular they had a way to relocate all the dotfiles in one go for e.g. network shared home dirs
2021-02-10 19:51:51 <geekosaur> ok, fixed locally but not in repo yet much less pushed :)
2021-02-10 19:52:06 <geekosaur> that's a bit of a pain since I have to switch networks to use ssh
2021-02-10 19:56:34 <geekosaur> anyway the new script can be used without editing if you put everything in xmonad's config dir
2021-02-10 19:56:52 <geekosaur> or you can specify as with the old script
2021-02-10 19:58:57 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 272 seconds)
2021-02-10 20:15:32 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-02-10 20:20:11 <geekosaur> now I have to figure out how to do the same thing with stack, ideally including using the correct way to find the new executable instead of rooting around in its innards
2021-02-10 20:20:48 <geekosaur> which I think is some form of "stack path", or maybe something similar to the way I use "cabal install" to get a properly exported version
2021-02-10 20:21:20 <Liskni_si> not sure how clean it is but I just use stack exec -- ghc … which runs ghc with all the necessary stuff in its pkg path or whatever
2021-02-10 20:21:43 <geekosaur> oh, hm, exec name hack won't work if they use package.yaml. altough these days that's deprecated
2021-02-10 20:21:52 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 260 seconds)
2021-02-10 20:21:58 <geekosaur> or at least non-recommended
2021-02-10 20:22:20 <Liskni_si> well yeah it's not for anyone who has xmonad.hs in an actual cabal/hpack package
2021-02-10 20:22:37 <Liskni_si> I just have a plain xmonad.hs that I want built against stack-built xmonad
2021-02-10 20:22:48 <Liskni_si> and for that stack exec ghc works well
2021-02-10 20:22:51 <geekosaur> the current build-with-stack.sh deals with these things
2021-02-10 20:23:05 <geekosaur> mostly by not dealing :)
2021-02-10 20:23:29 <geekosaur> (for example, forcing the user to specify the executable name. mine extracts it from the cabal file)
2021-02-10 21:02:53 <Liskni_si> mc47: I pushed a fixup into your branch (I still have no idea how github decides whether to allow it or not)
2021-02-10 21:04:45 <mc47> Yes I just got notified, LGTM!
2021-02-10 21:05:09 <Liskni_si> okay, I'll rebase autosquash, push again, merge
2021-02-10 21:06:47 <mc47> awesome :) I'll make another PR with what we discussed tomorrow (maybe tonight if I'm done with learning)
2021-02-10 21:16:30 <Liskni_si> https://github.com/xmonad/xmonad-contrib/pull/443#issuecomment-777041434
2021-02-10 21:16:41 <Liskni_si> summarized like this it looks like a lot of work :-)
2021-02-10 21:25:26 <mc47> :D
2021-02-10 21:36:08 <geekosaur> Liskni_si, there's a checkbox on the PR to allow project maintainers access to it
2021-02-10 21:37:02 <Liskni_si> oh!
2021-02-10 21:37:32 <Liskni_si> I feel you already told me a while ago, so I will forgot in a month again :-(
2021-02-10 21:37:54 <geekosaur> I wasn't the one who told you, I think
2021-02-10 21:39:05 <Liskni_si> :-)
2021-02-10 22:00:44 × geekosaur quits (82650c7a@130.101.12.122) (Quit: Connection closed)
2021-02-10 22:54:19 × seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq)
2021-02-10 22:57:13 × mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection)
2021-02-11 00:24:03 × notis quits (~notis@185.51.134.229) (Ping timeout: 256 seconds)
2021-02-11 00:32:07 × thc202 quits (~thc202@unaffiliated/thc202) (Ping timeout: 260 seconds)
2021-02-11 00:48:48 × tremon quits (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2021-02-11 01:41:41 gazler_ joins (~gazler@195.107.2.81.in-addr.arpa)
2021-02-11 01:42:11 × gazler__ quits (~gazler@2001:8b0:b165:a8d2:d19:fc83:e0fa:4af3) (Read error: Connection reset by peer)
2021-02-11 01:45:37 growpotk- joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-02-11 01:58:08 growpotk| joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-02-11 01:58:30 × growpotk- quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Read error: Connection reset by peer)
2021-02-11 02:27:50 materiyolo joins (~materiyol@112.204.169.246)
2021-02-11 02:28:34 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
2021-02-11 02:55:03 × growpotk| quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 246 seconds)
2021-02-11 03:01:05 × materiyolo quits (~materiyol@112.204.169.246) (Quit: WeeChat 2.9)
2021-02-11 03:04:45 × theDon quits (~td@muedsl-82-207-238-226.citykom.de) (Ping timeout: 264 seconds)
2021-02-11 03:06:16 theDon joins (~td@muedsl-82-207-238-223.citykom.de)
2021-02-11 04:02:47 × theDon quits (~td@muedsl-82-207-238-223.citykom.de) (Ping timeout: 256 seconds)
2021-02-11 04:04:19 theDon joins (~td@muedsl-82-207-238-072.citykom.de)
2021-02-11 05:12:41 × growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in)
2021-02-11 06:57:55 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-02-11 06:58:52 palo1 joins (~weechat@c-base/crew/palo)
2021-02-11 07:01:45 × palo quits (~weechat@c-base/crew/palo) (Ping timeout: 240 seconds)
2021-02-11 07:01:46 palo1 is now known as palo
2021-02-11 08:11:49 mc47 joins (~yecinem@89.246.239.190)
2021-02-11 08:13:46 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0)
2021-02-11 08:34:00 everythingTaken joins (~everythin@gateway/tor-sasl/everythingtaken)
2021-02-11 08:36:35 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-02-11 08:39:04 notis joins (~notis@185.51.134.229)
2021-02-11 08:51:35 × everythingTaken quits (~everythin@gateway/tor-sasl/everythingtaken) (Remote host closed the connection)
2021-02-11 09:04:13 materiyolo joins (~materiyol@112.204.169.246)
2021-02-11 09:31:36 × ectospasm quits (~ectospasm@unaffiliated/ectospasm) (Ping timeout: 246 seconds)
2021-02-11 09:36:41 × rotaerk quits (rotaerk@2600:3c02::f03c:91ff:fe70:4a45) (Ping timeout: 246 seconds)
2021-02-11 09:44:09 ectospasm joins (~ectospasm@unaffiliated/ectospasm)
2021-02-11 10:08:09 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
2021-02-11 10:30:31 thc202 joins (~thc202@unaffiliated/thc202)
2021-02-11 10:51:21 × materiyolo quits (~materiyol@112.204.169.246) (Quit: WeeChat 2.9)
2021-02-11 10:59:04 × rotaerk quits (rotaerk@2600:3c02::f03c:91ff:fe70:4a45) (Ping timeout: 240 seconds)
2021-02-11 11:13:17 rotaerk joins (rotaerk@2600:3c02::f03c:91ff:fe70:4a45)
2021-02-11 11:26:00 materiyolo joins (~materiyol@112.204.169.246)
2021-02-11 11:41:13 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 256 seconds)
2021-02-11 12:51:38 × ericsagn1 quits (~ericsagne@2405:6580:0:5100:5542:a02b:6ef4:719e) (Ping timeout: 246 seconds)
2021-02-11 13:04:21 ericsagn1 joins (~ericsagne@2405:6580:0:5100:b04a:c81a:c281:6323)
2021-02-11 13:08:46 geekosaur joins (82650c7a@130.101.12.122)
←Prev  Next→
Page 1 .. 160 161 162 163 164 165 166 167 168 169 170 .. 397

All times are in UTC.