Logs: liberachat/#xmonad
| 2021-11-20 16:01:47 | <lyiriyah> | Pretty cool bot |
| 2021-11-20 16:12:06 | <Vermoot> | > Maybe you meant: undo todo do |
| 2021-11-20 16:12:07 | <lambdabot> | error: |
| 2021-11-20 16:12:08 | <lambdabot> | Unexpected do block in function application: |
| 2021-11-20 16:12:08 | <lambdabot> | do |
| 2021-11-20 16:12:12 | <Vermoot> | I laughed |
| 2021-11-20 16:12:24 | <Vermoot> | (shush, I was citing you, bot) |
| 2021-11-20 16:12:58 | <geekosaur> | oh, I got that one wrong :( rarely use it |
| 2021-11-20 16:13:15 | <geekosaur> | (actually I rarely use either but I know how the translations work now) |
| 2021-11-20 16:19:33 | → | obimod joins (~obimod@gateway/vpn/pia/obimod) |
| 2021-11-20 16:19:45 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection) |
| 2021-11-20 16:22:34 | <Vermoot> | lyiriyah, Well the reddit post talks about doing exactly what I want to do, and apparently OP did manage to do it, but even with their snippet, I'm only getting partway there :/ |
| 2021-11-20 16:52:03 | × | obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 250 seconds) |
| 2021-11-20 16:52:22 | → | obimod joins (~obimod@gateway/vpn/pia/obimod) |
| 2021-11-20 16:56:10 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-dev) |
| 2021-11-20 17:01:48 | → | catman joins (~catman@user/catman) |
| 2021-11-20 17:17:19 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-11-20 17:19:28 | × | obimod quits (~obimod@gateway/vpn/pia/obimod) (Quit: every day brings new choices) |
| 2021-11-20 17:26:00 | → | benin joins (~benin@183.82.178.244) |
| 2021-11-20 17:28:22 | → | twiclo joins (~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) |
| 2021-11-20 17:30:49 | × | Armoletti^ quits (~armoletti@dyn70-177.yok.fi) (Ping timeout: 256 seconds) |
| 2021-11-20 17:34:00 | <twiclo> | This bash command works in a terminal but it doesn't look like xmonad is firing it: |
| 2021-11-20 17:34:02 | <twiclo> | myLogHook = spawnOnce "if [ $(cat /sys/class/power_supply/BAT0/capacity) -le 52 ]; then xmessage \"Battery low\"; fi" |
| 2021-11-20 17:36:02 | <geekosaur> | are you sure you want spawnOnce there? |
| 2021-11-20 17:37:22 | <geekosaur> | otherwise it looks ok, but spawnOnce means it would run immediately after xmonad startup and never again |
| 2021-11-20 17:40:51 | <twiclo> | Ah that must be it. Thanks |
| 2021-11-20 17:41:30 | <twiclo> | Well now it spawns a million xmessages when it's below the threshold |
| 2021-11-20 17:41:56 | × | twiclo quits (~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) (Quit: WeeChat 3.2) |
| 2021-11-20 17:42:02 | <geekosaur> | I don't think logHook works well for this because if you e.g. stay focused in one window for an hour (intensive editing session, say) then it won't fire the logHook during that hour |
| 2021-11-20 17:42:22 | <geekosaur> | and yes, it'll fire a lot if you switch focus a lot |
| 2021-11-20 17:42:39 | <geekosaur> | the problem with spawnOnce is it can't reach inside the thing you spawned to see that it did something |
| 2021-11-20 17:42:47 | <geekosaur> | spawnOnce just runs the whole command once |
| 2021-11-20 17:43:20 | → | twiclo joins (~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) |
| 2021-11-20 17:43:26 | <twiclo> | Lol it crashed my session |
| 2021-11-20 17:43:33 | <geekosaur> | so you'd have to put your "only once" check inside the command, possibly by using a sentinel file which gets cleared at login |
| 2021-11-20 17:43:46 | <geekosaur> | oh, sorry, I sent several lines while you were gone |
| 2021-11-20 17:43:59 | <twiclo> | I got the gist with that last message |
| 2021-11-20 17:44:23 | <geekosaur> | https://ircbrowse.tomsmeding.com/browse/lcxmonad?id=34991#trid34991 |
| 2021-11-20 17:46:08 | × | twiclo quits (~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) (Client Quit) |
| 2021-11-20 17:46:46 | <lyiriyah> | Is there any way to enable font ligatures in XMonad.Prompt? I expect not, but I'll ask just in case I'm missing something |
| 2021-11-20 17:46:47 | <fizzie> | Given that xmessage creates a window which grabs the focus, which I imagine triggers the logHook, I can imagine how that'd go terribly wrong. |
| 2021-11-20 17:47:29 | <fizzie> | (I may be old-fashioned, but I wouldn't spawn a process in a logHook in the first place. Gotta conserve those PIDs.) |
| 2021-11-20 17:47:45 | <lyiriyah> | twiclo: I think you want a cronjob rather than putting that in your logHook |
| 2021-11-20 17:47:55 | <geekosaur> | yeh, logHook is a terrible place to put stuff like that |
| 2021-11-20 17:48:28 | <geekosaur> | we just lost them again |
| 2021-11-20 17:50:10 | <geekosaur> | hope they have a way to log in text based and rip that code back out :) |
| 2021-11-20 17:56:11 | → | twiclo joins (~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) |
| 2021-11-20 17:56:15 | <twiclo> | I'm back |
| 2021-11-20 17:56:22 | <twiclo> | Trying to add this to my config flie |
| 2021-11-20 17:56:29 | <twiclo> | https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-ShowWName.html |
| 2021-11-20 17:57:00 | <twiclo> | This is what my "myLayout" section looks like right now from the starter config I started with: p.twil.cx/lew |
| 2021-11-20 17:57:07 | <twiclo> | Not sure how to integrate this into that |
| 2021-11-20 17:57:47 | <geekosaur> | lyiriyah, I don't know what it would take to support ligatures there. Suspect it would require redoing the output stuff to use Pango or similar |
| 2021-11-20 17:58:34 | <lyiriyah> | Yeah most likely. Maybe when I get some free time I'll do it as a learning exercise or something. |
| 2021-11-20 17:59:43 | <geekosaur> | twiclo, showWName $ avoidStruts $ tiled ||| Mirror tiled ||| Full |
| 2021-11-20 18:00:06 | <twiclo> | What does the $ mean? |
| 2021-11-20 18:00:20 | <geekosaur> | or if you want to use the parenthesized form, (showWName . avoidStruts) (tiled ||| Mirror tiled ||| Full) |
| 2021-11-20 18:01:01 | <geekosaur> | $ is kinda reverse parentheses. it's function application at lowest possible precedence instead of highest possible like normal |
| 2021-11-20 18:01:30 | <geekosaur> | using $ is considered poor form by some, but it makes it a lot easier to add new layout modifiers to a layout |
| 2021-11-20 18:06:19 | <twiclo> | Is there a way to move every window on a worspace to nother? |
| 2021-11-20 18:06:23 | <twiclo> | And keep the layout |
| 2021-11-20 18:07:52 | <twiclo> | Also this shortcut doesn't fire and I have no idea why: |
| 2021-11-20 18:07:54 | <twiclo> | , ((modm .|. shiftMask, xK_r ), spawn "xmonad --recompile; xmonad --restart") |
| 2021-11-20 18:07:59 | <twiclo> | Should be mod + shift + r right? |
| 2021-11-20 18:08:58 | <geekosaur> | yes. is xmonad in your $PATH at that point? (note that a terminal will *not* tell you this, since it will have run .profile and .bashrc or shell equivalent but xmonad won't have) |
| 2021-11-20 18:09:32 | <geekosaur> | usually you want xmonad in /usr/bin, if it's not then you need to arrange for whatever starts xmonad to set $PATH |
| 2021-11-20 18:09:45 | <geekosaur> | (unless you use startx, then it should be set) |
| 2021-11-20 18:10:27 | <twiclo> | Oh it's in my .local |
| 2021-11-20 18:11:44 | <geekosaur> | sadly, if you have a normal session using a display manager to log in, PATH=/bin:/usr/bin |
| 2021-11-20 18:12:20 | <twiclo> | I think I'll just symlink it |
| 2021-11-20 18:17:18 | × | twiclo quits (~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) (Quit: WeeChat 3.2) |
| 2021-11-20 18:18:28 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-dev) |
| 2021-11-20 18:18:37 | <abhixec> | is anyone else having issues with electron apps on xmonad?(particularly visual code) it seems to kind of be very slow and the menus are blank which I click and takes a while to show up the menu |
| 2021-11-20 18:19:01 | → | catman joins (~catman@user/catman) |
| 2021-11-20 18:20:42 | <thonoht[m]> | Hmm, xmonad --restart seems to have stopped working since yesterday, nothing happens, and no output at all. --recompile works fine though, strange. |
| 2021-11-20 18:20:48 | <thonoht[m]> | Hmm, I can check vsccode |
| 2021-11-20 18:21:35 | <thonoht[m]> | No issues with that here. |
| 2021-11-20 18:22:03 | → | SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) |
| 2021-11-20 18:27:25 | → | u0_a246 joins (~u0_a246@2a00:23c8:5f85:9101:785b:8271:9ec4:6654) |
| 2021-11-20 18:27:59 | × | catman quits (~catman@user/catman) (Ping timeout: 264 seconds) |
| 2021-11-20 18:28:39 | <abhixec> | thonoht[m]: thanks that is weird for me the electron based apps are slow/the menu contexts show up blank and take a while to show the text |
| 2021-11-20 18:29:08 | <abhixec> | i installed gonme just to check and it seems to be fine on gnome |
| 2021-11-20 18:30:42 | <thonoht[m]> | Gnome is on Wayland isn't it? |
| 2021-11-20 18:31:16 | <u0_a246> | X and Wayland IIRC |
| 2021-11-20 18:31:26 | u0_a246 | is now known as l |
| 2021-11-20 18:31:27 | l | is now known as Guest2402 |
| 2021-11-20 18:31:29 | → | catman joins (~catman@user/catman) |
| 2021-11-20 18:32:13 | <thonoht[m]> | Maybe Electron is having issues with X for you? |
| 2021-11-20 18:33:10 | <abhixec> | I am using X |
| 2021-11-20 18:36:01 | Guest2402 | is now known as lyiriyah1 |
| 2021-11-20 18:36:19 | <geekosaur> | ewmh configured? |
| 2021-11-20 18:36:44 | <geekosaur> | also I have just rediscovered why clientMessag eevents are not debugged properly and I am :( |
| 2021-11-20 18:38:03 | <abhixec> | https://github.com/abhixec/dotfiles/blob/experimental/xmonad/xmonad.hs |
| 2021-11-20 18:40:12 | <geekosaur> | looks right to me |
| 2021-11-20 18:43:02 | <abhixec> | Wonder if it has anything to do with the fact that I have nvidia? |
| 2021-11-20 18:57:19 | × | abhixec quits (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection) |
| 2021-11-20 19:06:50 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-11-20 19:23:50 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-dev) |
| 2021-11-20 19:51:21 | → | catman joins (~catman@user/catman) |
| 2021-11-20 20:01:44 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-dev) |
All times are in UTC.