Logs: liberachat/#xmonad
| 2022-02-06 20:43:07 | <geekosaur> | ask >>= doF . addFS |
| 2022-02-06 20:44:26 | <geekosaur> | mm, actually, not sure you need doF if you do that.*pokes* |
| 2022-02-06 20:45:16 | <geekosaur> | whoops, going to take a bit, ghci is rebuilding the world :/ |
| 2022-02-06 20:46:10 | <galactic_starfis> | with doF: `Expected type: Window -> s0 -> s0 Actual type: Window -> X ()` |
| 2022-02-06 20:46:31 | <galactic_starfis> | without doF: `Expected type: Query () Actual type: X ()` |
| 2022-02-06 20:47:04 | <geekosaur> | ask >>= liftX . addFS, then |
| 2022-02-06 20:48:50 | <galactic_starfis> | `• Couldn't match expected type ‘X a0’ with actual type ‘Window -> X ()’` |
| 2022-02-06 20:49:49 | <galactic_starfis> | oh wait, no that's when using `$` instead of `.`, it gives this when using `.`: `Expected type: Query (Maybe (Endo WindowSet)) Actual type: Query (Maybe ())` |
| 2022-02-06 20:51:01 | <geekosaur> | ask >>= \x -> liftX (?addFS x) >> idHook |
| 2022-02-06 20:51:01 | <geekosaur> | :: (?addFS::Window -> X a, Monoid b) => Query b |
| 2022-02-06 20:51:13 | <geekosaur> | hardfor me to test since I don't have addFS locally |
| 2022-02-06 20:51:53 | <galactic_starfis> | it's present here: https://gitlab.com/mikenrafter/config/-/blob/master/.xmonad/lib/Custom/Fullscreen.hs#L60 |
| 2022-02-06 20:52:13 | <geekosaur> | isFullscreen -?> ask >>= \x -> liftX (?addFS x) >> idHook |
| 2022-02-06 20:52:13 | <geekosaur> | :: (?addFS::Window -> X a1, Monoid a2) => Query (Maybe a2) |
| 2022-02-06 20:54:30 | <geekosaur> | def {manageHook = composeOne [isFullscreen -?> ask >>= \x -> liftX (?addFS x) >> idHook]} |
| 2022-02-06 20:54:30 | <geekosaur> | :: (?addFS::Window -> X a) => |
| 2022-02-06 20:54:30 | <geekosaur> | XConfig (Choose Tall (Choose (Mirror Tall) Full)) |
| 2022-02-06 20:54:43 | <geekosaur> | that looks like it ought work |
| 2022-02-06 20:56:10 | → | Hash joins (~Hash@hashsecurity.org) |
| 2022-02-06 21:00:28 | → | Marmota joins (~Marmota@2804:7f6:8086:31dc:d3da:cd9f:2c17:5ca6) |
| 2022-02-06 21:00:58 | <galactic_starfis> | boom, worked, thanks! |
| 2022-02-06 21:13:41 | × | Marmota quits (~Marmota@2804:7f6:8086:31dc:d3da:cd9f:2c17:5ca6) (Quit: Client closed) |
| 2022-02-06 21:36:49 | → | sheb joins (~sheb@31.223.228.71) |
| 2022-02-06 22:21:06 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2022-02-06 22:37:15 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2022-02-06 22:45:18 | → | Guest54 joins (~Guest54@47.153.196.157) |
| 2022-02-06 22:46:27 | <Guest54> | Using xmobar I have a com module for playerctl to put title and artist, however when spotify isn't running it says "Could not execute command playerctl, is there anyway to hide this? |
| 2022-02-06 22:48:11 | <galactic_starfis> | Use a custom script (bash would work fine), save the output to a local variable, and grep for "Could not execute command playerctl", then if you find it, echo out "", otherwise echo out the saved output. |
| 2022-02-06 22:50:15 | <geekosaur> | that's assuming the "Could not execute" is from playerctl, which seems odd. more likely that's the plugin reporting on an error return from playerctl, hence a wrapper script `/usr/bin/playerctl ${1+"$@"} 2>/dev/null || echo` |
| 2022-02-06 22:51:10 | <Guest54> | would that be baked in the custom script, or within .xmobarrc |
| 2022-02-06 22:51:46 | <geekosaur> | in the custom script. .xmobarrc almost certainly doesn't give you controlover this |
| 2022-02-06 22:51:53 | <liskin> | note that playerctl also has --follow, which then doesn't need periodical refresh as it prints additional lines whenever something changes |
| 2022-02-06 22:51:55 | <galactic_starfis> | trying to put stuff like that in xmobarrc can be a real pain, probably best to use a custom script |
| 2022-02-06 22:52:49 | <galactic_starfis> | --- |
| 2022-02-06 22:52:49 | <galactic_starfis> | X.L.Magnifier only magnifies the focused window, meaning when you switch to a floating window, it stops magnifying whatever you were last on. Is there a simple remedy for this? I was thinking perhaps I could tag the focused tiled window, and untag it when it loses focus to another tiled window. And magnify that, only, I'm not sure how I'd get that from just a `Stack` object.. |
| 2022-02-06 22:53:30 | <liskin> | (and I'm almost certain playerctl --follow doesn't terminate when the last player goes away, as I've had it running in the background for a year and a half) |
| 2022-02-06 22:57:37 | → | Buliarous joins (~gypsydang@46.232.210.139) |
| 2022-02-06 23:01:25 | <geekosaur> | galactic_starfis, I still think you're doing this the hard way |
| 2022-02-06 23:14:11 | <jao> | Guest54, you could just use the Mpris2 module. `Mpris2 "spotify" [] 40`... or even `Mpris2 "playerctld", if you have playerctld installed too. |
| 2022-02-06 23:14:49 | <Guest54> | i really appreciate all the feeback, ill give it a try, right now i just have little script updating on a 20 interval in xmobar |
| 2022-02-06 23:28:12 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2022-02-06 23:54:49 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-02-06 23:56:33 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-02-07 00:12:07 | × | Guest54 quits (~Guest54@47.153.196.157) (Ping timeout: 256 seconds) |
| 2022-02-07 00:41:39 | × | catman quits (~catman@user/catman) (Read error: Connection reset by peer) |
| 2022-02-07 00:43:27 | <liskin> | Solid: https://gitlab.com/inkscape/inkscape/-/commit/cccc6c3481838567a07917261d1280b34681137b |
| 2022-02-07 00:43:39 | <liskin> | Solid: https://gitlab.com/inkscape/inkscape/-/issues/2864 |
| 2022-02-07 00:44:43 | <liskin> | Solid: just trying to edit some images I made for one of my wife's papers and everything's broken, because Debian updated pango two days after I helped you with that PR :-D |
| 2022-02-07 00:45:03 | → | catman joins (~catman@user/catman) |
| 2022-02-07 00:54:30 | <liskin> | oh well, flatpak install inkscape it is |
| 2022-02-07 01:04:53 | <galactic_starfis> | <geekosaur> "galactic_starfish, I still think..." <- maybe a float unfloat logHook would be better than the modifier 🤔 |
| 2022-02-07 01:38:36 | × | sogens quits (~sogens@pa49-197-132-249.pa.qld.optusnet.com.au) (Quit: WeeChat 3.4) |
| 2022-02-07 01:50:14 | → | benin joins (~benin@183.82.31.24) |
| 2022-02-07 02:16:41 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 252 seconds) |
| 2022-02-07 02:33:23 | <galactic_starfis> | hm, after thinking it through, this' definitely the right path to take |
| 2022-02-07 02:34:18 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 2022-02-07 02:36:12 | <galactic_starfis> | I mean, the strut, deco, and spacing removal could probably be moved into the layout logic. But other than that.. This' the simplest, most reliable way to allow navigation in this method. |
| 2022-02-07 02:38:25 | <galactic_starfis> | I already tried navigation like this before, just using stack modifications like shiftMaster, and others. Didn't go well. |
| 2022-02-07 02:42:27 | <galactic_starfis> | this method also works more reliably inside manageHook - steam wouldn't fullscreen on startup reliably before, but now it works 100% of the time |
| 2022-02-07 02:43:15 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 02:44:13 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 02:45:54 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 02:47:14 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 03:04:37 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds) |
| 2022-02-07 03:16:15 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 03:17:13 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 03:24:35 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-02-07 03:25:53 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 03:38:48 | × | jao quits (~jao@static-68-235-44-10.cust.tzulo.com) (Remote host closed the connection) |
| 2022-02-07 03:39:31 | × | td_ quits (~td@muedsl-82-207-238-099.citykom.de) (Ping timeout: 256 seconds) |
| 2022-02-07 03:41:17 | → | td_ joins (~td@muedsl-82-207-238-078.citykom.de) |
| 2022-02-07 03:59:56 | <galactic_starfis> | Is there a way to make X.H.WindowSwallowing 's swallowed windows, uh, re..regurgitated (?) without closing the GUI program? |
| 2022-02-07 04:00:19 | <galactic_starfis> | ideally, I'd just like to put them in hiddenWindows 's state |
| 2022-02-07 04:00:27 | <galactic_starfis> | and deal with them there |
| 2022-02-07 04:00:52 | → | jao joins (~jao@static-68-235-44-10.cust.tzulo.com) |
| 2022-02-07 04:01:51 | <galactic_starfis> | X.L.Hidden * |
| 2022-02-07 04:02:51 | <galactic_starfis> | mmh, actually, I might be able to hack this together |
| 2022-02-07 04:13:55 | × | jao quits (~jao@static-68-235-44-10.cust.tzulo.com) (Remote host closed the connection) |
| 2022-02-07 04:24:00 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 05:23:58 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 05:35:19 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-02-07 05:41:11 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-02-07 06:25:23 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 06:43:02 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 06:44:03 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 07:16:17 | × | mvk quits (~mvk@2607:fea8:5cdc:bf00::80f1) (Ping timeout: 240 seconds) |
| 2022-02-07 07:17:18 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 07:21:46 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 07:46:25 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 2022-02-07 08:02:05 | <Solid> | liskin: hah! good to know it wasn't my fault at least :) |
| 2022-02-07 08:30:33 | × | benin quits (~benin@183.82.31.24) (Ping timeout: 256 seconds) |
| 2022-02-07 08:32:11 | → | benin joins (~benin@183.82.31.24) |
| 2022-02-07 08:59:08 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 09:03:23 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 09:20:40 | × | thunderrd quits (~thunderrd@183.182.114.80) (Remote host closed the connection) |
| 2022-02-07 11:08:37 | × | td_ quits (~td@muedsl-82-207-238-078.citykom.de) (Ping timeout: 240 seconds) |
| 2022-02-07 11:08:45 | × | benin quits (~benin@183.82.31.24) (Quit: The Lounge - https://thelounge.chat) |
| 2022-02-07 11:16:41 | → | thunderrd joins (~thunderrd@183.182.114.80) |
| 2022-02-07 11:25:48 | → | td_ joins (~td@muedsl-82-207-238-072.citykom.de) |
| 2022-02-07 11:42:38 | <geekosaur> | wonder if this isn't an argument in favor of PVP, since pango didn't bump the right version component with that change or inkscape wouldn't have broken |
All times are in UTC.