Home freenode/#xmonad: Logs Calendar

Logs: freenode/#xmonad

←Prev  Next→
Page 1 .. 29 30 31 32 33 34 35 36 37 38 39 .. 397
39,606 events total
2020-12-13 16:46:56 × hexo quits (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection)
2020-12-13 16:47:10 hexo joins (~hexo@gateway/tor-sasl/hexo)
2020-12-13 16:47:22 <Liskni_si> psibi[m]: key should hash the relevant stack.yaml and *.cabal, restore keys should be one component smaller
2020-12-13 16:47:27 <Solid> adder: that's tells you you're treating the function as if it returns `X ()` instead of `X String`
2020-12-13 16:47:37 <Liskni_si> psibi[m]: putting key into restore-keys is noop
2020-12-13 16:47:57 <Liskni_si> and if it's not, it's a weird hack that deserves a comment
2020-12-13 16:48:40 <tux1> anyone know Haskell, got little problem, need some guidance?
2020-12-13 16:51:40 <tux1> Liskni_si: do you know how to ignore windows from NSP when doing nextMatch History (return True)?
2020-12-13 16:52:00 <adder> Solid, i'm not sure how to use this thing, documentation is very obscure
2020-12-13 16:52:19 <adder> do i call dmenuXinerama directly, do i spawn what it returns, do i...
2020-12-13 16:52:28 <Solid> adder: it seems to return your selection as a string; what do you want to use it for?
2020-12-13 16:52:52 <adder> i want to spawn dmenu on current screen on mod+p
2020-12-13 16:53:04 <Liskni_si> tux1: not from the top of my head, sorry
2020-12-13 16:53:26 <Solid> I think `spawn . void $ dmenuXinerama []` should work
2020-12-13 16:53:33 <Solid> where void is from Control.Monad
2020-12-13 16:54:21 <tux1> Liskni_si: that's alright, here is the library if you can take a look please? https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/src/XMonad.Actions.GroupNavigation.html
2020-12-13 16:54:25 <adder> Solid, Couldn't match expected type ‘[a0]’ with actual type ‘X String’
2020-12-13 16:55:03 <Solid> adder: can you post the full code?
2020-12-13 16:55:32 <adder> Solid, sure, https://dpaste.com/3KSN2ULMY
2020-12-13 16:56:44 <Solid> oh I'm a big derp
2020-12-13 16:56:52 <Solid> of course dmenu is already doing the spawning
2020-12-13 16:57:31 <Solid> so remove that spawn, then the types should match
2020-12-13 17:00:13 <tux1> Solid do you know some Haskell?
2020-12-13 17:00:41 <Liskni_si> tux1: https://gist.github.com/liskin/234dcb2c47668a9fe747f3380020f914
2020-12-13 17:01:08 <Solid> oh that's pretty nifty
2020-12-13 17:01:09 <adder> Solid, it's not getting spawned for some reason, i see that this function requires a patch in dmenu, but i'm googling and i'm not sure if it's patched or not
2020-12-13 17:01:34 <Liskni_si> tux1: then windowWs /=? "NSP" instead of return True
2020-12-13 17:01:41 <adder> should be patched because that should be dmenu's -m
2020-12-13 17:02:30 <Solid> adder: it's using `dmenu -xs` internally; at least my dmenu doesn't have that option
2020-12-13 17:02:31 <adder> is there another way of determining current screen so i can spawn manually with -m?
2020-12-13 17:02:52 <Liskni_si> we should probably add windowWs somewhere as it can be useful for X.H.Focus and FadeHooks and stuff
2020-12-13 17:03:03 <Solid> you can just look at how dmenuXinerama is defined, it's determining the current screen in the function
2020-12-13 17:03:24 × rabliatu quits (~quassel@184.170.240.109) (Ping timeout: 260 seconds)
2020-12-13 17:03:38 <geekosaur> keep in mind copyToAll and friends, there can be zero or more workspaces for a window
2020-12-13 17:03:42 <adder> and i don't have xs :D
2020-12-13 17:04:14 <Liskni_si> geekosaur: oh:-(
2020-12-13 17:04:23 <geekosaur> (actually shouldn't be zero except just before the manageHook runs, not sure if timing issues mean that comes up but I think it can)
2020-12-13 17:05:14 <tux1> Liskni_si: almost there, so I see I need W variable, when I load StackSet as W it says workspace variable is ambigious since it's also loaded from XMonad.Core, how do I fix this? Or do I load XMonad itself as W?
2020-12-13 17:05:26 <Liskni_si> geekosaur: what happens when you use copyToAll with xinerama? does it just leave blank spots on the other screens?
2020-12-13 17:05:33 <Liskni_si> or does it explode? :-)
2020-12-13 17:05:59 <Liskni_si> tux1: import qualified XMonad.StackSet as W
2020-12-13 17:06:16 <geekosaur> X11 ignores all but the first instance of the window
2020-12-13 17:06:18 <Liskni_si> isn't that in every sample config? (dunno, hadn't seen one in years)
2020-12-13 17:08:20 <Liskni_si> geekosaur: oh, right, reveal gets called multiple times and the last rect wins
2020-12-13 17:08:26 <Liskni_si> funny
2020-12-13 17:11:47 <geekosaur> right, sorry, last since it gets mapped multiple times. hypothetically you can watch it move around but I think it usually happens too fast. maybe on my current machine but I have only one screen :)
2020-12-13 17:16:30 <tux1> Liskni_si: get this error https://ibb.co/nMwbwYZ
2020-12-13 17:28:35 <Liskni_si> tux1: oh, add Just before "NSP"
2020-12-13 17:34:20 gzj joins (~gzj@unaffiliated/gzj)
2020-12-13 17:34:27 <tux1> Liskni_si: holy shit it worked, thanks! You're a wizard, how do you know all this stuff? Years of dabbling with Xmonad or actually know Haskell well and use it on some other things?
2020-12-13 17:34:39 <Liskni_si> tux1: both
2020-12-13 17:34:55 <Liskni_si> tux1: I switched to xmonad in 2009 and been submitting patches since
2020-12-13 17:36:08 <Solid> 2009?! hot damn
2020-12-13 17:36:23 <tux1> Liskni_si: I see, thanks to you and to everyone else who are building, improving XMonad. I tried every other WM, but nothing came close to XMonad, DWM is nice though.
2020-12-13 17:36:30 <Liskni_si> Solid: yeah, it's been a while: https://work.lisk.in/2009/10/28/going-tiled.html
2020-12-13 17:38:25 <Solid> the wallpaper haha
2020-12-13 17:38:29 <Solid> very mid 2000's
2020-12-13 17:39:13 × gzj quits (~gzj@unaffiliated/gzj) (Ping timeout: 264 seconds)
2020-12-13 17:39:35 <Solid> well, you've got about 10 years on me then :>
2020-12-13 17:46:31 <tux1> Liskni_si: do you mind if I ask one more thing? If you have time. So I have clickable workspaces with <action> tag, they work well. I also have showWMName to show workspace names when switching, do you know how to strip action tags from workspace names to use with showWMName? https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Layout-ShowWName.html https://dpaste.com/BFM9UGELL
2020-12-13 17:47:22 <tux1> I found stripAction function from old configs, but seems to be removed/deprecated?
2020-12-13 17:47:42 <Liskni_si> tux1: I think you should switch to https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Util/ClickableWorkspaces.hs which shouldn't have this problem
2020-12-13 17:48:17 <Liskni_si> stripActions isn't removed/deprecated, it's just not in xmonad, but in xmobar
2020-12-13 17:49:06 <Liskni_si> it is possible to use in xmonad with a patch to xmobar that exposes these functions, and I do that in my config, but in your case there's a cleaner solution
2020-12-13 17:49:39 <Liskni_si> or you can use xmobarStripTags from DynamicLog
2020-12-13 17:50:10 <Liskni_si> which is still a hack but …
2020-12-13 17:53:55 <Solid> only problem being that ClickableWorkspaces is still not in any released version ;)
2020-12-13 17:54:12 <Liskni_si> right
2020-12-13 18:02:11 <tux1> Liskni_si: thanks, makes it clear, could not find ClickableWorkspaces though as Solid said
2020-12-13 18:03:19 <tux1> should work if I install it from git?
2020-12-13 18:03:49 <Solid> yes
2020-12-13 18:19:08 al3x27 joins (~plovs@85.254.75.80)
2020-12-13 18:21:43 <tux1> thanks everyone for the help
2020-12-13 18:23:00 <al3x27> New xmonad user here, trying to test things in xephyr. Is it a bug in my setup, or does xephyr always float?
2020-12-13 18:24:13 <geekosaur> xephyr would request a fixed-size window, which would be autofloated
2020-12-13 18:26:21 <al3x27> geekosaur: ah, thanks
2020-12-13 18:27:18 <al3x27> geekosaur: and ... found it, just added resizeable. Many thanks!
2020-12-13 18:28:14 × amiri quits (~amiri@cpe-76-91-154-9.socal.res.rr.com) (Remote host closed the connection)
2020-12-13 18:34:38 ddellacosta joins (dd@gateway/vpn/mullvad/ddellacosta)
2020-12-13 18:41:29 × tux1 quits (~tux@116.251.216.46) (Quit: WeeChat 2.9)
2020-12-13 19:03:08 × berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 258 seconds)
2020-12-13 19:03:31 berberman joins (~berberman@unaffiliated/berberman)
2020-12-13 19:09:34 × mrbirkov quits (uid453780@gateway/web/irccloud.com/x-afihlvcablnozxtg) (Quit: Connection closed for inactivity)
2020-12-13 19:19:25 amiri joins (~amiri@cpe-76-91-154-9.socal.res.rr.com)
2020-12-13 19:43:41 drl joins (~l@2600:1700:8360:3870::725)
2020-12-13 19:56:00 adder parts (~adder@unaffiliated/adder) ("Leaving")
2020-12-13 19:56:38 × mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving)
2020-12-13 19:56:55 mc47 joins (~yecinem@89.246.239.190)
2020-12-13 20:09:56 × al3x27 quits (~plovs@85.254.75.80) (Quit: WeeChat 2.9)
2020-12-13 20:23:28 × thoros quits (~thoros@194-96-55-156.hdsl.highway.telekom.at) (Quit: WeeChat 3.0)
2020-12-13 20:41:05 doct0rhu joins (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net)
2020-12-13 21:00:18 al3x27 joins (~plovs@85.254.74.204)
2020-12-13 21:01:41 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
2020-12-13 21:13:06 × notis quits (~notis@45.134.22.48) (Read error: Connection reset by peer)
2020-12-13 21:16:30 notis joins (~notis@185.51.134.230)
2020-12-13 21:23:30 rabliatu joins (~quassel@199.58.187.144)
2020-12-13 21:25:38 schweby_ is now known as schweby
2020-12-13 21:34:09 × geekosaur quits (ae68c070@cpe-174-104-192-112.neo.res.rr.com) (Remote host closed the connection)
2020-12-13 21:57:05 rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com)
2020-12-13 22:06:36 Liskni_si no longer has any custom xmonad patches that aren't at least submitted as a PR \o/
←Prev  Next→
Page 1 .. 29 30 31 32 33 34 35 36 37 38 39 .. 397

All times are in UTC.