Logs: liberachat/#xmonad
| 2023-08-31 18:34:23 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2023-08-31 19:13:10 | avalan | is now known as dweller |
| 2023-08-31 20:08:25 | → | acidbong joins (6e5528b381@198.108.76.108) |
| 2023-08-31 20:20:09 | → | ft joins (~ft@p508db658.dip0.t-ipconnect.de) |
| 2023-08-31 21:43:39 | → | mml joins (~mml@164.92.108.41) |
| 2023-08-31 21:46:21 | <mml> | hi there. i'm using namedScratchpad with customFloating and it works fine, except that i have a certain scratchpad I use for viewing logs. sometimes i shrink or grow the font and i want a hotkey that causes the RationalRect geometry to be recomputed and the window to be shrunk or grown as appropriate. in most circumstances, though, if I've changed the size of a scratchpad window, I just want it left alone |
| 2023-08-31 21:49:29 | <geekosaur> | hm. I think that's actually up to the terminal; the ones I use resize automatically\ |
| 2023-08-31 21:49:56 | <geekosaur> | the size set by customFloating et al. are only applied when the window is first mapped |
| 2023-08-31 21:50:34 | <mml> | i suppose i could just ctrl-right click on them and eyeball the size i want |
| 2023-08-31 21:50:51 | <mml> | alt-right-click i guess it is |
| 2023-08-31 21:51:45 | <geekosaur> | (the real problem being we don't know how to properly resize the terminal according to the font, and in fact can't even know that the font size changed within it) |
| 2023-08-31 21:53:01 | <mml> | i don't actually need it to know anything or be fancy.. i'd be happy to just bind a hotkey to the action "set this window's geometry to X% of width, Y% of height" |
| 2023-08-31 21:53:53 | <geekosaur> | withFocused $ \w -> windows (W.float w (W.RationalRect x y w h)) |
| 2023-08-31 21:54:04 | <geekosaur> | (import qualified XMonad.StackSet as W) |
| 2023-08-31 21:54:33 | <mml> | hmm.. ok, yeah that makes sense |
| 2023-08-31 21:59:53 | <mml> | geekosaur: thanks, that works good enough, since this really only comes up with a single floating window |
| 2023-08-31 22:01:17 | <mml> | a similar issue arises if I change font size in other applications (gvim, e.g.)... vim tries to shrink or grow its window, either drawing text i can't see or wasting a bunch of the screen space allotted to it by xmonad. I usually fix this by launching a terminal and exiting it immediately with ^D. works fine but always feels like i should have a better answer. this is for a non-floating window. |
| 2023-08-31 22:04:46 | <geekosaur> | this sounds like stuff is not drawing properly for some reason. we don't control what an app draws in its own window, so there isn't a lot to be done about it unless mod-n somehow helps |
| 2023-08-31 22:04:56 | <geekosaur> | which is still a hack |
| 2023-08-31 22:10:07 | <mml> | i think what both of these programs have in common is that they both specify geometry in characters... quoting from X(7): "The WIDTH and HEIGHT parts of the geometry specification are usually measured in either pixels or characters, depending on the application." |
| 2023-08-31 22:10:38 | <mml> | i don't know enough about X to know the exact implications of this |
| 2023-08-31 22:23:04 | <geekosaur> | it's less about X than about the toolkit they're using |
| 2023-08-31 22:24:36 | <geekosaur> | if it's in characters then it'll usually be exposed to the window manager as an aspect ratio, but we don't do anything with it unless you use https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Layout-LayoutHints.html |
| 2023-08-31 22:25:44 | <geekosaur> | and even then we don't auto-resize windows especially if they are tiled; some programs/toolkits ignore the part of the WM spec that says that the WM has the last word on window placement and size and expect the WM to automatically obey changes to size hints |
| 2023-08-31 22:25:57 | <geekosaur> | (they're called hints for a reason) |
| 2023-09-01 02:21:19 | × | td_ quits (~td@i53870906.versanet.de) (Ping timeout: 255 seconds) |
| 2023-09-01 02:23:05 | → | td_ joins (~td@i5387091C.versanet.de) |
| 2023-09-01 02:35:28 | → | Lears joins (~Leary]@user/Leary/x-0910699) |
| 2023-09-01 02:37:32 | × | [Leary] quits (~Leary]@user/Leary/x-0910699) (Ping timeout: 248 seconds) |
| 2023-09-01 04:09:47 | × | exordiri quits (~ex@user/exordiri) (Ping timeout: 250 seconds) |
| 2023-09-01 06:18:10 | → | vanvik5 joins (~vanvik@78.156.11.181) |
| 2023-09-01 06:21:33 | → | hrberg_ joins (~quassel@171.79-160-161.customer.lyse.net) |
| 2023-09-01 06:25:54 | × | hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (*.net *.split) |
| 2023-09-01 06:25:54 | × | vanvik quits (~vanvik@78.156.11.181) (*.net *.split) |
| 2023-09-01 06:25:54 | vanvik5 | is now known as vanvik |
| 2023-09-01 07:40:58 | × | Nixkernal quits (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2023-09-01 07:42:30 | → | Nixkernal joins (~Nixkernal@119.4.193.178.dynamic.wline.res.cust.swisscom.ch) |
| 2023-09-01 07:46:32 | → | cfricke joins (~cfricke@user/cfricke) |
| 2023-09-01 08:02:32 | × | cfricke quits (~cfricke@user/cfricke) (Ping timeout: 240 seconds) |
| 2023-09-01 08:20:21 | × | ft quits (~ft@p508db658.dip0.t-ipconnect.de) (Quit: leaving) |
| 2023-09-01 08:28:33 | → | cfricke joins (~cfricke@user/cfricke) |
| 2023-09-01 08:39:05 | justache | is now known as reddit-bot |
| 2023-09-01 08:39:12 | reddit-bot | is now known as justache |
| 2023-09-01 09:24:08 | → | patrl joins (~patrl@user/patrl) |
| 2023-09-01 09:30:42 | × | patrl quits (~patrl@user/patrl) (Quit: WeeChat 3.8) |
| 2023-09-01 10:07:57 | → | patrl joins (~patrl@user/patrl) |
| 2023-09-01 11:21:35 | × | patrl quits (~patrl@user/patrl) (Quit: WeeChat 3.8) |
| 2023-09-01 11:46:20 | → | catern joins (sid604849@id-604849.lymington.irccloud.com) |
| 2023-09-01 11:47:35 | <catern> | hi #xmonad, is there a package to support "switch to the window to the left/right/up/down of the currently active one"? and if there is such a package, does it further support switching between windows on different desktops in this positional way? |
| 2023-09-01 11:49:29 | <Lears> | X.A.Navigation2D |
| 2023-09-01 11:50:26 | <Lears> | (yes) |
| 2023-09-01 11:51:26 | <catern> | neato |
| 2023-09-01 14:48:16 | → | ft joins (~ft@p508db658.dip0.t-ipconnect.de) |
| 2023-09-01 15:01:37 | × | de-vri-es quits (~de-vri-es@2a01:7c8:aab4:33e::1) (Quit: Bathrobe!) |
| 2023-09-01 15:03:45 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.0.4) |
| 2023-09-01 15:27:01 | × | Lears quits (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
| 2023-09-01 15:27:15 | → | [Leary] joins (~Leary]@user/Leary/x-0910699) |
| 2023-09-01 15:28:08 | <haskellbridge> | <yoggurt> Looking to know how Xmonad users get battery warning? probably not a xmonad specific solution but I'm looking for a good fit. I've damaged batteries before from letting it go to 0 while using xmonad |
| 2023-09-01 15:30:23 | → | de-vri-es joins (~de-vri-es@voyager.de-vri.es) |
| 2023-09-01 15:36:40 | × | de-vri-es quits (~de-vri-es@voyager.de-vri.es) (Quit: Bathrobe!) |
| 2023-09-01 15:36:52 | → | de-vri-es joins (~de-vri-es@voyager.de-vri.es) |
| 2023-09-01 15:37:19 | × | de-vri-es quits (~de-vri-es@voyager.de-vri.es) (Client Quit) |
| 2023-09-01 15:37:31 | → | de-vri-es joins (~de-vri-es@voyager.de-vri.es) |
| 2023-09-01 16:05:58 | <deepy> | I have battery details in xmobar |
| 2023-09-01 16:06:36 | <geekosaur> | but does it issue warnings? or auto suspend on critical? |
| 2023-09-01 16:07:13 | <geekosaur> | I think there are scripts which monitor ACPI and use notification API; might check the arch wiki, it's good for stuff like that |
| 2023-09-01 16:08:35 | <geekosaur> | I saw a script that notifies via zenity, which avoids dbus |
| 2023-09-01 16:09:52 | <geekosaur> | oh, here's a bunch of them that use various notification methods https://github.com/topics/battery-monitor?l=shell |
| 2023-09-01 16:10:31 | <geekosaur> | (I'm using xmonad with MATE so mate-power-manager does all the work) |
| 2023-09-01 16:29:53 | <haskellbridge> | <yoggurt> looking into these but they have shell install steps and such which make it not so friendly to use in NixOS :/ |
| 2023-09-01 17:04:12 | <liskin> | upower takes action automatically |
| 2023-09-01 17:04:38 | <liskin> | All you need is to have it installed and have something issue at least one dbus call to it |
| 2023-09-01 17:04:49 | <liskin> | Which is completely moronic, if you ask me |
| 2023-09-01 17:06:59 | <haskellbridge> | <yoggurt> I have it installed.. wdym by take action? does it send warning notifications? |
| 2023-09-01 18:49:26 | × | Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Read error: Connection reset by peer) |
| 2023-09-01 18:54:10 | → | Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) |
| 2023-09-01 19:32:39 | → | tremon joins (~tremon@83.80.159.219) |
| 2023-09-01 19:53:02 | × | immibis quits (~quassel@2a01:4f9:4a:4caf::2) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2023-09-01 19:54:58 | → | immibis joins (~quassel@2a01:4f9:4a:4caf::2) |
| 2023-09-01 20:33:36 | × | dsal quits (sid13060@id-13060.lymington.irccloud.com) (Server closed connection) |
| 2023-09-01 20:33:49 | → | dsal joins (sid13060@id-13060.lymington.irccloud.com) |
| 2023-09-01 20:58:26 | <liskin> | Sleep/shutdown. |
| 2023-09-01 20:58:38 | <liskin> | Notifications maybe, but probably not. |
| 2023-09-01 21:44:34 | × | tv quits (~tv@user/tv) (Ping timeout: 255 seconds) |
| 2023-09-01 22:03:51 | → | tv joins (~tv@user/tv) |
| 2023-09-01 22:27:23 | × | ft quits (~ft@p508db658.dip0.t-ipconnect.de) (Ping timeout: 246 seconds) |
| 2023-09-01 22:28:23 | → | ft joins (~ft@p508db658.dip0.t-ipconnect.de) |
| 2023-09-01 23:57:10 | × | tremon quits (~tremon@83.80.159.219) (Quit: getting boxed in) |
| 2023-09-02 02:03:34 | → | hightower3 joins (~hightower@213-191-130-204.dsl.iskon.hr) |
| 2023-09-02 02:05:59 | × | hightower4 quits (~hightower@141-136-175-225.dsl.iskon.hr) (Ping timeout: 246 seconds) |
| 2023-09-02 02:19:51 | × | td_ quits (~td@i5387091C.versanet.de) (Ping timeout: 246 seconds) |
| 2023-09-02 02:21:49 | → | td_ joins (~td@i53870920.versanet.de) |
| 2023-09-02 05:02:22 | × | byorgey quits (~byorgey@155.138.238.211) (Server closed connection) |
| 2023-09-02 05:02:29 | → | byorgey joins (~byorgey@155.138.238.211) |
| 2023-09-02 05:42:06 | × | hrberg_ quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2023-09-02 05:45:42 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 2023-09-02 07:21:39 | × | Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection) |
| 2023-09-02 07:26:57 | → | Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) |
| 2023-09-02 10:30:53 | × | haskl quits (~haskl@user/haskl) (Read error: Connection reset by peer) |
| 2023-09-02 10:33:07 | → | haskl joins (~haskl@user/haskl) |
All times are in UTC.