Logs: liberachat/#xmonad
| 2023-01-01 21:29:33 | <geekosaur> | interesting, I wonder if they changed the syntax in later versions (I'm running a very early one that still calls itself compton) |
| 2023-01-01 21:30:45 | <geekosaur> | `override_redirect@:` means match override-redirect windows without frames; the colon is reported by the documentation to be required, and is normally followed by a type but built-in things like override_redirect don't have types |
| 2023-01-01 21:32:40 | <thyriaen> | i see |
| 2023-01-01 21:32:42 | <geekosaur> | I may have missed part of it, also |
| 2023-01-01 21:33:18 | <geekosaur> | picom configuration is fairly complicated |
| 2023-01-01 21:33:19 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2023-01-01 21:33:21 | <thyriaen> | https://wiki.archlinux.org/title/Picom_ well here i got the syntax from |
| 2023-01-01 21:33:57 | <thyriaen> | since i have an array for the focus-exclude in my config file i decided better not mess with it and use it as argument |
| 2023-01-01 21:34:15 | <thyriaen> | hang on |
| 2023-01-01 21:34:31 | <thyriaen> | geekosaur, does that mean that polybar will also not have a shadow ? |
| 2023-01-01 21:34:34 | <geekosaur> | I just dug through maim and the slop library it uses for selection, and it sets no properties on the selection window |
| 2023-01-01 21:34:51 | <thyriaen> | also rofi lost it's shadow :/ |
| 2023-01-01 21:34:53 | <thyriaen> | but i want it |
| 2023-01-01 21:35:13 | <geekosaur> | then you have a problem because there's no properties to match against |
| 2023-01-01 21:35:23 | <geekosaur> | although, hm… |
| 2023-01-01 21:39:31 | <geekosaur> | override_redirect = true && !_NET_WM_WINDOW_TYPE:32a |
| 2023-01-01 21:39:55 | <geekosaur> | hopefully that matches override-redirect windows that don't have a window type set |
| 2023-01-01 21:40:24 | <thyriaen> | what is the type 32a ? |
| 2023-01-01 21:40:32 | <geekosaur> | 32-bit atom |
| 2023-01-01 21:40:44 | <thyriaen> | i will try it real quick :p |
| 2023-01-01 21:40:55 | <geekosaur> | you can use xlsatoms to see the defined atoms |
| 2023-01-01 21:41:10 | <geekosaur> | the "32" should be optional since it's the default size of atoms |
| 2023-01-01 21:41:58 | <thyriaen> | i think something has to be escaped |
| 2023-01-01 21:42:37 | <thyriaen> | unfortunately rofi still has no shadow |
| 2023-01-01 21:42:48 | <thyriaen> | i escaped the \1 |
| 2023-01-01 21:42:50 | <thyriaen> | \! |
| 2023-01-01 21:43:01 | <geekosaur> | oh, yes, some shells will require that |
| 2023-01-01 21:43:25 | <geekosaur> | I set stuff in the config file so I don't have to worry about shell issues |
| 2023-01-01 21:44:02 | <thyriaen> | my rofi window also doesnt have a window type |
| 2023-01-01 21:44:13 | <geekosaur> | you would have to xprop rofi to find out what properties it has that we might check for |
| 2023-01-01 21:44:16 | <thyriaen> | can we do the same approach but use wm_class ? |
| 2023-01-01 21:44:45 | <geekosaur> | sure, use !WM_CLASS:s instead of !_NET_WM_WINDOW_TYPE:32a |
| 2023-01-01 21:45:12 | <thyriaen> | xD |
| 2023-01-01 21:45:15 | <thyriaen> | turns out |
| 2023-01-01 21:45:22 | <thyriaen> | this maim border has a wm_class |
| 2023-01-01 21:45:42 | <thyriaen> | but rofi now has a shadow again but so does the border |
| 2023-01-01 21:45:45 | <geekosaur> | hm, I couldn't find any properties being set on the window |
| 2023-01-01 21:46:09 | <geekosaur> | !WM_NAME:s maybe? |
| 2023-01-01 21:46:36 | <thyriaen> | werks |
| 2023-01-01 21:46:49 | <thyriaen> | neat ! thanks |
| 2023-01-01 21:46:52 | <thyriaen> | one more question |
| 2023-01-01 21:48:03 | <thyriaen> | i know this is out of scope of this channel but, i have rounded rounded corners in rofi -- however picom things these rounded transparent corners in rofi "still exsists" so it draws the shadow around this imaginary squared off window |
| 2023-01-01 21:48:28 | <thyriaen> | that is an exceptionally bad description |
| 2023-01-01 21:49:52 | <geekosaur> | --detect-rounded-corners? |
| 2023-01-01 21:49:57 | <thyriaen> | already active |
| 2023-01-01 21:50:19 | <geekosaur> | that saitd it looks from the docs I have that there is no actual solution, the best you can do is just disable shadows for those windows |
| 2023-01-01 21:50:43 | <geekosaur> | --shadow-ignore-shaped |
| 2023-01-01 21:51:22 | <thyriaen> | i think a better workaround would be to make it squared and let picom do the rounding of the corners |
| 2023-01-01 21:51:37 | <thyriaen> | https://paste.tomsmeding.com/XYCNiCrq |
| 2023-01-01 21:51:52 | <thyriaen> | maybe you find an improvement that wokrs around this issue |
| 2023-01-01 21:53:01 | <geekosaur> | like I said, I have a very early version of picom. it doesn't know how to round corners itself |
| 2023-01-01 21:53:11 | <thyriaen> | ah ok |
| 2023-01-01 21:53:16 | <thyriaen> | well thanks for your help anyways |
| 2023-01-01 21:53:21 | <thyriaen> | fixed my main issue :p |
| 2023-01-01 22:21:36 | Lin[m] | is now known as Chilli[m] |
| 2023-01-01 22:50:59 | × | de-vri-es quits (~de-vri-es@voyager.de-vri.es) (Quit: Bathrobe!) |
| 2023-01-01 22:51:28 | → | de-vri-es joins (~de-vri-es@voyager.de-vri.es) |
| 2023-01-01 22:57:12 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:4bae:6245:cbff:fe9f:48b1) (Quit: Leaving) |
| 2023-01-01 23:00:16 | → | defjam joins (~defjam@2a02:c7e:2807:b900:f093:37cf:2efc:6f2b) |
| 2023-01-02 00:10:16 | × | defjam quits (~defjam@2a02:c7e:2807:b900:f093:37cf:2efc:6f2b) (Quit: WeeChat 3.7.1) |
| 2023-01-02 02:39:19 | × | tremon quits (~tremon@83-85-213-108.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 2023-01-02 03:03:59 | × | banc quits (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 260 seconds) |
| 2023-01-02 03:15:40 | × | td_ quits (~td@83.135.9.35) (Ping timeout: 260 seconds) |
| 2023-01-02 03:17:08 | → | td_ joins (~td@83.135.9.63) |
| 2023-01-02 03:24:04 | → | banc joins (banc@gateway/vpn/protonvpn/banc) |
| 2023-01-02 04:06:57 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Quit: Lost terminal) |
| 2023-01-02 04:15:07 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2023-01-02 04:19:22 | → | defjam joins (~defjam@2a02:c7e:2807:b900:2821:cf47:1533:6089) |
| 2023-01-02 04:44:47 | × | de-vri-es quits (~de-vri-es@voyager.de-vri.es) (Ping timeout: 260 seconds) |
| 2023-01-02 04:56:10 | → | Janoo joins (~username@c-bc15225c.010-598-73746f7.bbcust.telenor.se) |
| 2023-01-02 04:57:23 | <Janoo> | I am trying to remap the M-{w,e,r} keybindings to M-{u,i,o}. I found this line online which supposedly should take care of that |
| 2023-01-02 04:57:27 | <Janoo> | ((m .|. modm, key), screenWorkspace sc >>= flip whenJust (windows . f)) | (key, sc) <- zip [xK_u, xK_i, xK_o] [0..] , (f, m) <- [(W.view, 0), (W.shift, shiftMask)] |
| 2023-01-02 04:57:44 | <Janoo> | I added it to my additionalKeys |
| 2023-01-02 04:58:03 | <Janoo> | but I get an error when I recompile |
| 2023-01-02 04:59:17 | <Janoo> | the error is: error: parse error on input ‘|’ |
| 2023-01-02 04:59:50 | <Janoo> | it refers to the | that is before (key,sc) |
| 2023-01-02 05:00:58 | <Janoo> | Any suggestions on how to solve this? |
| 2023-01-02 05:03:26 | → | de-vri-es joins (~de-vri-es@voyager.de-vri.es) |
| 2023-01-02 05:23:18 | <HB[m]> | ... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/f0495deb2282f44fa57dc62244b0628f78eba51e>) |
| 2023-01-02 05:23:25 | <HB[m]> | * ```haskell... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/39fcd62399b6d3646b775a537487446a5404e53f>) |
| 2023-01-02 05:24:23 | <HB[m]> | `additionalKeys`... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/38b026b48fac1ad83b3d9b2e9c28910d7f8ef0f4>) |
| 2023-01-02 05:24:34 | <HB[m]> | * ```haskell... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/694971ea631b8b3ee1f05ed882889b8194f2d278>) |
| 2023-01-02 05:25:31 | <HB[m]> | * ```haskell... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/23279897d9855acc54bef5e5488d581449d58777>) |
| 2023-01-02 05:25:46 | <HB[m]> | * ```haskell... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/9c4a645870362658749b5121896b6ad60145afa0>) |
| 2023-01-02 05:28:44 | <HB[m]> | * ```haskell... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/803c664819f31165a75cb4bef5184e1730f3794f>) |
| 2023-01-02 05:29:48 | <HB[m]> | * ```haskell... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/0395444a9c252a48549767f006d2f04f35454a3b>) |
| 2023-01-02 05:31:59 | <HB[m]> | `[xK_F1..xK_F2]` means F1 through to ... F2. |
| 2023-01-02 05:31:59 | <HB[m]> | You can specify `[xK_u, xK_i, xK_o]` instead and make it 3 keys only which will handle 0...2 IIRC |
| 2023-01-02 05:49:13 | <HB[m]> | * ```haskell... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/9bca27b4d333838c77af3a295590afa653d518c5>) |
| 2023-01-02 05:54:09 | <Janoo> | I added the block you suggested, commented out all the previous addiotionalKeys I had; and I am getting the following error HB[m] |
| 2023-01-02 05:54:24 | <Janoo> | Not in scope: ‘W.shift’ |
| 2023-01-02 05:54:25 | <Janoo> | No module named ‘W’ is imported. |
| 2023-01-02 05:54:52 | <HB[m]> | `import qualified XMonad.StackSet as W` |
| 2023-01-02 05:54:52 | <HB[m]> | put this on top of file |
| 2023-01-02 05:56:38 | <Janoo> | • Couldn't match type ‘XConfig l0 -> KeyMask’ |
| 2023-01-02 05:56:38 | <Janoo> | with ‘Foreign.C.Types.CUInt’ |
| 2023-01-02 05:56:38 | <Janoo> | Expected: KeyMask |
| 2023-01-02 05:56:38 | <Janoo> | Actual: XConfig l0 -> KeyMask |
| 2023-01-02 05:56:38 | <Janoo> | • Probable cause: ‘modMask’ is applied to too few arguments |
| 2023-01-02 05:56:41 | <Janoo> | In the second argument of ‘(.|.)’, namely ‘modMask’ |
All times are in UTC.