Logs: liberachat/#xmonad
| 2022-08-02 22:08:31 | × | shinjipf quits (~shinjipf@2a02:c207:2082:6685::1) (Quit: Ping timeout (120 seconds)) |
| 2022-08-02 22:08:52 | → | shinjipf joins (~shinjipf@2a02:c207:2082:6685::1) |
| 2022-08-02 22:11:02 | <geekosaur> | hm, and if you hack the windowset you'll have to unhack it afterward or xmonad will become very confused about a duplicated workspace in the StackSet |
| 2022-08-02 22:38:46 | → | dexter1 joins (~dexter@li655-253.members.linode.com) |
| 2022-08-02 22:45:13 | → | sogens joins (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) |
| 2022-08-02 23:03:02 | × | sogens quits (~sogens@pa49-182-88-68.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds) |
| 2022-08-02 23:22:56 | → | thyriaen joins (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) |
| 2022-08-02 23:23:34 | <thyriaen> | howdy friends. I would like to have a xmonad layout where i have 2 windows side by side which are both tabbed - does that exist ? |
| 2022-08-02 23:25:15 | <geekosaur> | is that not simply Tabbed? or do you mean two different window stacks each with its own Tabbed layout? |
| 2022-08-02 23:26:11 | <thyriaen> | Yea i mean two window stacks each with own tabbed layout |
| 2022-08-02 23:26:27 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-Combo.html |
| 2022-08-02 23:26:38 | <thyriaen> | simpletabbed makes 1 big window with tabs |
| 2022-08-02 23:26:42 | <geekosaur> | it's even the example layout they show |
| 2022-08-02 23:27:13 | <thyriaen> | thanks |
| 2022-08-02 23:27:52 | <geekosaur> | use it with WindowNavigation as they suggest to move windows between panes |
| 2022-08-02 23:31:24 | <thyriaen> | what is this defaultTConf in their exmaple ? |
| 2022-08-02 23:33:24 | <geekosaur> | hm, that's out of date. it's a tab configuration; you should use `def` instead of `defaultTConf` |
| 2022-08-02 23:33:33 | <thyriaen> | ok |
| 2022-08-02 23:35:15 | <thyriaen> | i get TwoPane not in scope |
| 2022-08-02 23:35:53 | <geekosaur> | import XMonad.Layout.TwoPane |
| 2022-08-02 23:35:56 | <thyriaen> | ya |
| 2022-08-02 23:35:59 | <thyriaen> | fixed it that way |
| 2022-08-02 23:36:02 | <geekosaur> | and import XMonad.Layout.Tabbed for that |
| 2022-08-02 23:36:40 | <geekosaur> | you may want to look at the sample `myTabConfig` in X.L.Tabbed for alternatives to `def` (the former `defaultTConf`) |
| 2022-08-02 23:37:21 | <thyriaen> | what is this shrinkText i see |
| 2022-08-02 23:38:07 | <geekosaur> | a tabbed option, it lets you optionally specify how to shrink window titles to fit into tabs |
| 2022-08-02 23:38:23 | <geekosaur> | see the documentation for X.L.Decoration, on which Tabbed is based |
| 2022-08-02 23:39:28 | <geekosaur> | most of the time you want the default (shrinkText) rather than customizing it, but the option is there |
| 2022-08-02 23:41:11 | <thyriaen> | how would i modify those to get my gaps with spacingRaw False (Border 4 4 4 4) True (Border 4 4 4 4) True ? |
| 2022-08-02 23:41:16 | <xmonadtrack> | xmonad-contrib Brandon S Allbery KF8NH {GitHub} * v0.17.0-213-g6b4675e3: fix some deprecated and removed `defaultTConf`s (4 minutes ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad-contrib/commit/6b4675e3fa85 |
| 2022-08-02 23:41:19 | <geekosaur> | (also I just pushed a fix for defaultTConf; we'red still running into little documentation issues involving deprecated and removed names) |
| 2022-08-02 23:41:28 | <geekosaur> | heh, right, bot |
| 2022-08-02 23:41:55 | <geekosaur> | where do you want the gaps to show? |
| 2022-08-02 23:42:10 | <thyriaen> | all around and between the two panes |
| 2022-08-02 23:43:06 | <geekosaur> | then you probably want that outside the combineTwo |
| 2022-08-02 23:43:33 | <geekosaur> | if you put it inside then you would have a double gap between the panes |
| 2022-08-02 23:43:49 | <thyriaen> | if i put that infront and connect them with $ it throwns me an error |
| 2022-08-02 23:44:16 | <thyriaen> | couldn't match expected typue combinetwo |
| 2022-08-02 23:44:38 | <geekosaur> | @where paste |
| 2022-08-02 23:44:38 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2022-08-02 23:46:36 | <thyriaen> | https://paste.tomsmeding.com/FzJE9wm8 |
| 2022-08-02 23:46:58 | <thyriaen> | i would also like to know what - when i have an error - it shows it to me twice in two windows :p |
| 2022-08-02 23:48:23 | × | thyriaen quits (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) (Quit: Leaving) |
| 2022-08-02 23:48:47 | → | thyriaen joins (~thyriaen@2a02:8109:8340:686c:3cdc:1de0:eddb:5de6) |
| 2022-08-02 23:48:52 | <thyriaen> | i am back |
| 2022-08-02 23:50:30 | <geekosaur> | if you're using `xmonad --recompile` it will do that, once to the terminal and a second time in an xmessage |
| 2022-08-02 23:51:04 | <geekosaur> | it's somewhat annoying but `xmonad --recompile` can't tell it's already displayed the error |
| 2022-08-02 23:51:28 | <geekosaur> | or that it hasn't already displayed it, if you mod-q |
| 2022-08-02 23:51:42 | <geekosaur> | can you also paste the full error message? |
| 2022-08-02 23:51:49 | <thyriaen> | sure |
| 2022-08-02 23:53:12 | <thyriaen> | actually |
| 2022-08-02 23:53:22 | <thyriaen> | that window is quite strange that pops up |
| 2022-08-02 23:53:27 | <thyriaen> | i don't know how to copy form that |
| 2022-08-02 23:53:33 | <thyriaen> | is there a logfile created from there ? |
| 2022-08-02 23:53:41 | <geekosaur> | xmonad.errors |
| 2022-08-02 23:54:22 | <thyriaen> | https://paste.tomsmeding.com/RKeC7o5v |
| 2022-08-02 23:54:29 | <geekosaur> | but you should be able to just swipe across the text in the xmessage window and it'll be selected |
| 2022-08-02 23:55:04 | <geekosaur> | oh, right. you need to use parentheses, $ is eating too much |
| 2022-08-02 23:55:31 | <thyriaen> | well we don't want $ to get overweight |
| 2022-08-02 23:55:34 | <geekosaur> | it's not magic and doesn't realize you intend it to only apply to gaps, not to everything before it |
| 2022-08-02 23:56:29 | <geekosaur> | (it's very low precedence, so tends to apply itself to everything both before and after it) |
| 2022-08-02 23:56:55 | <geekosaur> | gaps (combineTwo (TwoPane 0.03 0.5) (tabbedBottom shrinkText def) (tabbedBottom shrinkText def)) |
| 2022-08-02 23:56:56 | <geekosaur> | or |
| 2022-08-02 23:57:01 | <geekosaur> | (gaps $ combineTwo (TwoPane 0.03 0.5) (tabbedBottom shrinkText def) (tabbedBottom shrinkText def)) |
| 2022-08-02 23:57:15 | <thyriaen> | okay i fixed it |
| 2022-08-02 23:57:34 | <thyriaen> | the tabs are slightly larger than the windows |
| 2022-08-02 23:57:37 | <thyriaen> | because of the gaps |
| 2022-08-02 23:58:06 | <thyriaen> | and how do i use that window navigation the site reccomended ? |
| 2022-08-02 23:59:31 | <geekosaur> | https://paste.tomsmeding.com/DXElS4qU |
| 2022-08-02 23:59:47 | <geekosaur> | make sure to import XMonad.Layout.WindowNavigation |
| 2022-08-03 00:00:51 | <thyriaen> | ah nice thanks |
| 2022-08-03 00:00:58 | <geekosaur> | not the prettiest way to do it but it works |
| 2022-08-03 00:01:16 | <geekosaur> | I'd actually rearrange things a bit more to make it prettier |
| 2022-08-03 00:01:50 | <thyriaen> | is there a way to change the color and layout of the tabs itself ? and maybe make the overall lengh of the tabs smaller to fit the size of the windows ? |
| 2022-08-03 00:02:40 | <geekosaur> | https://paste.tomsmeding.com/RvrwgHgD |
| 2022-08-03 00:03:34 | <geekosaur> | easiest way to make the tabs fit the windows is to move the spacingRaw inside the combineTwo, but then you have to adjust the spacing parameters to avoid an extra-wide space down the middle |
| 2022-08-03 00:04:57 | <thyriaen> | ah ok nice |
| 2022-08-03 00:04:58 | <geekosaur> | the color can be changed by adding parameters to the `def` in the `tabbedBottom`; see the example `myTabConfig` in https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-Tabbed.html and look at the fields in `Theme` |
| 2022-08-03 00:06:52 | <thyriaen> | how can i move the windows with windownavigation enabled ? |
| 2022-08-03 00:06:53 | <geekosaur> | not sure what you mean by the layout |
| 2022-08-03 00:07:31 | <geekosaur> | there are some keybindings shown in https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-Combo.html |
| 2022-08-03 00:07:43 | <geekosaur> | (and more in the WindowNavigation docs) |
| 2022-08-03 00:08:30 | <geekosaur> | in this case U and D won't be helpful since they're side by side, but you can use the Move L and Move R keybindings to move windows between columns |
| 2022-08-03 00:09:29 | <thyriaen> | got a parseerror on gaps |
| 2022-08-03 00:09:30 | <thyriaen> | https://paste.tomsmeding.com/ZOzHLXFM |
| 2022-08-03 00:10:19 | <geekosaur> | it looks indented by one space? that would be taken as a continuation of doubleTabs, which would fail to parse |
| 2022-08-03 00:10:32 | <geekosaur> | (indented relative to doubleTabs) |
| 2022-08-03 00:10:43 | <thyriaen> | aha |
| 2022-08-03 00:10:43 | <geekosaur> | haskell really cares about its indentation |
| 2022-08-03 00:12:03 | <thyriaen> | still the same - |
| 2022-08-03 00:12:10 | <thyriaen> | ah i have to put gaps inside ? |
| 2022-08-03 00:12:19 | <thyriaen> | so gaps $ tabbedbottom ? |
| 2022-08-03 00:12:35 | <geekosaur> | yes |
| 2022-08-03 00:12:56 | <geekosaur> | and you'll find you need to change some of those 4s to 2s to keep the gaps from being doubled across the center |
| 2022-08-03 00:13:41 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::d5f2) (Ping timeout: 255 seconds) |
| 2022-08-03 00:14:22 | <thyriaen> | yea sure |
| 2022-08-03 00:15:23 | <thyriaen> | nope it still is the same |
| 2022-08-03 00:15:36 | <thyriaen> | tabs didnt shrink |
| 2022-08-03 00:16:07 | <thyriaen> | https://paste.tomsmeding.com/hrfg3B3s |
| 2022-08-03 00:16:50 | <geekosaur> | hm. I would have expected that to work |
All times are in UTC.