Note: This channel on freenode is currently not being logged anymore. The logs are reproduced here for posterity.

2020-12-05 20:39:45 +0100 <sfrique> Entertainment, no problem!
2020-12-05 20:40:01 +0100 <aldum> Entertainment: worked for me on Artix
2020-12-05 20:45:00 +0100 <sfrique> Solid, i commented my keybind and let the default, and it worked! Thanks
2020-12-05 20:45:27 +0100 <Solid> sfrique: npnp :) it probably was too many master panes then
2020-12-05 20:45:47 +0100 <sfrique> yes, i am resarching an way to show that at xmobar
2020-12-05 20:46:30 +0100 <geekosaur> the command you wanted, btw, was: setLayout $ XMonad.layoutHook conf
2020-12-05 20:46:50 +0100 <sfrique> geekosaur, i found a config with that, but seemed weird haha thanks
2020-12-05 20:48:19 +0100 <geekosaur> it is a bit weird
2020-12-05 20:48:58 +0100 <geekosaur> if you change your layout without changing its type and then mod-q, xmonad doesn't know to apply the change so nothing happens. you need to hard reset the layout with something like that to force it.
2020-12-05 20:50:49 +0100 <sfrique> i got a confit that there is a lot of keybindins that i don't know what to do, i am trying to figure out if i should learn them before hand and see if i would like it or just remove then and add as needed
2020-12-05 20:52:07 +0100 <Solid> I would be wary of using other people's keybindings --- they might overwrite default keybindings that you didn't even know existed
2020-12-05 20:52:46 +0100 <sfrique> they do override defaults (like this reset layout) =/
2020-12-05 20:52:48 +0100isgy(~jy@82.38.116.187) (Quit: WeeChat 2.6)
2020-12-05 20:52:52 +0100 <sfrique> that is why i am not sure hahaha
2020-12-05 20:53:25 +0100idhugo(~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Quit: Leaving)
2020-12-05 21:01:08 +0100et09(~et09@unaffiliated/endolphin)
2020-12-05 21:01:38 +0100 <et09> should i s/dmenu/rofi ?
2020-12-05 21:02:02 +0100 <sfrique> i think rofi is way superior, but this is personal
2020-12-05 21:02:14 +0100 <et09> i'm looking for a subjective opinion of course
2020-12-05 21:02:14 +0100 <sfrique> superior i mean prettier haha
2020-12-05 21:02:27 +0100 <et09> i've had dmenu for like 12 years but
2020-12-05 21:02:29 +0100 <et09> yknow
2020-12-05 21:02:52 +0100 <sfrique> i see, i didn't use dmenu, when straight to rofi
2020-12-05 21:03:13 +0100 <sfrique> but i only use to start programs basically
2020-12-05 21:03:28 +0100 <sfrique> if you have other workflows with dmenu, you need to check it
2020-12-05 21:03:32 +0100 <et09> i don't
2020-12-05 21:05:01 +0100 <sfrique> rofi -combi-modi "drun,window,run" -modi "run,drun,window,combi" -columns 2 -show combi -show-icons -drun-icon-theme "Papirus"
2020-12-05 21:05:08 +0100 <sfrique> run this and see if you like it
2020-12-05 21:05:22 +0100 <sfrique> this is basically what i use
2020-12-05 21:05:39 +0100doct0rhu(~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) (Quit: Leaving)
2020-12-05 21:05:43 +0100 <et09> boy that is nice
2020-12-05 21:06:03 +0100doct0rhu(~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net)
2020-12-05 21:06:06 +0100 <et09> is this via safeSpawn? can you send me the line?
2020-12-05 21:06:18 +0100 <sfrique> , ("M-d", spawn "rofi -combi-modi \"drun,window,run\" -modi \"run,drun,window,combi\" -columns 2 -show combi -show-icons -drun-icon-theme \"Papirus\"" )
2020-12-05 21:06:51 +0100 <sfrique> i am using xmonad for only a few days xD
2020-12-05 21:06:52 +0100geekosaursees a bunch of pointless escaped quotes :)
2020-12-05 21:07:12 +0100 <geekosaur> (the quotes aren't needed, therefore neither are the escapes)
2020-12-05 21:07:13 +0100 <sfrique> geekosaur, how so?
2020-12-05 21:07:20 +0100 <sfrique> i see
2020-12-05 21:08:10 +0100 <sfrique> i thing i needed at i3 or something like it
2020-12-05 21:08:13 +0100 <geekosaur> `drun,window,run` contains no characters special to the shell. same for the other two
2020-12-05 21:08:35 +0100 <et09> ygot it :
2020-12-05 21:08:50 +0100 <geekosaur> if you're going t quote them anyway then yes you need the escapes. I just don't see why they're quoted
2020-12-05 21:09:08 +0100ces(~ces@fsf/member/ces)
2020-12-05 21:09:13 +0100 <sfrique> i will update my config
2020-12-05 21:09:33 +0100 <et09> wow this is something
2020-12-05 21:09:48 +0100 <et09> i had gmrun and um... (squints)
2020-12-05 21:10:11 +0100 <et09> wth is catfish
2020-12-05 21:10:45 +0100 <sfrique> it's time to add my xmonad to my dotfiles, it's kind of "stable" now i guess
2020-12-05 21:11:46 +0100 <et09> idk i had some other dmenu-ish-but-gtk program with like
2020-12-05 21:11:52 +0100 <et09> a huge white bg text display
2020-12-05 21:11:55 +0100 <Entertainment> :sfrique Did you start with an something from the config archive?
2020-12-05 21:11:59 +0100 <et09> essentially functioning like drun. i don't know what now
2020-12-05 21:12:22 +0100 <sfrique> Entertainment, i don't know, i got it from a few places probably from a github somewhere
2020-12-05 21:13:04 +0100 <daphnis> can i change the named-scratchpad indicator NSP or remove it using dynamicLogString?
2020-12-05 21:14:57 +0100 <sfrique> geekosaur, since you know it all, doyou know how to use random strings on the config? and pass it like `("M-." , addWorkspace RandomString)`
2020-12-05 21:15:39 +0100 <sfrique> it can be a range of numbers or anything, it's just to create a temporary workspace as i need it, i did this often on i3 =/
2020-12-05 21:17:34 +0100 <geekosaur> daphnis, take a look at http://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Util-NamedScratchpad.html#v:nam…
2020-12-05 21:18:26 +0100Solidnow remembers that he wanted to write a generic filterOutWsPP
2020-12-05 21:18:56 +0100 <et09> i still want a proper MouseResizableTile with floating and tiled decorations
2020-12-05 21:19:03 +0100 <et09> and 3 columns
2020-12-05 21:21:13 +0100 <daphnis> geekosaur: yeah, i didn't quite understand how to adapt that to dynamicLogString
2020-12-05 21:21:34 +0100 <geekosaur> sfrique, the RNG interface in Haskell is … bewilderingly complete :) go look at the `random` package
2020-12-05 21:22:15 +0100 <geekosaur> you're still using a PP somewhere, you just apply that function to the PP to have it remove NSP
2020-12-05 21:22:54 +0100 <sfrique> geekosaur, i tried this but didn't work: https://stackoverflow.com/questions/8416365/generate-a-random-integer-in-a-range-in-haskell-withou…
2020-12-05 21:24:24 +0100 <sfrique> https://paste.tomsmeding.com/WZWhbIcu
2020-12-05 21:25:44 +0100 <sfrique> oohh i think i got it
2020-12-05 21:25:51 +0100 <sfrique> let me see if i can cast literal to string
2020-12-05 21:25:57 +0100 <geekosaur> nope
2020-12-05 21:26:29 +0100 <geekosaur> io (randomRIO (1,100000)) >>= addWorkspace . show
2020-12-05 21:27:48 +0100 <sfrique> didn't work the line you sent as well
2020-12-05 21:28:44 +0100 <geekosaur> the `io` executes the RNG action in IO instead of X, `>>=` passes the result on, `show` converts the number to a String
2020-12-05 21:28:58 +0100Entertainment(~entertain@104.246.132.210) ()
2020-12-05 21:29:02 +0100 <geekosaur> what do you mean by "didn't work"? paste actual line and error?
2020-12-05 21:30:08 +0100 <sfrique> let me run it again
2020-12-05 21:32:14 +0100 <sfrique> https://paste.tomsmeding.com/pRfI8eNX
2020-12-05 21:33:05 +0100 <geekosaur> heh. I did wonder how it was going to solve those…
2020-12-05 21:33:52 +0100 <sfrique> i am thinking in executing a shell haha
2020-12-05 21:35:14 +0100 <geekosaur> hm, actually that's acting just a bit pigheaded even for Haskell, it should have inferred Integer for all of those I think
2020-12-05 21:35:52 +0100 <geekosaur> probably works in ghci and need -XExtendedDefaultRules, to avoid having to assign hard types everywhere
2020-12-05 21:36:00 +0100 <Solid> the one time you need a monomorphism restriction :>
2020-12-05 21:36:04 +0100 <geekosaur> but it might be sufficient to add just one type annotation
2020-12-05 21:36:18 +0100 <geekosaur> io (randomRIO (1 :: Int,100000)) >>= addWorkspace . show
2020-12-05 21:36:45 +0100By_JumperX4[m](byjumperx4@gateway/shell/matrix.org/x-menbqwuhbbtetpli) (Ping timeout: 240 seconds)
2020-12-05 21:36:51 +0100 <geekosaur> shoukld cause everything else to be inferred as Int (or use Integer instead of Int)
2020-12-05 21:36:54 +0100sm[m](simonmicma@gateway/shell/matrix.org/x-xomgnngasooluobu) (Ping timeout: 244 seconds)
2020-12-05 21:36:58 +0100PotatoHatsue(berbermanp@gateway/shell/matrix.org/x-znkywhldbhzbhgen) (Ping timeout: 246 seconds)
2020-12-05 21:37:07 +0100psibi[m](psibimatri@gateway/shell/matrix.org/x-hybulqhkhyoqcykv) (Ping timeout: 240 seconds)
2020-12-05 21:37:14 +0100CRTified[m](schnecfkru@gateway/shell/matrix.org/x-ofgzvldlqelcywuc) (Ping timeout: 264 seconds)
2020-12-05 21:37:26 +0100 <daphnis> so how should i insert namedScratchpadFilterOutWorkspacesPP into myLogHook = dynamicLogString def { ... ?
2020-12-05 21:37:31 +0100 <geekosaur> actually this is where I expect it to apply defaulting
2020-12-05 21:37:32 +0100 <sfrique> it did work now
2020-12-05 21:37:33 +0100rednaZ[m](r3dnazmatr@gateway/shell/matrix.org/x-nvfucrymxqacpiao) (Ping timeout: 260 seconds)
2020-12-05 21:37:34 +0100 <sfrique> io (randomRIO (1 :: Int,100000)) >>= addWorkspace . show
2020-12-05 21:38:22 +0100 <geekosaur> dynamicLogString (namedScratchpadFilterOutWorkspacesPP def { … })
2020-12-05 21:39:17 +0100psamim(samimpmatr@gateway/shell/matrix.org/x-iwvzbluhzuztthuh) (Ping timeout: 260 seconds)
2020-12-05 21:40:07 +0100 <sfrique> is there an way to list all workspaces?
2020-12-05 21:40:39 +0100 <sfrique> cause i think i am adding it random, but not removing them, so i might get a hugde list of workspaces (just not showed )
2020-12-05 21:40:46 +0100 <daphnis> geekosaur: aha, thanks. i tried with $, but i suppose that didn't work because of the things after }
2020-12-05 21:41:02 +0100 <geekosaur> right