Logs: liberachat/#xmonad
| 2021-10-19 15:56:40 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2021-10-19 15:56:43 | <geekosaur> | include the error |
| 2021-10-19 15:56:51 | <Safeguard-IRC> | there is no error, it just does not work |
| 2021-10-19 15:57:26 | <geekosaur> | interesting. there should be no difference |
| 2021-10-19 15:57:42 | <Safeguard-IRC> | line 463, 581 and 582: https://termbin.com/nw3z9 |
| 2021-10-19 15:59:14 | <FOSS_Human> | Safeguard-IRC: |
| 2021-10-19 15:59:21 | <FOSS_Human> | myBrowser :: String |
| 2021-10-19 15:59:22 | <FOSS_Human> | myBrowser = "/usr/bin/qutebrowser" |
| 2021-10-19 15:59:24 | <FOSS_Human> | ((altMask, xK_o), promptSearchBrowser myXPConfig myBrowser duckduckgo ), |
| 2021-10-19 15:59:25 | <FOSS_Human> | ?? |
| 2021-10-19 15:59:31 | <Safeguard-IRC> | let me try |
| 2021-10-19 16:00:06 | <Solid> | Safeguard-IRC: myBrowser has a space at the end, so it tries to execute /usr/bin/qutebrowser\s |
| 2021-10-19 16:00:09 | <Solid> | which doesn't exist |
| 2021-10-19 16:00:26 | <geekosaur> | yeh, just noticed that |
| 2021-10-19 16:00:34 | <Safeguard-IRC> | FOSS_HUman not working |
| 2021-10-19 16:01:06 | <Safeguard-IRC> | oh wait, I put a space, in myBrowser, now it's working |
| 2021-10-19 16:01:07 | <geekosaur> | get rid of the space, promptSearchBrowser uses safeSpawn so it thinks the space is part of the command name |
| 2021-10-19 16:02:05 | <Safeguard-IRC> | hmhm okay |
| 2021-10-19 16:02:56 | <Safeguard-IRC> | what about the "/usr/bin/" <> myBrowser, it fails because it puts a \s at the end? |
| 2021-10-19 16:03:17 | <geekosaur> | myBrowser had the space in it, so it was just copied over |
| 2021-10-19 16:03:26 | <Safeguard-IRC> | let me try |
| 2021-10-19 16:03:28 | <geekosaur> | <> doesn't know you expected it to skip the space |
| 2021-10-19 16:04:12 | <Safeguard-IRC> | yeah now it works, thank you all |
| 2021-10-19 16:04:46 | <Safeguard-IRC> | another question: If I ever manage to make a irc bridge, will a IRC<->Telegram bridge be allowed here? |
| 2021-10-19 16:06:19 | <geekosaur> | suspect we'd want to discuss that on the mailing list with everyone else involved; not everyone is on here at the same time (I think I only overlap with mc47 during my evening, for example) |
| 2021-10-19 16:06:48 | <Safeguard-IRC> | yes yes I get it |
| 2021-10-19 16:06:50 | <FOSS_Human> | Dunno about everyone else but it's 5pm for me here in the UK rn |
| 2021-10-19 16:07:19 | <geekosaur> | 12:07 US/Eastern |
| 2021-10-19 16:07:31 | <Safeguard-IRC> | 6:07 in It |
| 2021-10-19 16:07:46 | <FOSS_Human> | Wow big time differences lol |
| 2021-10-19 16:08:00 | <Safeguard-IRC> | oh sorry, 6 PM i meant |
| 2021-10-19 16:08:06 | <FOSS_Human> | Oh k |
| 2021-10-19 16:08:29 | <geekosaur> | and I log IRC in UTC becuase in many of the channels I'm in there are even bigger spreads |
| 2021-10-19 16:09:48 | <Safeguard-IRC> | another question: I've been looking at the source of the multi searchengine, and at the end it as (prefixAware google), if I redefine multi with prefixAware duckduckgo, will it default to ddg? |
| 2021-10-19 16:10:27 | <Safeguard-IRC> | or is there a better way to do it? |
| 2021-10-19 16:12:16 | <Solid> | you don't have to redefine anything that X.A.Search already defines |
| 2021-10-19 16:12:36 | <Safeguard-IRC> | but how I would make multi define to ddg then? |
| 2021-10-19 16:12:48 | <Solid> | the docs for !> show an example of how to define your own multi search engine: https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Actions-Search.html#v:-33--62- |
| 2021-10-19 16:13:21 | <Safeguard-IRC> | aaaah |
| 2021-10-19 16:13:24 | <FOSS_Human> | Wow cool!, I might add this to my setup aswell |
| 2021-10-19 16:13:33 | <Safeguard-IRC> | today I really can't read |
| 2021-10-19 16:13:46 | <Safeguard-IRC> | I'm sorry haha, I shoud look more carefully at the docs |
| 2021-10-19 16:14:53 | <geekosaur> | searchEngineF takes a function that can build arbitrary search engines, that's the closest you come to needing to modify code |
| 2021-10-19 16:15:08 | <geekosaur> | but for most cases !> covers what you want |
| 2021-10-19 16:15:53 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2021-10-19 16:17:34 | <Safeguard-IRC> | ..it's not working, I defined multiengine like this: multiEngine = intelligent (wikipedia !> duckduckgo !> youtube !>amazon !> (prefixAware duckduckgo)) |
| 2021-10-19 16:17:34 | <Safeguard-IRC> | but typing like youtube:test, youtube: test, youtube test just opens ddg with that query |
| 2021-10-19 16:18:39 | <Safeguard-IRC> | just uusing multi works tough |
| 2021-10-19 16:19:36 | <geekosaur> | it's youtube:test |
| 2021-10-19 16:20:14 | <Safeguard-IRC> | yes,still not working, see the first example |
| 2021-10-19 16:20:33 | <geekosaur> | sorry, missed that |
| 2021-10-19 16:20:35 | <geekosaur> | hm |
| 2021-10-19 16:23:23 | <Safeguard-IRC> | well for now it's not needed, since I use mostly ddg's bangs |
| 2021-10-19 16:27:16 | × | humky quits (~humky@user/humky) (Remote host closed the connection) |
| 2021-10-19 16:27:36 | → | humky joins (~humky@user/humky) |
| 2021-10-19 16:27:50 | <Solid> | lol |
| 2021-10-19 16:27:55 | <Solid> | yeah it's a bug in X.A.Search |
| 2021-10-19 16:28:41 | <Solid> | how the !> operator associates is not specified and so it associates to the left by default |
| 2021-10-19 16:29:02 | <Solid> | which then mangles names when combining search engines like s1 !> s2 !> s3 |
| 2021-10-19 16:29:15 | <Solid> | mulit sensibly folds to the right so it doesn't have that behaviour |
| 2021-10-19 16:32:40 | <Safeguard-IRC> | hm I think I see |
| 2021-10-19 16:34:12 | <Safeguard-IRC> | well, thank you all for your help, and sorry for beign so dumb |
| 2021-10-19 16:34:13 | <Solid> | the tl;dr is to specify your search engines as `multiEngine = intelligent (foldr1 (!>) [wikipedia, youtube, amazon, prefixAware duckduckgo])' for now |
| 2021-10-19 16:34:29 | <Safeguard-IRC> | Solid let me try |
| 2021-10-19 16:34:46 | <Solid> | (you might have to import Data.List or something for foldr1) |
| 2021-10-19 16:36:04 | <Safeguard-IRC> | I have already Data.List imported ^^ matter of fact I was wrangling with it before, if you see my {single,dual}Mon functions I use intercalate. but apparently there is a type mismatch if I add to dualMon systray, since it's X() and intercalate makes them char (?) |
| 2021-10-19 16:36:59 | × | dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 264 seconds) |
| 2021-10-19 16:37:19 | <Safeguard-IRC> | Solid: yep that is working, thanks |
| 2021-10-19 16:38:18 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-10-19 16:38:46 | × | Safeguard-IRC quits (~Safeguard@151.42.88.177) (Remote host closed the connection) |
| 2021-10-19 16:40:09 | → | Safeguard-IRC joins (~Safeguard@151.42.88.177) |
| 2021-10-19 17:04:20 | × | Safeguard-IRC quits (~Safeguard@151.42.88.177) (Quit: Leaving) |
| 2021-10-19 17:08:29 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-10-19 17:08:51 | → | Safeguard-IRC joins (~Safeguard@151.42.88.177) |
| 2021-10-19 17:08:54 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-10-19 17:13:15 | <liskin> | $ make -C ~/.xmonad-testing .sub/xmonad-something |
| 2021-10-19 17:13:33 | <liskin> | how could I lived without something like this :-) |
| 2021-10-19 17:14:04 | <liskin> | creates a subdir, three git workdirs (X11, xmonad, xmonad-contrib), dummy xmonad.hs, Makefile, and builds that |
| 2021-10-19 17:42:33 | → | cyr4x3 joins (~cyr4x3@139.47.115.87) |
| 2021-10-19 17:42:33 | × | cyr4x3 quits (~cyr4x3@139.47.115.87) (Client Quit) |
| 2021-10-19 17:43:18 | → | cyr4x3 joins (~cyr4x3@139.47.115.87) |
| 2021-10-19 17:44:11 | × | cyr4x3 quits (~cyr4x3@139.47.115.87) (Client Quit) |
| 2021-10-19 17:49:24 | × | electr0n quits (~electr0n@about/security/founder/electr0n) (Quit: WeeChat 3.3) |
| 2021-10-19 17:56:03 | × | FOSS_Human quits (~lol111@user/foss-human/x-0231813) (Quit: Client Closed) |
| 2021-10-19 18:04:39 | → | qbt joins (~qbt@user/edun) |
| 2021-10-19 18:04:41 | × | qbt quits (~qbt@user/edun) (Client Quit) |
| 2021-10-19 18:10:08 | × | humky quits (~humky@user/humky) (Remote host closed the connection) |
| 2021-10-19 18:10:26 | → | humky joins (~humky@user/humky) |
| 2021-10-19 18:19:40 | → | alternateved joins (~user@staticline-31-183-146-132.toya.net.pl) |
| 2021-10-19 18:20:04 | × | Safeguard-IRC quits (~Safeguard@151.42.88.177) (Quit: Leaving) |
| 2021-10-19 18:25:11 | → | dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2021-10-19 18:26:05 | → | Safeguard-IRC joins (~Safeguard@151.42.88.177) |
| 2021-10-19 18:26:17 | <Solid> | sounds like a good addition to scripts/ :) |
| 2021-10-19 18:28:05 | <liskin> | it's rather tied to my spiderweb of dotfiles Makefiles |
| 2021-10-19 18:28:48 | <Solid> | ah I see |
| 2021-10-19 18:30:53 | <Safeguard-IRC> | I'm back with two more questions: is there something akin to showwsname but for generic purpose? like, I have a submap, and when I press the keystroke to trigger it (control space) I would like to have a little popup showing the options |
| 2021-10-19 18:32:51 | <Safeguard-IRC> | the second question is: how do I map something to the question mark and exclamation key? I tried xK_question, but it does not seem to be working |
| 2021-10-19 18:36:52 | <alternateved> | I think you would need something akin to (modMask .|. shiftMask, xK_slash) |
| 2021-10-19 18:37:06 | <Solid> | 1. I don't believe something like this exists (well, there's of course things like X.U.XUtils, but these basically amount to libraries for drawing arbitrary things) |
| 2021-10-19 18:37:46 | <alternateved> | The same goes for exclamation key - you would need to start with `1` key |
All times are in UTC.