Home freenode/#xmonad: Logs Calendar

Logs: freenode/#xmonad

←Prev  Next→
Page 1 .. 113 114 115 116 117 118 119 120 121 122 123 .. 397
39,606 events total
2021-01-21 16:19:55 kmicu is quite happy Xorg is on the way out because that “but Debian needs ancient stuff” issue is a non issue. Yay.
2021-01-21 16:21:29 <Solid> afaik there's also an xmonad module for it, but the easiest way is to put something like "xsetroot -cursor_name left_ptr" into your xinitrc or similar
2021-01-21 16:24:33 <ttmx> Huh, doesn't dwm do it per example?
2021-01-21 16:25:16 <Solid> I don't know actually, been a while since I've used dwm
2021-01-21 16:25:28 <Solid> but dwm also comes with a build in bar ;)
2021-01-21 16:30:59 growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net)
2021-01-21 16:31:03 <ttmx> Well... I can't find out how to use statusBar instead of the xmobar module :(
2021-01-21 16:32:27 <mc47> On the topic of status bars, Solid, what do you think the next step with my PR would be?
2021-01-21 16:33:06 × xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Quit: WeeChat 3.0)
2021-01-21 16:33:41 <Solid> ttmx: I send you an example above ( http://ix.io/2MN8 replace the `statusBarProp' with `statusBar', `myConfig' with `defaults' and `xmobarPP' with `def' for now, just to get it to work); what are you having problems with?
2021-01-21 16:34:16 <ttmx> Uhh, what are those "togglestrutskeys"?
2021-01-21 16:34:22 × al3x27 quits (~plovs@213.226.141.143) (Ping timeout: 264 seconds)
2021-01-21 16:34:24 xaltsc joins (~xaltsc@unaffiliated/xaltsc)
2021-01-21 16:34:27 <Solid> it's a key to toggle the bar
2021-01-21 16:34:38 <Solid> i.e. whether windows should cover it or not
2021-01-21 16:34:51 <Solid> mc47: at this point it looks good to me, so I think the next step would be to perhaps get one other maintainer on board with the general idea
2021-01-21 16:35:45 <ttmx> Right, and the XConfig?
2021-01-21 16:35:53 <ttmx> Thank you for the help btw
2021-01-21 16:37:34 <Solid> the XConfig is the underlying type of your `defaults'
2021-01-21 16:38:23 <mc47> Solid awesome, thanks again for the review... we'll see if it gets looked at soon
2021-01-21 16:38:24 <Solid> the toggleStrutsKey essentially takes such a type, gets your preferred modMask (say, Alt or Super) out of it and creates an new keybindings on "M-b"
2021-01-21 16:38:48 ADG1089__ joins (~aditya@122.163.160.223)
2021-01-21 16:39:00 <Solid> mc47: things sometimes take time in xmonad land; just depends on who's around :>
2021-01-21 16:39:07 × ADG1089_ quits (~aditya@223.235.77.133) (Ping timeout: 256 seconds)
2021-01-21 16:40:28 <mc47> Yeah, that's fine tbh, like that I don't feel any time pressure
2021-01-21 16:41:02 <Solid> But if you just ping people they'll usually show up and review whatever you throw at them :D
2021-01-21 16:41:03 <mc47> My first PR was merged in around two hours though, which surprised me (I just added xmobarBorder in it though, so it was really small)
2021-01-21 16:41:29 <mc47> Naah, it's fine
2021-01-21 16:42:38 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/16d93958b2b3eaea4e651c3c5723450f/image.png
2021-01-21 16:43:06 <ttmx> How come it doesn't seem to like the type?
2021-01-21 16:43:16 <ttmx> I'm not quite sure what they mean there aaaaaaaaaaa
2021-01-21 16:44:45 <mc47> Don't panic, I think it just needs a prgama enabled
2021-01-21 16:44:53 <mc47> maybe add {-# LANGUAGE FlexibleContexts #-} at the top of the file
2021-01-21 16:45:39 seschwar joins (~seschwar@unaffiliated/seschwar)
2021-01-21 16:47:01 <ttmx> wtf is a prgama xD
2021-01-21 16:47:14 <ttmx> I swear, haskell has been the only language until now that made me go ??????????????????????????
2021-01-21 16:47:54 <ttmx> I added that to the top of the file, but it still gives me the exact same error.
2021-01-21 16:50:49 <mc47> Pargmas are essentially a modification of the language, so you can do more stuff
2021-01-21 16:51:22 <ttmx> Aaand how would I get a systray?
2021-01-21 16:51:46 <ttmx> I'll brb, I forgot to eat and its already 5pm. Meanwhile, any idea what could be my bug?
2021-01-21 16:52:24 <ttmx> https://termbin.com/77yb Here is my config, brb
2021-01-21 16:54:06 <mc47> My bad, it's the wrong pragma
2021-01-21 16:54:27 <mc47> {-# LANGUAGE NamedFieldPuns #-}
2021-01-21 16:54:55 <mc47> Basically if the compiler tells you to "Use XXXX to permit this", add it as a pragma
2021-01-21 16:55:39 <mc47> If you want to read more, you can find it here https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html
2021-01-21 16:59:13 <Solid> oh yes I should probably not share snippets that need pragmas
2021-01-21 16:59:21 <ttmx> That did work! Thank you.
2021-01-21 16:59:29 <Solid> but I like NamedFieldPuns so much :>
2021-01-21 16:59:48 <ttmx> Now to replace the "def"
2021-01-21 17:00:09 <mc47> Solid I had no idea that existed, and it's really cool!
2021-01-21 17:00:17 <ttmx> And yeah, systray?
2021-01-21 17:01:08 <Solid> The traditional way would be to write something like `XConfig{ modMask = m }' (NamedFieldPuns is essentially the same is saying `XConfig{ modMask = modMask }'
2021-01-21 17:01:18 <mc47> ttmx you'd probably want to look at a standalone systray (it's not really a part of the window manager)
2021-01-21 17:01:42 <mc47> maybe trayer or stalonetray or something
2021-01-21 17:02:04 <mc47> and just start it in the startupHook or in your .xsession
2021-01-21 17:02:17 <Solid> mc47: it's pretty much a more readable version of RecordWildCads ;)
2021-01-21 17:03:38 <Solid> yes xmobar doesn't have systray functionality (at least not officially, I'm sure someone, somewhere hacked it in at some point and didn't submit it upstream)
2021-01-21 17:03:59 <mc47> Why don't people drop in interesting haskell pragmas in normal conversations more often?
2021-01-21 17:04:45 <Solid> hah
2021-01-21 17:07:41 <ttmx> Wasn't there a plugin to match the width or something of the systray and of xmobar?
2021-01-21 17:08:24 <mc47> I think BottomSize and TopSize will adabt to leave room for the systray
2021-01-21 17:08:27 <mc47> but I'm not sure
2021-01-21 17:10:35 <ttmx> Uhh, bottomsize where?
2021-01-21 17:10:39 <ttmx> and topsize where?
2021-01-21 17:10:54 <ttmx> wait, brb, restart laptop cause stuff
2021-01-21 17:10:56 × ttmx quits (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed)
2021-01-21 17:11:48 ttmx joins (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
2021-01-21 17:11:48 <ttmx> I'm back here!
2021-01-21 17:11:51 <ttmx> back.
2021-01-21 17:12:32 <mc47> that was quick
2021-01-21 17:12:44 <mc47> You can put that in the position = ... in your xmobar config
2021-01-21 17:12:45 <mc47> wait
2021-01-21 17:12:49 <mc47> https://github.com/TheMC47/dotfiles/blob/master/.xmonad/app/xmobar_bottom.hs
2021-01-21 17:14:36 <mc47> I'm using it with stalonetray, so this is how I'm configuring it https://github.com/TheMC47/dotfiles/blob/master/.stalonetrayrc . Nothing fancy, just position your systray of choice where you want it and you should be good
2021-01-21 17:17:53 <ttmx> uhh, is there a way to yeet that over to .config/stalonetray or something like that?
2021-01-21 17:18:05 <ttmx> and possibly move .xmonad/stuff into .config aswell?
2021-01-21 17:19:05 geekosaur joins (82650c7c@130.101.12.124)
2021-01-21 17:19:18 <Solid> you can create ~/.config/xmonad and delete ~/.xmonad and things will work
2021-01-21 17:19:53 <ttmx> Oh nice!
2021-01-21 17:19:58 <Solid> stalonetray _probably_ has a similar behaviour (never used it so no idea)
2021-01-21 17:20:52 <mc47> you can do `stalonetray -c ~/.config/stalonetray` if it doesn't pick it up
2021-01-21 17:21:00 eb0t joins (~eblip@unaffiliated/eblip)
2021-01-21 17:21:13 def_jam joins (~eblip@unaffiliated/eblip)
2021-01-21 17:21:24 <ttmx> Right, I'd place that in the startup hook thing?
2021-01-21 17:21:55 <mc47> That should do it yes
2021-01-21 17:22:34 × eblip quits (~eblip@unaffiliated/eblip) (Ping timeout: 246 seconds)
2021-01-21 17:22:34 × eb0t_ quits (~eblip@unaffiliated/eblip) (Ping timeout: 246 seconds)
2021-01-21 17:22:35 <ttmx> Aaaand how would I do that? xD
2021-01-21 17:22:42 <ttmx> SpawnOnce?
2021-01-21 17:23:20 <mc47> spawnOnce "stalonetray -c ~/.config/stalonetray" should work
2021-01-21 17:30:27 × ttmx quits (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed)
2021-01-21 17:31:06 ttmx joins (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111)
2021-01-21 17:31:38 <ttmx> Woops, had to restart again xD
2021-01-21 17:31:53 <ttmx> Luckily my restarts are at 12 seconds hehe
2021-01-21 17:34:43 <ttmx> Right uh
2021-01-21 17:34:47 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/06bbb7ef80f825fa3c7aea634b499791/image.png
2021-01-21 17:40:15 <ttmx> For reference
2021-01-21 17:40:17 <ttmx> Uploaded file: https://uploads.kiwiirc.com/files/b59f7e80813f339c992781a07fe3678d/image.png
2021-01-21 17:40:51 <ttmx> OH, I see what seems to be happening...
2021-01-21 17:41:25 <ttmx> It dumps the executable in .xmonad and then since the directory starts existing, it uses that directory as the default one, and it doesnt have my config file...
←Prev  Next→
Page 1 .. 113 114 115 116 117 118 119 120 121 122 123 .. 397

All times are in UTC.