Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 270 271 272 273 274 275 276 277 278 279 280 .. 1847
184,630 events total
2021-10-18 23:36:08 <abhixec> looks like the xmonda-contrib 0.16 doesn't have the constructor with `WithWindow`
2021-10-18 23:43:40 × FOSS_Human quits (~lol111@user/foss-human/x-0231813) (Quit: Client Closed)
2021-10-18 23:48:11 <geekosaur> yes, I said you'd need to use git
2021-10-18 23:49:01 <geekosaur> [18 20:53:42] <geekosaur> mm, looks like the arbitrary action one is only in git
2021-10-18 23:52:48 <geekosaur> you could probably still do it with 0.16 but you'd have to write your own Prompt to do it
2021-10-19 00:07:02 <abhixec> ah I missed that *facepalm*
2021-10-19 00:11:43 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Quit: restarting)
2021-10-19 00:59:41 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-10-19 01:25:47 <liskin> uff, #399 is no more and #626 is almost ready for review, I'm almost certain I can finish this tomorrow
2021-10-19 01:40:35 × abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 258 seconds)
2021-10-19 01:43:44 cjb94216 joins (~cjb@user/cjb)
2021-10-19 01:45:52 × cjb quits (~cjb@user/cjb) (Ping timeout: 260 seconds)
2021-10-19 01:46:28 cjb94216 is now known as cjb
2021-10-19 01:49:33 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-10-19 02:03:03 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 265 seconds)
2021-10-19 02:24:15 banc joins (banc@gateway/vpn/airvpn/banc)
2021-10-19 02:44:08 × td_ quits (~td@muedsl-82-207-238-233.citykom.de) (Ping timeout: 265 seconds)
2021-10-19 02:45:43 td_ joins (~td@muedsl-82-207-238-089.citykom.de)
2021-10-19 04:46:35 × rekahsoft quits (~rekahsoft@52.129.35.150) (Ping timeout: 264 seconds)
2021-10-19 04:49:59 × thunderrd quits (~thunderrd@183.182.110.19) (Read error: Connection reset by peer)
2021-10-19 04:50:19 thunderrd joins (~thunderrd@183.182.110.19)
2021-10-19 04:54:02 × cjb quits (~cjb@user/cjb) ()
2021-10-19 05:13:04 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-19 05:18:14 geekosaur joins (~geekosaur@xmonad/geekosaur)
2021-10-19 05:59:20 mc47 joins (~mc47@xmonad/TheMC47)
2021-10-19 06:20:52 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-10-19 06:49:28 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
2021-10-19 06:53:09 qbt joins (~qbt@user/edun)
2021-10-19 06:53:35 qbt parts (~qbt@user/edun) ()
2021-10-19 07:06:15 <Solid> ^^^^ good news, everybody!
2021-10-19 07:06:38 <Solid> s/body/one/
2021-10-19 08:06:13 mc47 joins (~mc47@xmonad/TheMC47)
2021-10-19 08:17:29 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-19 08:17:54 geekosaur joins (~geekosaur@xmonad/geekosaur)
2021-10-19 08:37:35 × mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 264 seconds)
2021-10-19 08:40:49 mc47 joins (~mc47@xmonad/TheMC47)
2021-10-19 09:22:26 FOSS_Human joins (~lol111@user/foss-human/x-0231813)
2021-10-19 09:27:04 FOSS_Human parts (~lol111@user/foss-human/x-0231813) ()
2021-10-19 09:27:28 FOSS_Human joins (~lol111@user/foss-human/x-0231813)
2021-10-19 09:35:31 cyr4x3 joins (~cyr4x3@139.47.115.87)
2021-10-19 09:37:17 × cyr4x3 quits (~cyr4x3@139.47.115.87) (Client Quit)
2021-10-19 10:01:56 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-10-19 11:32:55 mc47 joins (~mc47@xmonad/TheMC47)
2021-10-19 11:59:47 qbt joins (~qbt@user/edun)
2021-10-19 12:02:12 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-10-19 12:27:12 qbt parts (~qbt@user/edun) ()
2021-10-19 14:28:19 ASSISTENZA joins (~Username@net-47-53-74-164.cust.vodafonedsl.it)
2021-10-19 14:28:19 × ASSISTENZA quits (~Username@net-47-53-74-164.cust.vodafonedsl.it) (Excess Flood)
2021-10-19 14:42:29 ASSISTENZA joins (~Username@net-47-53-74-164.cust.vodafonedsl.it)
2021-10-19 14:42:30 × ASSISTENZA quits (~Username@net-47-53-74-164.cust.vodafonedsl.it) (Excess Flood)
2021-10-19 14:59:01 wonko joins (~wjc@62.115.229.50)
2021-10-19 14:59:55 mc47 joins (~mc47@xmonad/TheMC47)
2021-10-19 15:04:37 × mc47 quits (~mc47@xmonad/TheMC47) (Client Quit)
2021-10-19 15:22:21 Safeguard-IRC joins (~Safeguard@151.42.88.177)
2021-10-19 15:24:53 <Safeguard-IRC> hello, I have a question: recently I have been toying around with the variouos prompt from xmonad-contrib, and I came across the input prompt; the page makes an example fireEmployee :: String -> (). now, I wanted to make a function that takes the user input and launches a browser with that search query, but I cannot wrap my head around the ?+ operator, can anyone help me in composing it?
2021-10-19 15:25:39 <FOSS_Human> https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Prompt-Input.html#v:-63--43-
2021-10-19 15:28:37 <FOSS_Human> Safeguard-IRC: There's a prompt that already does what you want: https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Actions-Search.html
2021-10-19 15:29:24 <Safeguard-IRC> wot how did I miss that
2021-10-19 15:29:50 <FOSS_Human> lol, no problem
2021-10-19 15:34:39 <Safeguard-IRC> okay i've been trying it out, but it does not open my any browser, do I need to declare the Browser type?
2021-10-19 15:35:39 <geekosaur> it tries the browser identified by $BROWSER in the environment first
2021-10-19 15:35:46 <geekosaur> that's probably not set
2021-10-19 15:35:52 <Safeguard-IRC> indeed it's not set
2021-10-19 15:36:07 <Safeguard-IRC> but can I use a myBrowser variable declared in xmonad.hs?
2021-10-19 15:36:41 <FOSS_Human> https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Actions-Search.html#t:Browser
2021-10-19 15:36:45 <FOSS_Human> Takes a filepath
2021-10-19 15:36:59 <geekosaur> you might just pass the name of a browser (e.g. "chromium") where it wants a Browser
2021-10-19 15:37:07 <Safeguard-IRC> ah dumb me, I just put "qutebrowser"
2021-10-19 15:39:28 <Safeguard-IRC> it keeps sayingthat it's not in scope as a data constructor, do I need to import anything else beside XMonad.Action.Search ?
2021-10-19 15:40:14 <geekosaur> what are you actually doing?
2021-10-19 15:40:18 <geekosaur> @where paste
2021-10-19 15:40:18 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2021-10-19 15:41:06 <Safeguard-IRC> https://termbin.com/0bn3, line 581 and 463
2021-10-19 15:41:29 <Safeguard-IRC> pardon the mess in the file, I need to clean it up
2021-10-19 15:43:09 <geekosaur> you don't set Browser, it's the name of a type and can't be assigned to
2021-10-19 15:43:25 <liskin> hm, shouldn't https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Prompt-Shell.html#v:getBrowser default to sensible-browser or x-www-browser rather than hardcoding firefox?
2021-10-19 15:43:29 <geekosaur> instead, where a function signature asks for a Browser, you pass the string "qutebrowser"
2021-10-19 15:43:57 <geekosaur> liskin, probably
2021-10-19 15:44:30 <geekosaur> I think debianoids patch it to be "x-www-browser"
2021-10-19 15:45:49 <liskin> yeah that's my first thought: that some distros might not have these aliases
2021-10-19 15:46:32 <geekosaur> Safeguard-IRC, when you write `Browser = "qutebrowser"`, it does not do an assignment because `Browser` is not a variable, it is a data constructor and there is no such data constructor. And if there were, you wouldn't be able to assign to it; instead it would do a pattern match (except the types don't match so you'd get another compile error)
2021-10-19 15:47:05 <Safeguard-IRC> so.. let's see if I got this right: I should redefine promptSearchBrowser like this in my xmonad.hs: promptSearchBrowser :: XPConfig -> "/usr/bin/qutebrowser" -> SearchEngine -> X () ?
2021-10-19 15:47:45 <geekosaur> nope
2021-10-19 15:48:01 <Safeguard-IRC> okay then I did not understand
2021-10-19 15:48:50 <geekosaur> you call promptSearchBrowser as: promptSearchBrowser myXPConfig "qutebrowser" S.google
2021-10-19 15:49:02 <geekosaur> (substitute your chosen SearchEngine
2021-10-19 15:49:19 <Safeguard-IRC> ... I feel stupid
2021-10-19 15:50:34 <geekosaur> rowser is an alias for FilePath, which is itself an alias for String, so you pass a String for that argument
2021-10-19 15:50:40 <geekosaur> *Browser
2021-10-19 15:52:36 <Safeguard-IRC> okay I got it
2021-10-19 15:53:36 <Safeguard-IRC> I've been trying to do the following: browser = "/usr/bin" <> myBrowser, but it does not seem to work. myBrowser is also a String, and putting /usr/bin/qutebrowser works
2021-10-19 15:54:00 <FOSS_Human> ??
2021-10-19 15:54:11 <Safeguard-IRC> pardon me, let me be more clear
2021-10-19 15:54:19 <FOSS_Human> Just declare a function name like: `myBrowser = "/usr/bin/firefox"` ??
2021-10-19 15:54:19 <geekosaur> <> doesn't add a slash, so it ends up /usr/binqutebrowser
2021-10-19 15:54:42 <Safeguard-IRC> i've mistyped, there is a slash
2021-10-19 15:54:51 <Safeguard-IRC> browser :: String
2021-10-19 15:54:51 <Safeguard-IRC> browser = "/usr/bin/" <> myBrowser
2021-10-19 15:55:21 <Safeguard-IRC> ((altMask, xK_o), promptSearchBrowser myXPConfig browser duckduckgo ),
2021-10-19 15:56:40 <geekosaur> @where paste

All times are in UTC.