Home liberachat/#xmonad: Logs Calendar

Logs on 2022-03-09 (liberachat/#xmonad)

00:03:02 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
00:09:37 × bfrk quits (~Thunderbi@2001:9e8:36b:2a00:1573:6e9f:ebdd:ec78) (Quit: bfrk)
00:09:49 bfrk joins (~Thunderbi@i59F7ABB3.versanet.de)
00:26:46 _bfrk joins (~Thunderbi@2001:9e8:340:a800:be5e:67a8:7b80:d213)
00:28:23 × bfrk quits (~Thunderbi@i59F7ABB3.versanet.de) (Ping timeout: 256 seconds)
00:28:23 _bfrk is now known as bfrk
00:35:28 Buliarou1 joins (~gypsydang@46.232.210.139)
00:54:17 mvk joins (~mvk@2607:fea8:5cc3:7e00::45ee)
01:02:22 × Buliarou1 quits (~gypsydang@46.232.210.139) (Quit: leaving)
01:02:28 × Buliarous quits (~gypsydang@46.232.210.139) (Remote host closed the connection)
01:02:46 Buliarous joins (~gypsydang@46.232.210.139)
01:16:05 × x88x88x quits (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb) (Read error: Connection reset by peer)
02:26:36 × theproffesor quits (~theproffe@2601:282:8202:4a10::8622) (Quit: ¯\_(ツ)_/¯)
02:45:03 yauhsienhuangtw joins (~Yau-Hsien@61-231-43-120.dynamic-ip.hinet.net)
02:48:14 × yauhsien quits (~Yau-Hsien@61-231-43-120.dynamic-ip.hinet.net) (Ping timeout: 260 seconds)
03:02:57 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds)
03:09:41 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
03:11:28 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
03:24:02 banc joins (banc@gateway/vpn/airvpn/banc)
03:44:26 yauhsien_ joins (~Yau-Hsien@112.121.69.46)
03:48:09 × yauhsienhuangtw quits (~Yau-Hsien@61-231-43-120.dynamic-ip.hinet.net) (Ping timeout: 272 seconds)
03:52:25 yauhsienhuangtw joins (~Yau-Hsien@61-231-43-120.dynamic-ip.hinet.net)
03:56:23 × yauhsien_ quits (~Yau-Hsien@112.121.69.46) (Ping timeout: 272 seconds)
04:01:26 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 272 seconds)
04:34:39 × yauhsienhuangtw quits (~Yau-Hsien@61-231-43-120.dynamic-ip.hinet.net) (Read error: Connection reset by peer)
05:42:50 × bfrk quits (~Thunderbi@2001:9e8:340:a800:be5e:67a8:7b80:d213) (Ping timeout: 250 seconds)
05:45:35 bfrk joins (~Thunderbi@2001:9e8:340:a800:be5e:67a8:7b80:d213)
06:16:37 × mvk quits (~mvk@2607:fea8:5cc3:7e00::45ee) (Ping timeout: 240 seconds)
06:38:59 × steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds)
07:06:37 c209e6dc-4d76-47 joins (~aditya@2601:249:4300:1296:195:dac6:592c:a55a)
07:21:27 <Solid> iqubic: xmobar has some docs, but I don't think they have a "follow along" tutorial yet
07:21:46 <Solid> (it's been on my list for a while, but I kind of don't want to write _another_ way too long tutorial :)
08:23:15 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 256 seconds)
08:25:08 geekosaur joins (~geekosaur@xmonad/geekosaur)
08:30:03 × Natch quits (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 256 seconds)
08:34:25 Natch joins (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se)
08:41:35 dschrempf joins (~dominik@178.251.70.207)
09:32:57 × Natch quits (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se) (Ping timeout: 240 seconds)
09:35:43 <iqubic> So, the powerline status bar for vim has a way to use a triangular separator between items on the status bar. Does xmobar have the same features? See this for an example of what I'm asking about: https://github.com/powerline/powerline#screenshots
09:36:49 <iqubic> Clearly I'd want different modules than what powerline for vim does.
09:48:38 Natch joins (~natch@c-67bae255.014-297-73746f25.bbcust.telenor.se)
10:26:36 × c209e6dc-4d76-47 quits (~aditya@2601:249:4300:1296:195:dac6:592c:a55a) (Quit: Konversation terminated!)
10:34:00 <Solid> This is just a unicode character AFAIR
10:34:12 <Solid> so if xmobar can display it it should look much the same way
11:38:36 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
11:43:15 geekosaur joins (~geekosaur@xmonad/geekosaur)
11:43:45 × dartleader quits (~dartleade@64.42.151.189) (Quit: WeeChat 3.3)
11:56:40 × MrElendig quits (~Urist@archlinux/op/MrElendig) (Quit: brb, going to tjernobyl)
11:58:11 MrElendig joins (~Urist@archlinux/op/MrElendig)
12:35:53 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
12:55:52 tstsd joins (~tstsd@122.171.242.162)
12:57:01 <tstsd> Hello , wondering if someone can help me the xmonad config, my xmobar is not launching, the --recompile and --restart are working fine.
12:57:01 <tstsd> I had to compile using stack as my Arch linux libraries caused issues installing via pacman.
13:01:12 <tstsd> https://codeshare.io/wn3zjD
13:03:05 <geekosaur> "not launching" usually means something wrong with your xmobar config (xmobarrc), although it can also mean it's not in $PATH because most systems start window managers with a very limited PATH instead of the one you normally use
13:08:26 × tstsd quits (~tstsd@122.171.242.162) (Ping timeout: 260 seconds)
13:16:07 tstsd joins (~tstsd@122.177.58.37)
13:16:56 <tstsd> also, when i launch the xmobar from the terminal it showsup..
13:17:31 <tstsd> and it has a strange "Updating..." message on the top left
13:17:48 <geekosaur> that's just because you didn't launch it from xmonad
13:18:03 <geekosaur> if you type something and hit enter it'll show up there
13:18:07 <tstsd> i guessed so..
13:18:17 <geekosaur> hm, actually no, you';re using the new stuff
13:18:18 <Solid> they use property-based logging, so it should still show everything normally
13:18:50 <Solid> tstsd: you have to use XMonadLog instead of StdinReader in your xmobar config
13:18:56 <geekosaur> what does your xmobar config look like? ^^
13:19:21 <tstsd> all the required configs are in the code snippet i shared, all inclusive just one file
13:20:23 <geekosaur> so you don;t have an xmobar config?
13:20:45 <geekosaur> (xmobar's config file is distinct from xmonad's, you create an xmobarrc)
13:21:28 <tstsd> oops
13:21:45 <tstsd> bear with me, trying xmonad first time
13:24:07 <tstsd> in ~/.xmobarrc will do?
13:24:13 <Solid> yes
13:25:00 <tstsd> I have XMonadLog instead of StdinReader , is that ok?
13:25:41 <Solid> exactly, replace StdinReader with XMonadLog and also add that to your template
13:26:21 × tstsd quits (~tstsd@122.177.58.37) (Quit: Connection closed)
13:27:41 tstsd joins (~tstsd@122.177.58.37)
13:28:37 <geekosaur> this would only fix the "Updating...", though, it would still leave a PATH issue
13:37:34 <geekosaur> to fix the PATH issue, use a full path to xmobar in your xmonad config; the display manager will *not* use your shell dotfiles to find out what PATH to use, it will look in /bin and /usr/bin only
13:38:38 × ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.4)
13:39:05 <geekosaur> (I start xmonad using a wrapper that sets $PATH to work around this. you could also use System.Environment.putEnv to set PATH as the first line of main (around line 32)
13:39:24 × bfrk quits (~Thunderbi@2001:9e8:340:a800:be5e:67a8:7b80:d213) (Quit: bfrk)
13:39:25 <geekosaur> put it *before* the call to xmonad
13:39:33 _bfrk joins (~Thunderbi@i59F7ABAD.versanet.de)
13:39:48 Solid is glad he just uses startx and never had path problems
13:40:32 <geekosaur> (I use the wrapper script so I can set my PATH in one place rather than having to update it in both)
13:41:51 _bfrk is now known as bfrk
13:46:17 benin joins (~benin@183.82.26.94)
14:38:43 ArshiaAghaei[m] joins (~arshiaagh@2001:470:69fc:105::1:c382)
14:50:37 × bfrk quits (~Thunderbi@i59F7ABAD.versanet.de) (Quit: bfrk)
14:50:55 bfrk joins (~Thunderbi@i59F7ABAD.versanet.de)
15:06:35 × benin quits (~benin@183.82.26.94) (Quit: The Lounge - https://thelounge.chat)
15:15:47 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds)
15:25:28 seschwar joins (~seschwar@user/seschwar)
15:30:52 × dschrempf quits (~dominik@178.251.70.207) (Ping timeout: 250 seconds)
15:44:26 × tstsd quits (~tstsd@122.177.58.37) (Ping timeout: 256 seconds)
16:00:21 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
16:33:24 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
16:38:50 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 252 seconds)
17:07:04 × bfrk quits (~Thunderbi@i59F7ABAD.versanet.de) (Read error: No route to host)
17:07:23 bfrk joins (~Thunderbi@i59F7ABAD.versanet.de)
17:14:28 mvk joins (~mvk@2607:fea8:5cc3:7e00::45ee)
17:24:12 × bfrk quits (~Thunderbi@i59F7ABAD.versanet.de) (Ping timeout: 240 seconds)
17:24:53 <ArshiaAghaei[m]> Hi
17:25:10 <ArshiaAghaei[m]> How do I set terminal key to Mod + Enter
17:25:36 <iqubic> What does your current xmonad.hs look like?
17:25:42 <ArshiaAghaei[m]> And swap master to mod + m
17:25:49 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
17:26:28 <ArshiaAghaei[m]> * + m + Enter
17:29:28 <ArshiaAghaei[m]> Managed to figure it out
17:29:30 <ArshiaAghaei[m]> The first one at least
17:32:23 <geekosaur> how are you defining keys? if you really want mod-m Enter as swap-master, you'll really want to use additionalKeysP instead of the old-style key definitions
17:33:34 <geekosaur> ("M-m <Enter>", windows W.swapMaster)
17:33:49 <geekosaur> this requires also at the topof the file: import qualified XMonad.StackSet as W
17:34:28 <geekosaur> you'll also want to substitute a different binding for the original mod-m, which focuses the master window. perhaps mod-m f ?
18:07:25 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
18:08:36 jeeeun joins (~jeeeun@78.40.148.178)
18:10:36 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
18:27:36 <ArshiaAghaei[m]> That works too yeah
18:27:39 <ArshiaAghaei[m]> How do I do that?
18:28:01 <ArshiaAghaei[m]> I also don't see xmobar running on Arch
18:28:09 <ArshiaAghaei[m]> Even tho I made the config file
18:28:17 <ArshiaAghaei[m]> And filled it with stuff here
18:28:32 <ArshiaAghaei[m]> https://wiki.archlinux.org/title/Xmobar#Configuration
18:29:09 <geekosaur> ("M-m f", windows W.focusMaster) -- again assuming additionalKeysP
18:29:39 <iqubic> ArshiaAghaei[m] Can you share your xmonad.hs config file with us?
18:29:40 <geekosaur> you can do sub-bindings withoiut additionalKeysP but it means creating and populating a Submap manually which is kinda ick
18:39:39 <ArshiaAghaei[m]> <iqubic> "Arshia Aghaei Can you share your..." <- Sure
18:40:13 ArshiaAghaei[m] posted a file: (12KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/ntpyBhUjGQNmFMKHewpGJzPl/xmonad.hs >
18:40:24 <ArshiaAghaei[m]> It's on super early stages
18:40:33 <ArshiaAghaei[m]> So don't expect nothing fancy lol
18:41:11 <Solid> I would advise you to go through the tutorial
18:41:13 <Solid> it teaches you things
18:41:27 <ArshiaAghaei[m]> Where's the tutorial?
18:41:29 <ArshiaAghaei[m]> xmonad.org?
18:41:35 <Solid> ttps://xmonad.org/TUTORIAL.html
18:44:14 <ArshiaAghaei[m]> ty
18:44:35 × iqubic quits (~iqubic@c-67-171-37-233.hsd1.wa.comcast.net) (Quit: Connection closed)
19:02:15 <ArshiaAghaei[m]> `[ ("M-S-z", spawn "xscreensaver-command -lock")`
19:02:42 <ArshiaAghaei[m]> What would be the print screen keybinding
19:02:50 <geekosaur> <Print>
19:03:05 <geekosaur> or "<Print>" since it has to be a string
19:16:46 × jeeeun quits (~jeeeun@78.40.148.178) (Quit: The Lounge - https://thelounge.chat)
19:19:22 jeeeun joins (~jeeeun@78.40.148.178)
19:32:10 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
19:55:58 dschrempf joins (~dominik@mobiledyn-62-240-134-189.mrsn.at)
19:58:40 bfrk joins (~Thunderbi@i59f7abad.versanet.de)
20:03:46 × jeeeun quits (~jeeeun@78.40.148.178) (Ping timeout: 260 seconds)
20:07:15 steve__ joins (~steve@ool-182c2b80.dyn.optonline.net)
20:19:31 × dschrempf quits (~dominik@mobiledyn-62-240-134-189.mrsn.at) (Ping timeout: 256 seconds)
20:32:06 jeeeun joins (~jeeeun@78.40.148.178)
20:46:44 seschwar joins (~seschwar@user/seschwar)
21:54:06 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
21:55:53 geekosaur joins (~geekosaur@xmonad/geekosaur)
22:04:49 × redgloboli quits (~redglobol@user/redgloboli) (Remote host closed the connection)
22:05:05 redgloboli joins (~redglobol@user/redgloboli)
23:26:10 jenifer joins (~jenifer@097-085-050-159.res.spectrum.com)
23:32:40 <jenifer> Ok ill probably be laughed out of here but I am gonna ask anyway. Do people sometimes get tired of Haskell updates breaking there system and they just never update? lol
23:34:40 <liskin> jenifer: yes
23:34:56 <jenifer> Am I stupid to think of never updating?
23:35:23 <jenifer> Is there some kinda flag I can use when doing updates in terminal that block Haskell based updates?
23:35:41 <liskin> quite likely even distro maintainers get tired (and by tired I mean burned out) and stop maintaining stuff :-)
23:35:59 <liskin> Haskell stuff in Debian has been stuck for over a year
23:36:12 <jenifer> I use Arch
23:36:19 <jenifer> Thus get updates all the time
23:36:47 <jenifer> Silly thing is xmonad compiles fine lol but still wont load past light dm
23:36:49 <liskin> oh, well, that's bad
23:37:00 <liskin> arch doesn't let you do partial updates
23:37:22 <liskin> so you're either going to be running insecure stuff, or you'll have to accept that updates break stuff
23:38:10 <jenifer> Well I mean its only three files for me. I use Polybar so one config for it and auto start and xmonad.hs file
23:38:13 <liskin> what many people do is install haskell stuff using stack/cabal/ghcup instead of using arch packages
23:39:02 <jenifer> I mean if I just did a fresh install every 6mo should not be end of the world?
23:40:57 <liskin> well everyone will tell you it's a really bad idea because security
23:40:58 <jenifer> I can use Octopi to update one or two programs . I wonder if there is some kinda plugin or something that can be used with it to filter out things
23:41:15 <liskin> realistically as long as you keep your browser updated, it may very well be just fine :-)
23:41:20 <liskin> but don't tell anyone I told you
23:45:59 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
23:46:32 <jenifer> Well I figured id ask
23:46:35 <ArshiaAghaei[m]> <liskin> "what many people do is install..." <- I installed xmonad using pacman
23:46:36 <ArshiaAghaei[m]> It was old
23:46:44 <ArshiaAghaei[m]> 0.15 I think
23:47:53 <jenifer> Well I can drop into terminal and Arch is still working even my neofetch is there lol. So its Xmonad not starting up
23:48:18 <jenifer> It compiled fine before the reboot and says its compiling fine from terminal at login screen lol
23:49:51 <jenifer> I have something like this happen before and next day was fresh updates and boom it started working agian lol
23:50:49 <jenifer> I was looking at i3 but not sure ill like the Tree format
23:51:57 × spider__ quits (~spider@vps-951ce37a.vps.ovh.ca) (Ping timeout: 240 seconds)
23:58:27 <jenifer> Ok well I think I am gonna try a reinstall and just replace the configs with mine
23:59:40 <jenifer> Thanks :)

All times are in UTC on 2022-03-09.