2025/01/02

2025-01-02 01:15:01 +0100 <haskellbridge> <rascasse> arf :/
2025-01-02 01:23:07 +0100 <haskellbridge> <rascasse> Im just curious to try anyway so I started with that config changes
2025-01-02 01:23:07 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/lCRUsklHUaiCXvpwqNrEAJtt/kF0H4ADItMU (12 lines)
2025-01-02 01:23:55 +0100 <haskellbridge> <rascasse> Im just curious to try anyway so I started with that config changes
2025-01-02 01:23:55 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/kwtVLdwVISIGtMkEKNxhKueJ/Px8t48T_5Rg (13 lines)
2025-01-02 01:32:33 +0100 <geekosaur> I am pretty sure it doesn't put screens on the "right" workspaces to begin with unless you intersperse the workspace names (use `transpose`) or you force the switch in `startupHook`
2025-01-02 01:32:34 +0100 <haskellbridge> <rascasse> Perhaps is it expected for this plugin to work to have multiple X screens, one by monitor?
2025-01-02 01:32:54 +0100 <geekosaur> no, xmonad doesn't support X screens at all
2025-01-02 01:36:39 +0100 <geekosaur> I thought maybe withScreens transposed them, but it doesn't so on startup you'd definitely get screen 0 workspaces on screen 1 unless there were exactly 1 workspace in the list
2025-01-02 01:37:27 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> ghci> import XMonad.Layout.IndependentScreens
2025-01-02 01:37:27 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/SqsQNKmHUBkcvqGMgKLjQQhM/-9U8-KdcSSY (3 lines)
2025-01-02 01:38:30 +0100 <haskellbridge> <rascasse> Im just curious to try anyway so I started with that config changes
2025-01-02 01:38:30 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/VMGcBnvYqBbUzvSUnadYpWlc/w7bMPOiKc_U (13 lines)
2025-01-02 01:40:19 +0100 <haskellbridge> <rascasse> Im just curious to try anyway so I started with that config changes
2025-01-02 01:40:20 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/heVihkEcBYgRyrwiCWmKdHct/EixbRH4RgRE (13 lines)
2025-01-02 01:43:06 +0100gauge(~gauge@user/gauge) (Remote host closed the connection)
2025-01-02 01:44:23 +0100gauge(~gauge@user/gauge) gauge
2025-01-02 01:46:06 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> ghci> concat (transpose [mainWs, secondaryWs])
2025-01-02 01:46:06 +0100 <haskellbridge> ["0_1","1_1","0_2","0_3","0_4"]
2025-01-02 01:53:13 +0100 <haskellbridge> <rascasse> for transpose I get "variable not in scope", which module I need to import?
2025-01-02 01:53:28 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> sorry, Data.List
2025-01-02 01:56:46 +0100 <haskellbridge> <rascasse> np, okay it works now
2025-01-02 01:57:12 +0100 <haskellbridge> <rascasse> I mean second screen get 1_1
2025-01-02 02:05:07 +0100L29Ah(~L29Ah@wikipedia/L29Ah) ()
2025-01-02 02:15:29 +0100gauge(~gauge@user/gauge) (Remote host closed the connection)
2025-01-02 02:18:07 +0100gauge(~gauge@user/gauge) gauge
2025-01-02 02:40:15 +0100 <haskellbridge> <rascasse> I changed the keybinds
2025-01-02 02:40:15 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/bONurRReFYlxvpyTtekRStLz/7Up8_zlSQGE (6 lines)
2025-01-02 02:41:09 +0100 <haskellbridge> <rascasse> it works on the secondary screen, while on main screen, I does not switch
2025-01-02 02:41:21 +0100 <haskellbridge> <rascasse> like the situation is inverted
2025-01-02 02:41:46 +0100 <haskellbridge> <rascasse> it works on the secondary screen, while on main screen, it wont switch
2025-01-02 02:43:50 +0100 <haskellbridge> <rascasse> not I declared the ws with "withScreen 1" for main, and "withScreen 2" for secondary
2025-01-02 02:43:55 +0100 <haskellbridge> <rascasse> * note
2025-01-02 02:44:07 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> okay, that's wrong; it starts at 0
2025-01-02 02:44:08 +0100 <haskellbridge> <rascasse> perhaps a matter of indexes?
2025-01-02 02:44:12 +0100 <haskellbridge> <rascasse> ah opk
2025-01-02 02:44:24 +0100 <haskellbridge> <rascasse> changing then
2025-01-02 02:45:45 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> if you paid attention, my examples above started at 0 as well
2025-01-02 02:46:46 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> ghci> openDisplay [] >>= getCleanedScreenInfo
2025-01-02 02:46:47 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/wOtlKxnflkoupwFqsLxENbOo/tjGgusI-vnM (3 lines)
2025-01-02 02:53:10 +0100 <haskellbridge> <rascasse> okay it works now!
2025-01-02 02:55:01 +0100 <haskellbridge> <rascasse> thx geekosaur !
2025-01-02 02:55:05 +0100 <haskellbridge> <rascasse> for the help
2025-01-02 02:55:10 +0100 <geekosaur> np
2025-01-02 03:14:05 +0100L29Ah(~L29Ah@wikipedia/L29Ah) L29Ah
2025-01-02 03:31:15 +0100 <haskellbridge> <rascasse> testing with the "Actions.OnScreen" approach
2025-01-02 03:31:15 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/nNnPHNlRhKhdIbiJsanFOAow/DUFXQ51GSX4 (8 lines)
2025-01-02 03:32:26 +0100 <haskellbridge> <rascasse> the only missing bit is how can I focus back the main screen (so first workspace on the list) after the switch in the startupHook ?
2025-01-02 03:33:17 +0100 <haskellbridge> <rascasse> I mean I can do it with "windows (viewOnScreen 0 "1")"
2025-01-02 03:33:55 +0100 <haskellbridge> <rascasse> but any "cleaner" solution? avoiding that unnecessary ws switch
2025-01-02 03:35:42 +0100ft(~ft@p3e9bc545.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
2025-01-02 03:35:47 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> the startupHook one should be something like "windows (onScreen (W.shift "whatever") FocusCurrent 1)". "viewOnScreen" focuses the new workspace, like "view" does
2025-01-02 03:36:43 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> (or equivalently it is "windows (onScreen (W.shift "whatever") FocusNew 1)", which is not what you want)
2025-01-02 03:37:16 +0100ft(~ft@p3e9bc62d.dip0.t-ipconnect.de) ft
2025-01-02 03:38:20 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> oh right, ""whatever"" is ""r"" in your case
2025-01-02 03:38:54 +0100 <haskellbridge> <rascasse> but "W.shift" is to move a given window to a given workspace right?
2025-01-02 03:39:07 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> whoops, right, you wanted "W.view"
2025-01-02 03:39:21 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> trying to do too many things at once, sorry
2025-01-02 03:39:57 +0100 <haskellbridge> <rascasse> np, yeah purpose is to first, focus the correct ws on screen 1; then focus back on screen 0
2025-01-02 03:40:08 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> oh, and there's a shortcut call for that too. "windows (onlyOnScreen 1 "r")"
2025-01-02 03:42:47 +0100 <haskellbridge> <rascasse> yup that's the trick thx
2025-01-02 03:48:20 +0100 <haskellbridge> <rascasse> Okay good
2025-01-02 03:48:20 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/tjOuUJyTytNwPYaeaamSYlTb/vUYfda1HrLQ (4 lines)
2025-01-02 03:49:14 +0100 <haskellbridge> <rascasse> any way to have it limited _by screen_, so only switching to ws used on the current screen?
2025-01-02 03:50:00 +0100 <haskellbridge> <rascasse> like https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Actions-CycleWorkspaceByScreen.html
2025-01-02 03:50:29 +0100 <haskellbridge> <rascasse> but sadly this module does not exposes a "toggleRecentWS" action
2025-01-02 03:50:35 +0100 <haskellbridge> <rascasse> * expose
2025-01-02 04:12:30 +0100 <haskellbridge> <rascasse> anyway I can fallback to "("M-<Tab>", cycleWorkspaceOnCurrentScreen [xK_Super_L] xK_h xK_l)"
2025-01-02 04:13:17 +0100 <haskellbridge> <rascasse> and repeat pressing Meta + Tab to switch back and forth btw 2 hot workspaces
2025-01-02 04:14:05 +0100 <haskellbridge> <rascasse> perhaps it could be improved by https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Actions-Repeatable.html
2025-01-02 04:14:35 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> "toggleWindowSets (filter (/= "r") . map tag . workspaces)"
2025-01-02 04:14:38 +0100 <haskellbridge> <rascasse> and repeat pressing Super + Tab to switch back and forth btw 2 hot workspaces
2025-01-02 04:15:01 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> hm, not quite
2025-01-02 04:17:27 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> "toggleWindowSets (recentWS ((/= "r") . W.tag)"
2025-01-02 04:20:01 +0100 <haskellbridge> <rascasse> yeaa it works! thx
2025-01-02 04:37:14 +0100 <haskellbridge> <rascasse> what's the best solution to customize the default layout of a specific workspace?
2025-01-02 04:39:42 +0100 <haskellbridge> <rascasse> probably Layout.PerWorkspace
2025-01-02 04:39:47 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> yes
2025-01-02 04:44:18 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L178-L185
2025-01-02 04:45:23 +0100 <haskellbridge> <rascasse> yea I have it
2025-01-02 04:48:40 +0100 <haskellbridge> <rascasse> okay one limitation I see now, is when Im on the 2nd screen on the "r" workspace, where is currently my element chat window
2025-01-02 04:48:42 +0100 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/OMejEpWxWXdEvxGVqNSIcKvc/eY8aXcTQ65k (4 lines)
2025-01-02 04:49:23 +0100 <haskellbridge> <rascasse> note this only happen when my browser ws is not focused on main screen
2025-01-02 04:49:29 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> that, sadly, is not something we are doing
2025-01-02 04:49:38 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> browsers do that
2025-01-02 04:50:37 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> the best you can do about that is https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-EwmhDesktops.html#v:se… to prevent the browser from switching workspaces by itself when it wants to grab focus
2025-01-02 04:51:21 +0100 <haskellbridge> <rascasse> do the IndepentScreens approach would solve that?
2025-01-02 04:51:22 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> mm, maybe it's possible to write an alternative "doFocus"
2025-01-02 04:51:35 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> no, the browser will still insist on wrecking your setup
2025-01-02 04:51:51 +0100 <haskellbridge> <rascasse> okok
2025-01-02 04:51:51 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> they get more and more in your face all the time, I'm afraid
2025-01-02 04:58:19 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> hm. "doFocusOn0 = ask >>= \w -> doF (onScreen (W.focusWindow w) FocusNew 0)"
2025-01-02 05:00:00 +0100 <haskellbridge> <rascasse> sorry where Im supposed to put that? xD
2025-01-02 05:00:47 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> "setEwmhActivateHook doFocusOn0" (see https://hackage.haskell.org/package/xmonad-contrib-0.18.1/docs/XMonad-Hooks-EwmhDesktops.html#g:5)
2025-01-02 05:03:07 +0100 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> although this won't quite work if the window demanding focus is your element window. see the example for preventing Chrome from stealing focus for how to deal with that
2025-01-02 05:53:26 +0100 <haskellbridge> <rascasse> thx again, it works great so far
2025-01-02 08:42:21 +0100coldpress(~coldpress@72.136.212.35.bc.googleusercontent.com) (Ping timeout: 246 seconds)
2025-01-02 09:10:52 +0100 <Solid> liskin: the stickers arrived today, so at least now we know they didn't get lost
2025-01-02 09:10:56 +0100 <Solid> The package seems to have been opened (by customs?) but nothing is missing
2025-01-02 09:19:31 +0100 <liskin> How do you know if was opened?
2025-01-02 09:19:42 +0100 <liskin> Maybe it's just my bad packing skills
2025-01-02 09:51:44 +0100 <Solid> There was a cut along the entire left side, with some DHL tape to patch it up
2025-01-02 09:52:11 +0100 <Solid> I guess that could have been you, though :)
2025-01-02 10:00:08 +0100 <liskin> Oh okay that actually wasn't me
2025-01-02 11:08:54 +0100weitcis(~quassel@s-149-142-31-81.resnet.ucla.edu)
2025-01-02 14:42:30 +0100Digit(~user@user/digit) (Ping timeout: 246 seconds)
2025-01-02 14:44:13 +0100McManiaC(~McManiaC@2a01:4f8:c17:ec59::1) McManiaC
2025-01-02 14:45:43 +0100 <McManiaC> hey, does anyone know how to get individual monitor resolutions/positions in a multi screen setup? the `Screen` item just contains the total dimensions
2025-01-02 14:56:24 +0100 <geekosaur> that sounds like either misconfigured xrandr (mirror mode) or built without xinerama
2025-01-02 14:57:13 +0100 <geekosaur> ghci> openDisplay [] >>= getCleanedScreenInfo
2025-01-02 14:57:13 +0100 <geekosaur> [Rectangle {rect_x = 2560, rect_y = 0, rect_width = 2880, rect_height = 1920},Rectangle {rect_x = 5440, rect_y = 0, rect_width = 2560, rect_height = 1440},Rectangle {rect_x = 0, rect_y = 0, rect_width = 2560, rect_height = 1440}]
2025-01-02 14:57:39 +0100 <geekosaur> (from a `cabal repl` in my xmonad config dir)
2025-01-02 14:58:59 +0100 <geekosaur> if you use stack, that'll be `stack ghci`
2025-01-02 15:15:53 +0100rekahsoft(~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca) rekahsoft
2025-01-02 16:27:10 +0100rekahsoft(~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca) (Remote host closed the connection)
2025-01-02 20:29:09 +0100rekahsoft(~rekahsoft@76.69.85.220) rekahsoft
2025-01-02 20:33:13 +0100chris_on_linux(~user@2a02:2149:861e:b700:224e:f6ff:fe4a:8927) chris_on_linux
2025-01-02 20:33:59 +0100 <chris_on_linux> Hi everybody!
2025-01-02 20:34:03 +0100 <chris_on_linux> Happy new year
2025-01-02 20:34:47 +0100 <chris_on_linux> I wanted to ask; have you tried how well status bars other than xmobar work with xmonad?
2025-01-02 20:40:22 +0100chris_on_linux(~user@2a02:2149:861e:b700:224e:f6ff:fe4a:8927) (ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4))
2025-01-02 20:47:25 +0100OftenFaded(~OftenFade@user/tisktisk) OftenFaded
2025-01-02 20:54:43 +0100catman(~catman@user/catman) (Quit: WeeChat 4.5.1)
2025-01-02 20:57:35 +0100catman(~catman@user/catman) catman
2025-01-02 21:05:32 +0100 <geekosaur> didn't stick around very long, did they?
2025-01-02 21:55:24 +0100Digit(~user@user/digit) Digit
2025-01-02 22:28:37 +0100Digitteknohippie(~user@user/digit) Digit
2025-01-02 22:30:19 +0100Digit(~user@user/digit) (Ping timeout: 260 seconds)
2025-01-02 22:41:55 +0100Digitteknohippie(~user@user/digit) (Ping timeout: 252 seconds)
2025-01-02 23:28:52 +0100Digit(~user@user/digit) Digit