Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 880 881 882 883 884 885 886 887 888 889 890 .. 1850
184,993 events total
2022-10-01 09:46:15 <HP-UX> But this makes for TWO different key combinations
2022-10-01 09:46:34 <HP-UX> Any way to have only just one, that goes to a certain worksapce, and then back to wherever you were
2022-10-01 09:47:08 <HP-UX> If I do, M3-n, goes to NSP, then I do M-z, and goes back to whereever it was before it switched to NSP
2022-10-01 09:47:13 <HP-UX> Please advise, thanks
2022-10-01 09:55:16 chomwitt joins (~chomwitt@2a02:587:dc14:f500:f42c:42aa:75f3:5bbf)
2022-10-01 10:31:57 <byorgey> HP-UX: I think you want 'toggleOrView' from XMonad.Actions.CycleWS
2022-10-01 10:38:13 <HP-UX> W.toggleOrView not in scope...
2022-10-01 10:39:53 <HP-UX> , ("M3-z", windows $ W.toggleOrView "Emacs")
2022-10-01 10:40:27 <HP-UX> W.greedyView compiles, np
2022-10-01 10:40:44 azg256 joins (~user@78-56-98-5.static.zebra.lt)
2022-10-01 10:44:30 <byorgey> HP-UX: it's from the XMonad.Actions.CycleWS module. So at the top you need either just 'import XMonad.Actions.CycleWS', or something like 'import XMonad.Actions.CycleWS (..., toggleOrView)'
2022-10-01 10:44:46 <HP-UX> It's already there
2022-10-01 10:44:55 <HP-UX> I use toggleWS like I said, from it, and it works.
2022-10-01 10:44:56 <fizzie> Then you wouldn't add a `W.` prefix.
2022-10-01 10:45:31 <HP-UX> import qualified XMonad.StackSet as W
2022-10-01 10:45:37 <HP-UX> here's the W. prefix coming from
2022-10-01 10:45:44 <fizzie> Yes, so don't use it with `toggleOrView`.
2022-10-01 10:45:52 <HP-UX> import XMonad.Actions.CycleWS here's my line
2022-10-01 10:45:56 <fizzie> You said "W.toggleOrView not in scope..."
2022-10-01 10:46:03 <HP-UX> I tried both
2022-10-01 10:46:08 <HP-UX> no luck on with or without W.
2022-10-01 10:46:20 <HP-UX> , ("M3-z", windows $ toggleOrView "Emacs")
2022-10-01 10:46:24 <HP-UX> , ("M3-z", windows $ W.toggleOrView "Emacs")
2022-10-01 10:46:35 <byorgey> HP-UX: what version of xmonad-contrib do you have installed?
2022-10-01 10:46:57 <HP-UX> https://bpa.st/BVAQ
2022-10-01 10:47:06 <HP-UX> latest. 0.17 from stack
2022-10-01 10:47:10 <fizzie> That's an entirely different error.
2022-10-01 10:47:25 <HP-UX> this error is without W.
2022-10-01 10:47:32 <HP-UX> 439 | , ("M3-z", windows $ toggleOrView "Emacs")
2022-10-01 10:47:34 <HP-UX> see
2022-10-01 10:47:38 <fizzie> Yes, and it means you wouldn't put in `windows $` either, likely.
2022-10-01 10:47:45 <HP-UX> I see
2022-10-01 10:47:59 <HP-UX> Oh I see.
2022-10-01 10:48:02 <fizzie> Just ("M3-z", toggleOrView "Emacs").
2022-10-01 10:48:08 <HP-UX> Gotcha
2022-10-01 10:48:10 <HP-UX> Thanks yoyu
2022-10-01 10:48:23 <HP-UX> Oh man that's brilliant.
2022-10-01 10:48:30 <HP-UX> About time.
2022-10-01 10:48:48 <HP-UX> It's like a scratchpad keyword, but minus the limitations of scratchpad
2022-10-01 10:49:00 <HP-UX> Thank you, I am ...I really gotta learn haskell one of them days
2022-10-01 10:51:27 <HP-UX> Is it possible to do like emacs style keybindings in Xmonad like "M-x e", toggleOrView "Emacs"
2022-10-01 10:52:00 <HP-UX> So I can do like, Mod+x then first letter of some app's name to to there
2022-10-01 10:52:54 <fizzie> Yes, I think EZConfig supports that, but internally using XMonad.Actions.Submap where necessary. Never tried it, though.
2022-10-01 10:53:00 <fizzie> s/but/by/
2022-10-01 10:53:11 <HP-UX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-EZConfig.html well it says that but I hadn't yet been able to figure itout
2022-10-01 10:53:56 <HP-UX> Oh I have to do mkkeymap
2022-10-01 10:53:58 <HP-UX> I see.
2022-10-01 10:54:15 <fizzie> No, I think `additionalKeysP` uses mkKeymap already.
2022-10-01 10:54:20 <fizzie> If that's what you're using to add key bindings.
2022-10-01 10:54:25 <HP-UX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-EZConfig.html#g:3
2022-10-01 10:54:51 <HP-UX> keys = \c -> mkKeymap c $ <- where do I add the keys keymap?
2022-10-01 10:54:54 <fizzie> I know that's where it's specified, I'm saying `additionalKeys` will call mkKeymap for you.
2022-10-01 10:55:11 <fizzie> "additionalKeysP -- Like additionalKeys, except using short String key descriptors like "M-m" instead of (modMask, xK_m), as described in the documentation for mkKeymap."
2022-10-01 10:55:59 <fizzie> So it should just be a matter of adding those to your list. Assuming you're currently calling `additionalKeysP` to add your keys.
2022-10-01 10:56:19 <HP-UX> What?
2022-10-01 10:56:35 <HP-UX> Yes
2022-10-01 10:56:48 <HP-UX> I am already using it, like M3-s, etc.
2022-10-01 10:57:10 <HP-UX> I am trying to figure out where to put the keys =
2022-10-01 10:57:50 <fizzie> I'm saying just add whatever Emacs-style keybindings to your list. You don't need to use mkKeymap.
2022-10-01 10:57:59 <HP-UX> It doesn't work.
2022-10-01 10:58:16 <HP-UX> I already tried all of the things, that's why I'm asking here
2022-10-01 10:58:33 <HP-UX> I already tried the emacs style keys in additionalkeysp and they do not work
2022-10-01 10:58:51 <fizzie> Then it wouldn't work by calling mkKeymap either, because that's exactly what additionalKeysP does. https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/src/XMonad.Util.EZConfig.html#additionalKeysP
2022-10-01 10:58:56 <HP-UX> , ("M-x e", toggleOrView "Emacs") < this doesn't work
2022-10-01 10:59:12 <HP-UX> What am I donig wrong?
2022-10-01 10:59:25 <HP-UX> , ("M3-z", toggleOrView "Emacs") <- this works
2022-10-01 11:00:05 <HP-UX> I can get combinations to work, but not sequences
2022-10-01 11:00:13 <fizzie> I haven't tried to use the automatically generated submaps, so I don't think I can really advise there. I don't suppose you have something else bound to plain "M-x" or something?
2022-10-01 11:00:24 <HP-UX> No I don't think so
2022-10-01 11:00:31 <HP-UX> Oh nevermind, I stupidly do
2022-10-01 11:00:40 <HP-UX> I thought I didn't, cuz ... sorry
2022-10-01 11:02:47 <HP-UX> Ok it works now
2022-10-01 11:02:59 <HP-UX> Oh this is a life saver, thank you so much my friendly dude man
2022-10-01 11:22:06 <HP-UX> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-Minimize.html
2022-10-01 11:22:36 <HP-UX> What exactly does min/maximize window do? I don't understand the functionality of it
2022-10-01 11:22:55 <HP-UX> where does the minimized window go?
2022-10-01 11:28:03 <mekeor[m]> hello. should i start dbus in my .xsession, beside xmonad? if so, how?
2022-10-01 11:34:53 <geekosaur> eval $(dbus-launch --sh-syntax --exit-with-session)
2022-10-01 11:36:13 <geekosaur> HP-UX: it's unmapped, and you need a keybind to get it back
2022-10-01 11:36:44 <geekosaur> (or a desktop panel which will generally show it in brackets or etc. and you can click it to restore it)
2022-10-01 11:38:17 <geekosaur> as for `additionalKeysP` and submaps, consider https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad.hs#L203-L209
2022-10-01 11:43:38 <HP-UX> geekosaur: what is this kind of a key binding? how do you do it?
2022-10-01 11:43:45 <HP-UX> M-C-cko
2022-10-01 11:45:01 <HP-UX> So, for example, to run 'spawn "mpc next"', you would hit mod-a (to trigger the submapping) and then n to run that action. (0 means "no modifier"). You are, of course, free to use any combination of modifiers in the submapping. However, anyModifier will not work, because that is a special value passed to XGrabKey() and not an actual modifier.
2022-10-01 11:45:17 <HP-UX> Sorry my English is weak, trying to make sense out of this sentence
2022-10-01 11:45:43 <geekosaur> M-C-c, then k, then o
2022-10-01 11:46:24 <HP-UX> Oh I see
2022-10-01 11:46:32 <geekosaur> and M-C-c is a Submap generated automatically by additionalKeysP
2022-10-01 11:46:52 <geekosaur> (as is the following k, but it only has one entry)
2022-10-01 11:48:51 <geekosaur> for yours in X.A.Submap, note that each entry in the Submap is (0, key). that's the "no modifier" in this case
2022-10-01 12:36:19 × td_ quits (~td@94.134.91.190) (Ping timeout: 252 seconds)
2022-10-01 12:40:38 td_ joins (~td@94.134.91.190)
2022-10-01 13:05:49 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-10-01 13:07:34 × thunderrd quits (~thunderrd@183.182.115.199) (Read error: Connection reset by peer)
2022-10-01 14:06:35 azg256 parts (~user@78-56-98-5.static.zebra.lt) (Leaving)
2022-10-01 14:37:46 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-10-01 14:43:50 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-10-01 15:08:32 mvk joins (~mvk@2607:fea8:5ce3:8500::778c)
2022-10-01 16:00:10 × azureorange404[m quits (~azureoran@2001:470:69fc:105::2:7589) (Quit: You have been kicked for being idle)
2022-10-01 16:21:14 × blaa quits (~bla@83.24.69.6.ipv4.supernova.orange.pl) (Remote host closed the connection)

All times are in UTC.