Logs: liberachat/#xmonad
| 2022-11-13 15:19:02 | <LemanR> | geekosaur and here |
| 2022-11-13 15:19:42 | <geekosaur> | I'd actually put the startup one in .xinitrc (or .xsession if your distro has unified them) |
| 2022-11-13 15:20:02 | <geekosaur> | but if you want to do it in xmonad.hs you can do it in the startupHook |
| 2022-11-13 15:20:09 | <geekosaur> | you'd still use spawn |
| 2022-11-13 15:20:44 | <LemanR> | k so look up startupHook and from there it sounds like it's going to be trivial after reading |
| 2022-11-13 15:24:37 | <geekosaur> | the bigger question might be xmonad keybindings, since you might want those to change with the keymap. I think there's a module for that but I'm not sure |
| 2022-11-13 15:25:52 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-KeyRemap.html |
| 2022-11-13 15:25:53 | <LemanR> | Well I'm also beginning to learn haskell so I'm only writing things I can personally read and communicate specifically (mostly to myself) what the code is doing. I will add multi-layouts but later. I read some code on that and was just like deeeeerrrrrrrp lol |
| 2022-11-13 15:34:26 | <geekosaur> | I used xmonad to learn haskell. flip side I already understood X11 so I could use that to orient |
| 2022-11-13 15:38:28 | → | rpana joins (~rpana@193.29.60.214) |
| 2022-11-13 15:41:25 | × | LemanR quits (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) (Quit: Client closed) |
| 2022-11-13 15:45:31 | → | LemanR joins (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) |
| 2022-11-13 15:52:22 | <LemanR> | I'm looking this up now but in case I'm going about this wrong, I see hooks look automatically setup, if I wanted to see the code for a hook like myTerminal where would I find this? my xmonad dir (inside .config) only has the xmonad.hs file |
| 2022-11-13 15:52:28 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Quit: Leaving) |
| 2022-11-13 15:52:32 | × | thyriaen_ quits (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Quit: Leaving) |
| 2022-11-13 15:52:34 | <LemanR> | understanding what hooks are doing would help me reason about my code (i'm very detailed oriented) |
| 2022-11-13 15:53:53 | <LemanR> | following https://www.youtube.com/watch?v=3noK4GTmyMw atm (distrotube intro to xmonad) but he starts using myTerminal which is just there and atm I guess works by magic lol hence why I want to see what is setting myTerminal and how xmonad knows setting it to xterm or alacritty 'knows' that I mean the terminal and not something else |
| 2022-11-13 15:54:51 | × | kaskal- quits (~kaskal@089144200035.atnat0009.highway.a1.net) (Ping timeout: 248 seconds) |
| 2022-11-13 15:57:38 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::4b68) |
| 2022-11-13 15:57:43 | <geekosaur> | there's a `terminal = myTerminal` somewhere in the config record, if you're using one of the commonly tossed-around xmonad.hs files, and mod-shift-enter uses that definition to launch a terminal |
| 2022-11-13 15:59:28 | → | thyriaen joins (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) |
| 2022-11-13 16:00:38 | <LemanR> | I'm starting from scratch so this is what I have so far https://www.youtube.com/watch?v=3noK4GTmyMw |
| 2022-11-13 16:06:24 | <LemanR> | omg I just saw my copy/paste didn't copy lol one sec |
| 2022-11-13 16:06:39 | <LemanR> | http://dpaste.com/8ZNGG5SUG |
| 2022-11-13 16:07:36 | <geekosaur> | interesting, that doesn't have a terminal definition at all |
| 2022-11-13 16:08:02 | <LemanR> | I made it from touch, so literally from the minimal. I have basic functionality atm. |
| 2022-11-13 16:08:33 | <LemanR> | this is kinda like a first haskell project I will add to as I continue learning haskell |
| 2022-11-13 16:08:34 | <geekosaur> | so it should be using xterm unless you're on debian/ubuntu and using their package, in which case it runs "x-terminal-emulator" and installing alacritty would cause update-alternatives to register it as x-terminal-emulator |
| 2022-11-13 16:09:06 | <geekosaur> | debian's fun that way |
| 2022-11-13 16:09:17 | <geekosaur> | does the same with browsers (as x-www-browser) |
| 2022-11-13 16:09:29 | <Solid> | LemanR: I reckon that video has a `myTerminal = "alacritty"' somewhere in the config |
| 2022-11-13 16:09:45 | <geekosaur> | the video was a mistake (see "omg") |
| 2022-11-13 16:10:04 | <Solid> | but above they did say they were following it |
| 2022-11-13 16:10:39 | <Solid> | (btw, obligatory plug for https://xmonad.org/TUTORIAL.html because I think it explains things rather well) |
| 2022-11-13 16:13:47 | <LemanR> | I just realized..........this is coding of a general programming lanuage, my answer for how some thing 'x' works is probably in one of the files I'm importing. (I am neuroscience student formally with a strong interest in computer science). Solid will read that link |
| 2022-11-13 16:14:22 | <LemanR> | point being I find myself making obvious mistakes from time to time lol |
| 2022-11-13 17:00:57 | × | rpana quits (~rpana@193.29.60.214) (Quit: Client closed) |
| 2022-11-13 17:06:36 | <LemanR> | still haven't found where my modules are being stored o.0 |
| 2022-11-13 17:09:16 | → | Rutherther[m] joins (~rutherthe@2001:470:69fc:105::2:bc05) |
| 2022-11-13 17:14:38 | → | rpana joins (~rpana@193.29.60.214) |
| 2022-11-13 17:15:21 | × | LemanR quits (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) (Quit: Client closed) |
| 2022-11-13 17:20:09 | × | rpana quits (~rpana@193.29.60.214) (Quit: Client closed) |
| 2022-11-13 17:42:46 | <Rutherther[m]> | hi, I am using xmonad with xmobar with multi (3) monitor setup, on each monitor I have xmobar |
| 2022-11-13 17:42:46 | <Rutherther[m]> | is there a possibility to show a visible workspace differently from the others if and only if it is on the monitor on which the xmobar is? Currently when I set ppVisible to show the workspace differently, it will be shown on all of the monitors the same way. I cannot tell which workspace is opened on which monitor. |
| 2022-11-13 17:42:46 | <Rutherther[m]> | If I understand it at least slightly correctly, it seems to me like I would need to feed different inputs into each xmobar from xmonad, but I am not sure how to do that, I am using XMonad.Hooks.StatusBar and XMonad.Hooks.StatusBar.PP with dynamicEasySBs |
| 2022-11-13 17:42:46 | <Rutherther[m]> | I had it like this for a while so I got used to it and usually remember what workspaces I am on, but still it would be more convenient to differentiate between them |
| 2022-11-13 18:03:47 | → | LemanR joins (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) |
| 2022-11-13 18:05:10 | <LemanR> | still no luck finding the modules on my file system so I can read them and learn the gist of how they work. |
| 2022-11-13 18:05:35 | <LemanR> | I don't have ./xmonad/lib/ |
| 2022-11-13 18:13:47 | <LemanR> | I FOUND IT!!! it was in /usr/lib64/xmonad-contrib.../ghc.../XMonad |
| 2022-11-13 18:13:55 | <LemanR> | ... version numbers |
| 2022-11-13 18:15:39 | → | Guest7583 joins (~Guest75@114.130.184.71) |
| 2022-11-13 18:17:26 | × | Guest7583 quits (~Guest75@114.130.184.71) (Client Quit) |
| 2022-11-13 18:17:41 | → | Guest40 joins (~Guest40@114.130.184.71) |
| 2022-11-13 18:18:41 | <Guest40> | hey this is guest 40 again, I am back with the solution incase someone else has the same issue. Turns out it is not an xmonad nor a gpu issue. I found that the picom configuration i was using was using a incompatible backend. |
| 2022-11-13 18:19:03 | × | Guest40 quits (~Guest40@114.130.184.71) (Client Quit) |
| 2022-11-13 18:30:49 | × | LemanR quits (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) (Quit: Client closed) |
| 2022-11-13 18:51:50 | → | LemanR joins (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) |
| 2022-11-13 18:59:43 | × | LemanR quits (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) (Ping timeout: 260 seconds) |
| 2022-11-13 19:00:25 | → | LemanR joins (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) |
| 2022-11-13 19:57:13 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2022-11-13 20:41:43 | × | LemanR quits (~LemanR@pool-74-109-28-147.phlapa.fios.verizon.net) (Quit: Client closed) |
| 2022-11-13 21:58:41 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-11-13 22:02:21 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-11-13 22:49:05 | → | kaskal joins (~kaskal@089144207012.atnat0016.highway.bob.at) |
| 2022-11-13 23:24:39 | × | kaskal quits (~kaskal@089144207012.atnat0016.highway.bob.at) (Ping timeout: 260 seconds) |
| 2022-11-13 23:25:17 | → | kaskal joins (~kaskal@89.144.223.95) |
| 2022-11-13 23:55:52 | × | thyriaen quits (~thyriaen@2a01:aea0:dd4:470d:6245:cbff:fe9f:48b1) (Quit: Leaving) |
| 2022-11-14 00:10:41 | × | ghormoon quits (~ghormoon@ghorland.net) (Quit: ZNC - http://znc.in) |
| 2022-11-14 00:11:09 | × | chomwitt quits (~chomwitt@2a02:587:7a0a:c00:1ac0:4dff:fedb:a3f1) (Ping timeout: 256 seconds) |
| 2022-11-14 01:02:56 | × | Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Ping timeout: 246 seconds) |
| 2022-11-14 01:05:50 | → | ghormoon joins (~ghormoon@ghorland.net) |
| 2022-11-14 01:39:19 | → | Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) |
| 2022-11-14 03:03:59 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds) |
| 2022-11-14 03:12:23 | × | td_ quits (~td@83.135.9.56) (Ping timeout: 260 seconds) |
| 2022-11-14 03:14:06 | → | td_ joins (~td@83.135.9.3) |
| 2022-11-14 03:25:40 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-11-14 04:12:45 | × | srk quits (~sorki@user/srk) (Quit: ZNC 1.8.1 - https://znc.in) |
| 2022-11-14 04:31:53 | → | srk joins (~sorki@user/srk) |
| 2022-11-14 04:35:04 | → | srk| joins (~sorki@user/srk) |
| 2022-11-14 04:38:41 | × | srk quits (~sorki@user/srk) (Ping timeout: 268 seconds) |
| 2022-11-14 04:38:42 | srk| | is now known as srk |
| 2022-11-14 05:20:33 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::4b68) (Ping timeout: 256 seconds) |
| 2022-11-14 06:15:47 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 260 seconds) |
| 2022-11-14 06:19:43 | → | chomwitt joins (~chomwitt@2a02:587:7a0a:c00:1ac0:4dff:fedb:a3f1) |
| 2022-11-14 06:21:21 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2022-11-14 06:22:55 | → | aliosablack joins (~chomwitt@2a02:587:7a0a:c00:1ac0:4dff:fedb:a3f1) |
| 2022-11-14 06:23:27 | × | chomwitt quits (~chomwitt@2a02:587:7a0a:c00:1ac0:4dff:fedb:a3f1) (Read error: Connection reset by peer) |
| 2022-11-14 06:39:11 | <Solid> | Rutherther[m]: X.H.StatusBar shows you how to set up multiple bars ( https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-StatusBar.html#g:3 ); you would then have to use something like logTitlesOnScreen from X.U.Loggers ( https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-Loggers.html#v:logTitlesOnScreen ) |
| 2022-11-14 07:01:13 | <Rutherther[m]> | <Solid> "Rutherther: X.H.StatusBar..." <- yeah I have that, but I want to log workspaces separately, I already have the titles on screen as you are suggesting, ppVisible is shown on each monitor the same way, I would like it to match the current monitor the xmobar is on. So I can tell on which monitor the workspace is visible, not just that it is visible |
| 2022-11-14 07:04:56 | <Solid> | oh, sorry, I misread workspaces as windows |
| 2022-11-14 07:05:14 | <Rutherther[m]> | no worries |
| 2022-11-14 07:13:30 | <Solid> | I was going to say `ppRename' might suffice for this, but it only gets the WindowSpace and not the whole WindowSet... Though you can use `ppPrinters' to create a new predicate to use instead of `ppVisible' |
| 2022-11-14 07:15:59 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 260 seconds) |
| 2022-11-14 07:23:10 | <Rutherther[m]> | <Solid> "I was going to say `ppRename..." <- oh, do you know if there are some public dotfiles/examples using that? I haven't learned Haskell yet so I am very bad in understanding it from the documentation. But I will eventually figure it out I think |
| 2022-11-14 07:23:52 | <Rutherther[m]> | it could be any usage of ppRename/ppPrinters, doesn't have to be the one I want |
| 2022-11-14 07:30:07 | <Solid> | mh, I don't think I've seen very many ppPrinters uses (mostly people can get by without it), sorry |
| 2022-11-14 07:30:21 | <Solid> | i would write something up but I think I better get back to work now :) |
| 2022-11-14 07:30:46 | <Rutherther[m]> | Solid: okay, thanks for your time |
| 2022-11-14 09:24:37 | → | Guest7325 joins (~coco@85.195.206.136) |
All times are in UTC.