!AKwxjnkeiUWtAsmjRA:matrix.org

xmonad

80 Members
xmonad is a dynamically tiling X11 window manager that is written and configured in Haskell | http://xmonad.org | http://xmonad.org/faq | cheatsheet: http://bit.ly/gz1R428 Servers

Load older messages


SenderMessageTime
31 May 2020
@vuimuich:matrix.orgvuimuichcool, after switching to polybar-git even the label-empty is working 😁15:24:28
@vuimuich:matrix.orgvuimuichis it possible, that with ewmh some other funktions (like FN keys for backlight, audio etc.) automatically also started to work?16:18:28
3 Jun 2020
@karola:kde.orgkarola 22:45:34
5 Jun 2020
@rewritable.me:matrix.orgrw joined the room.18:39:11
9 Jun 2020
@gcoakes:matrix.orggcoakes joined the room.01:26:42
@gcoakes:matrix.orggcoakesHey, I'm hoping someone here can help me to understand xmonad's structure a bit. I wrote an instance of LayoutClass which was supposed to run a different layout based upon whether the monitor is portrait or landscape, but some of the decorations from those sub-layouts are sticking around when they shouldn't be there.01:39:45
@gcoakes:matrix.orggcoakes

Well, never mind. I think I solved it by implementing doLayout in addition to runLayout. Here's the instance, if anyone is interested:

data EitherRatio p l a = EitherRatio (p a) (l a)
deriving (Show, Read)

instance (LayoutClass p a, LayoutClass l a) => LayoutClass (EitherRatio p l) a where
runLayout (W.Workspace i (EitherRatio p l) ms) r@(Rectangle rx ry rw rh)
  | rw < rh = do
      (lrs, newP) <- runLayout (W.Workspace i p ms) r
      return (lrs, fmap (`EitherRatio` l) newP)
  | rw >= rh = do
      (lrs, newL) <- runLayout (W.Workspace i l ms) r
      return (lrs, fmap (EitherRatio p) newL)

doLayout (EitherRatio p l) r@(Rectangle rx ry rw rh) s
  | rw < rh = do
      (lrs, newP) <- doLayout p r s
      return (lrs, fmap (`EitherRatio` l) newP)
  | rw >= rh = do
      (lrs, newL) <- doLayout l r s
      return (lrs, fmap (EitherRatio p) newL)

handleMessage (EitherRatio p l) msg = do
  mp <- handleMessage p msg
  ml <- handleMessage l msg
  return $ case (mp, ml) of
    (Just np, Just nl) -> Just $ EitherRatio np nl
    (Just np, Nothing) -> Just $ EitherRatio np l
    (Nothing, Just nl) -> Just $ EitherRatio p nl
    _                  -> Nothing

description (EitherRatio p l) =
  "[ " ++ description p ++ " | " ++ description l ++ " ]"
01:59:08
@toni:chat.weho.sttoni joined the room.23:43:46
13 Jun 2020
@brenda:nerdsin.spacebrenda 18:48:20
@tymoteusz:junta.pl@tymoteusz:junta.pl left the room.19:45:44
15 Jun 2020
@emmanuelrosa:matrix.orgemmanuelrosa joined the room.14:19:06
@emmanuelrosa:matrix.orgemmanuelrosaHello, I've been having a weird issue with xmonad lately. It spontenously stops responding to the keyboard shortcuts. My default layout is "Full" and I've noticed that when this mysterious problem occurs, if I close the visible window (using the application's quit/exit function) then no other existing windows are shown. It's like they don't get mapped anymore. The only way I've figured out to get things working again (for a while) is to CTRL-ALT-F1, log in, and kill the xmonad process. Any troubleshooting tips?14:27:33
@mrossinek:matrix.orgmrossinekHey all! I recently got a new work laptop with Fedora running and set up XMonad on it to make it feel more like home :) Usually, I don't use a DE but in this scenario I am bound to using GNOME sessions. I found quite some suggestions online on how to make quitting XMonad (M+S+q) actually quit the gnome session. But they all seem quite out-of-date and I cannot get it to work. I keep observing the error that the DBus device "logout" is not "activatable". Does anyone have a hint for me on how to resolve this?17:12:38
@richy:tchncs.derichy 15:39:14
20 Jun 2020
@albert:matrix.kiwifarms.netalbert 21:49:07
@patrice:tomesh.netpatrice 22:36:16
22 Jun 2020
@attocell:matrix.orgyoctocell joined the room.07:02:56
@igor:ru-matrix.orgigor joined the room.21:48:52
@anne:netzgemeinde.euanne 21:55:06
23 Jun 2020
@ronald:riotchat.deronald 19:07:59
@ada:matrix.allmende.ioada 19:44:46
25 Jun 2020
@msiedlaczek:matrix.orgmsiedlaczek joined the room.17:34:08
@louis:poddery.comlouis joined the room.22:50:40
27 Jun 2020
@gcoakes:matrix.orggcoakes changed their profile picture.20:05:15
30 Jun 2020
@khorser:matrix.org@khorser:matrix.org joined the room.08:56:06
@khorser:matrix.org@khorser:matrix.org left the room.08:56:19
1 Jul 2020
@boris:sibnsk.netboris joined the room.07:19:42
@msiedlaczek:matrix.orgmsiedlaczek hi, I'm having some problems with changing my cursor theme. I'm running manjaro and I'm running xfce's settings daemon. I've gone through all methods here: https://wiki.archlinux.org/index.php/Cursor_themes and I changed the cursor with xfconf, in .Xresources, in ~/.icons/default/index.theme and in ~/.config/gtk-3.0/settings.ini but even with all of those, there's still some places I don't get the changed cursor but rather the default system one. it's kind of random, too. say, if I open the xfce4 settings manager, it's default cursor on the background but custom cursor on the icons; some gtk apps are correct, some are not; the tray icon for Riot is default cursor, but in the Riot app, it's the correct custom one. any ideas what setting I'm missing or what I did wrong? 12:45:12
@boris:sibnsk.netboris 23:12:04
2 Jul 2020
@chelsea:privacytools.iochelsea 07:21:15

There are no newer messages yet.


Back to Room List