Logs on 2023-01-25 (liberachat/#xmonad)
| 00:01:03 | <georgesboris[m]> | yeah... I just run that and it's the best I've ever gotten but it is still weird. I'll do a deep dive into how xmonad deals with multi monitors because that is at least part of the weirdness. |
| 00:01:33 | <georgesboris[m]> | however, I've also noticed that the wallpaper on one of the monitors is being drawn on top of unfocused windows. |
| 00:02:24 | <georgesboris[m]> | kinda of like xmonad is just reordering the z-axis of windows to make them appear or not but since my wallpaper is not the right ratio as the new monitor. |
| 00:02:37 | <georgesboris[m]> | thanks for the help! I will get there! one day... |
| 00:33:15 | × | td_ quits (~td@i53870917.versanet.de) (Ping timeout: 255 seconds) |
| 00:35:05 | → | td_ joins (~td@i53870917.versanet.de) |
| 00:41:40 | × | Lears quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 00:42:23 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 01:55:20 | → | sugarbeet joins (~barbas@2a00:d880:3:1::df17:eb0c) |
| 01:55:24 | ← | sugarbeet parts (~barbas@2a00:d880:3:1::df17:eb0c) () |
| 03:02:59 | × | banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 260 seconds) |
| 03:14:11 | <HB[m]> | Hi guys. What dimensions do I provide namedscratchpad to make it fullscreen? |
| 03:14:31 | <HB[m]> | `(noTaskbar <> customFloating (W.RationalRect (1/30) (1/30) (9/10) (9/10)))` This was my current setting |
| 03:15:00 | <HB[m]> | I also tried defaultFloating but that's not fullscreen apparently |
| 03:15:02 | <[Leary]> | 0 0 1 1? Probably. |
| 03:15:24 | <HB[m]> | -- 1/6 of screen width from the left, 1/6 of screen height |
| 03:15:24 | <HB[m]> | -- from the top, 2/3 of screen width by 2/3 of screen height |
| 03:15:31 | <HB[m]> | Hi |
| 03:15:46 | <HB[m]> | How exactly are these dimensions specified? Does it have to be fractions? |
| 03:17:31 | <HB[m]> | [Leary]: I see, thanks! |
| 03:17:47 | <[Leary]> | > [0, 1, 1/2, 0.5] :: [Rational] |
| 03:17:49 | <lambdabot> | [0 % 1,1 % 1,1 % 2,1 % 2] |
| 03:17:59 | <HB[m]> | I see |
| 03:18:02 | <[Leary]> | They print funny, but you can write `Rational`s like any other number. |
| 03:18:14 | <HB[m]> | It takes over the panels, though. |
| 03:18:39 | <HB[m]> | * panels, though. Is there a way to prevent it from doing that? I'd like the kde panels and xmobar etc. to remain visible. |
| 03:24:30 | → | banc joins (banc@gateway/vpn/protonvpn/banc) |
| 03:25:56 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 03:29:14 | <HB[m]> | I guess I'll have to resize it somehow to be between the top and bottom panels. |
| 03:30:15 | <[Leary]> | HB[m]: I'm not that familiar with bars/struts, but it looks like you can hack something up with `X.H.ManageDocks.calcGap`. |
| 03:47:54 | × | td_ quits (~td@i53870917.versanet.de) (Ping timeout: 260 seconds) |
| 03:49:24 | → | td_ joins (~td@i53870930.versanet.de) |
| 03:54:34 | <[Leary]> | HB[m]: I took a stab at it: https://gist.github.com/LSLeary/72add95f8bbc16c9362d85dd8680cba5 |
| 04:07:07 | × | rundown quits (~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb) (Ping timeout: 248 seconds) |
| 04:25:55 | <HB[m]> | Oh wow, thank you so much! |
| 04:26:07 | <HB[m]> | Let me try to make sense out of this one |
| 04:28:49 | HB[m] | sent a haskell code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/a88631105ff9c0e5204afba1aefffcfbb2c9e063 |
| 04:31:19 | <HB[m]> | So first define a function called strutlessRR, takes set Diretion2D and produces X rationalrect |
| 04:32:07 | <HB[m]> | then do |
| 04:32:07 | <HB[m]> | calculate Gap and haskell sytnax is so alien to me always. I gotta look up arrow |
| 04:36:49 | <HB[m]> | * Then run calcGap and put it into ds (or calc) |
| 04:36:49 | <HB[m]> | Then SD rect gets screen detail from current screen in the current window set |
| 04:36:49 | <HB[m]> | Then calc rectangle |
| 04:36:49 | <HB[m]> | Then strutless floating function, and passin the strutlessRR function into the customFloating |
| 04:37:01 | <HB[m]> | I gotta learn haskell one day, after exams. |
| 04:37:48 | <HB[m]> | `(W.RationalRect 0 (18/1080) 1 (1041/1080)))` BTW, I was also able to do this. |
| 04:37:48 | <HB[m]> | I figured specify actual pixel specific positioning for my mysetup |
| 06:34:57 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds) |
| 06:41:45 | × | banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 256 seconds) |
| 06:49:54 | <xmonadtrack> | xmonad-contrib Tony Zorman * v0.17.1-125-g49904ec4: X.U.NamedScratchpad: Fix typo in exclusive docs (89 seconds ago, 1 file, 4+ 3-) https://github.com/xmonad/xmonad-contrib/commit/49904ec4d3a7 |
| 07:55:51 | → | banc joins (banc@gateway/vpn/protonvpn/banc) |
| 08:00:05 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 09:04:17 | × | ft quits (~ft@p4fc2a257.dip0.t-ipconnect.de) (Quit: leaving) |
| 10:44:30 | → | rundown joins (~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb) |
| 11:16:22 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 12:08:13 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 12:14:47 | → | qbt joins (~qbt@user/edun) |
| 12:17:14 | × | qbt quits (~qbt@user/edun) (Client Quit) |
| 12:17:29 | → | qbt joins (~qbt@user/edun) |
| 12:17:50 | × | qbt quits (~qbt@user/edun) (Client Quit) |
| 12:18:05 | → | qbt joins (~qbt@user/edun) |
| 12:22:34 | × | qbt quits (~qbt@user/edun) (Client Quit) |
| 12:22:50 | → | qbt joins (~qbt@user/edun) |
| 12:25:25 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 13:15:19 | <T_X> | is there a way to convert a KeySym to a KeyMask? I'm thinking about only using the left Alt key instead of both Alt + AltGr, if that's possible |
| 13:16:24 | <T_X> | (and hoogle seems to fail me, unless I'm overlooking something: https://hoogle.haskell.org/?q=words&hoogle=KeySym%20-%3E%20KeyMask) |
| 13:22:42 | → | thyriaen joins (~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1) |
| 13:23:19 | <thyriaen> | Could you do something to reach out to fedora from a xmonad dev point of view and ask for inclusion of xmonad-0.17.1 in fedora38 ? |
| 13:27:11 | <thyriaen> | otherwise i don't know how to get the newest version running on f36/f37 |
| 13:38:41 | <[Leary]> | T_X: That's a matter of keyboard (xkb or xmodmap) configuration. You want to exclude AltGr from the modifier mask it shares with Alt. |
| 13:50:31 | <T_X> | [Leary]: ok, thanks! was hoping to avoid that, but will do that with xmodmap then, I guess. would be nice, if ~/.config/xkb/symbols/... worked on X11, too and not only on Wayland :) |
| 13:58:11 | <T_X> | hm, I get a strange error with xmodmap though: https://paste.linuxlounge.net/54 |
| 14:06:49 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 252 seconds) |
| 14:19:55 | <geekosaur> | T_X, I think it's just that the xkb stuff in X11 was never updated to use XDG paths. |
| 14:20:17 | <geekosaur> | The dotfiles for X11 xkb just go right in ~ |
| 15:52:42 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 16:00:06 | × | unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle) |
| 16:42:33 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 16:58:55 | <thyriaen> | how can i install xmonad in a different way other than from my distro ? |
| 16:59:10 | → | unclechu joins (~unclechu@2001:470:69fc:105::354) |
| 17:01:57 | <geekosaur> | https://xmonad.org/INSTALL.html#download-xmonad-sources |
| 17:02:10 | <thyriaen> | should i use stack ? |
| 17:02:15 | <thyriaen> | or cabal ? |
| 17:02:29 | <geekosaur> | stack vs., cabal is up to you; the installation guide explains both |
| 17:02:42 | <thyriaen> | i don't know what the difference is |
| 17:02:54 | <geekosaur> | I personally use cabal, but I think the other maintainers all use stack |
| 17:03:12 | <thyriaen> | ok |
| 17:03:46 | <geekosaur> | they're pretty much the same if you're working from git. they differ more if you use xmonad from stackage (stack) or hackage (cabal) |
| 17:04:37 | <geekosaur> | stack believes in curated sets of packages which may be somewhat out of date but are tested to work together; cabal works with the most recent compatible packages on hackage directly |
| 17:10:47 | <thyriaen> | geekosaur, ah but both can be used with git so then it doesn't matter ? |
| 17:11:00 | <geekosaur> | right |
| 17:11:06 | <thyriaen> | i understand thanks |
| 17:11:08 | <thyriaen> | i will try |
| 17:11:47 | <geekosaur> | either by cloning it locally or by pointing it to a git refspec via `stack.yaml` / `cabal.project` |
| 17:11:59 | <thyriaen> | the guide clones it |
| 17:12:12 | <geekosaur> | yes, I saw. |
| 17:12:48 | <geekosaur> | I clone it locally as well, but I',m a developer so I may be testing stuff on a branch that I'll eventually push and make a PR from |
| 17:14:34 | <geekosaur> | there's also an option not shown there: if you don't want to track git but want the latest release version, you can use minimally configured stack/cabal to get the most recent release from stackage/hackage |
| 17:20:29 | × | qbt quits (~qbt@user/edun) (Ping timeout: 260 seconds) |
| 17:43:28 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 17:44:26 | × | jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat) |
| 17:45:44 | → | jeeeun joins (~jeeeun@78.40.148.178) |
| 18:13:54 | → | qbt joins (~qbt@user/edun) |
| 18:17:12 | × | jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat) |
| 18:20:32 | → | jeeeun joins (~jeeeun@78.40.148.178) |
| 18:31:08 | × | tv quits (~tv@user/tv) (Quit: derp) |
| 18:31:35 | → | tv joins (~tv@user/tv) |
| 18:44:26 | × | hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 18:47:34 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 18:50:25 | <thyriaen> | geekosaur, that would be ideal - is there a guide you can point me to where this is explained ? |
| 18:51:22 | <geekosaur> | just put dependencies in your cabal file and stack or cabal will fetch them |
| 18:51:39 | <geekosaur> | you still need a stack.yaml but it'll only specify a resolver |
| 18:51:53 | <thyriaen> | geekosaur, i have no experience with cabal |
| 18:55:46 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/skkukuk/xmonad-bsa.cabal but you won't need unix, dbus, or utf8-string (I need those because my xmonad config talks over dbus to mate-panel) |
| 18:56:30 | <geekosaur> | although this is a more complete cabal config than the INSTALL.html uses, partly because of the dbus stuff and partly so HLS works with my xmonad config |
| 18:57:23 | <geekosaur> | if you use this directly you'll need a build script (https://github.com/geekosaur/xmonad.hs/blob/skkukuk/build) |
| 18:58:38 | × | rundown quits (~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb) (Ping timeout: 246 seconds) |
| 19:02:07 | → | ft joins (~ft@p4fc2a257.dip0.t-ipconnect.de) |
| 19:09:03 | <geekosaur> | hm, actually INSTALL.html says how to do this simply without actually saying so. skip the git checkout and skip creating `cabal.project` |
| 19:09:36 | <geekosaur> | start at "Install everything" |
| 19:10:30 | <geekosaur> | then you don't need the build script or cabal file (the package-env options do what's needed for it to find them) |
| 19:15:49 | → | zxrenpbjr[m] joins (~zxrenpbjr@2001:470:69fc:105::2:fce6) |
| 20:01:35 | × | qbt quits (~qbt@user/edun) (Ping timeout: 260 seconds) |
| 20:02:07 | × | telser quits (~quassel@user/telser) (Ping timeout: 252 seconds) |
| 20:03:16 | → | telser joins (~quassel@user/telser) |
| 20:03:26 | <xmonadtrack> | xmonad-contrib Tony Zorman * v0.17.1-123-g0afbbf91: X.U.EZConfig: Add remapKeysP (5 days ago, 2 files, 40+ 0-) https://github.com/xmonad/xmonad-contrib/commit/0afbbf9129cc |
| 20:03:26 | <xmonadtrack> | xmonad-contrib Tony Zorman {GitHub} * v0.17.1-127-g33c1e242: Merge pull request #794 from slotThe/ezconfig/remapkeysp (31 seconds ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/33c1e242881e |
| 20:08:45 | <geekosaur> | wrt that, how would people feel about changing xmonad's key mapping stuff to use `data Keymap = Submap (Maybe String) (Map (KeyMask,KeySym) Keymap) | Action (Maybe String) (X ())` (or maybe factor the `Maybe String` out) |
| 20:08:56 | <geekosaur> | after xmonad 1.0 |
| 20:10:43 | <geekosaur> | the Maybe String would allow mod-shift-/ to show the actual keymap with optional key grouping |
| 20:12:55 | <geekosaur> | (just spitballing right now) |
| 20:32:24 | × | telser quits (~quassel@user/telser) (Ping timeout: 260 seconds) |
| 20:32:28 | → | telser_ joins (~quassel@user/telser) |
| 21:18:27 | × | Forkk_ quits (~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
| 21:18:55 | → | Forkk joins (~forkk@li926-228.members.linode.com) |
| 21:43:00 | → | rundown joins (~defjam@2a02:c7e:2807:b900:6c7a:2207:d06b:87cb) |
| 22:00:47 | <liskin> | what's the benefit of having that in the core rather than a contrib module that tells core the raw mappings? |
| 22:03:54 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1) (Remote host closed the connection) |
| 22:12:01 | <geekosaur> | the problems with handling `Submap`s when combining `remapKeysP` with `additionalKeysP`, or with remapping something in a `Submap` |
| 22:12:26 | <geekosaur> | see discussion in the `remapKeysP` PR |
| 22:43:00 | → | habib joins (~habib@78-110-166-168.as42831.net) |
All times are in UTC on 2023-01-25.