2025/01/02

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