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