Home liberachat/#kmonad: Logs Calendar

Logs on 2021-06-13 (liberachat/#kmonad)

04:22:42 × tomsmeding quits (~tomsmedin@2a03:b0c0:0:1010::767:3001) (Quit: ZNC 1.8.2 - https://znc.in)
08:19:17 tomsmeding joins (~tomsmedin@tomsmeding.com)
08:44:46 × tomsmeding quits (~tomsmedin@tomsmeding.com) (Quit: ZNC 1.8.2 - https://znc.in)
08:46:06 tomsmeding joins (~tomsmedin@tomsmeding.com)
10:55:37 × lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Quit: brb)
10:56:36 lambdabot joins (~lambdabot@haskell/bot/lambdabot)
13:50:09 Guest40 joins (~Guest40@072-182-154-233.res.spectrum.com)
13:57:38 <Guest40> Hello, sorry to bother. I have a question about kmonad multi-use buttons. I am attempting to utilize the cmd-button for shell command and would like to execute a command (cmd-button "env DISPLAY=:0 brightnessctl set 1000-") and then switch to the default mode (layer-switch default), similar to shell scripting where `&&` will execute the next
13:57:38 <Guest40> command. I am having difficulties implementing this in my config. What is the appropriate multi-use key command to use for this situation? Thank you. I hope I do not come across as a help vampire with my questions though..
14:27:23 <Ikosit> Hi Guest40
14:28:54 <Guest40> Hello Ikosit, how are you today/
14:28:57 <Guest40> ?
14:29:18 <Ikosit> fine, how are you?
14:31:15 <Ikosit> i think cmd-button just executes the string in a shell, so && should work just fine
14:36:58 <Guest40> I am doing quite well this Sunday. The `&&` will work in the `cmd-button`, but I wish to do something similar to this: `(cmd-button "env DISPLAY=:0 brightnessctl set 1000-") && (layer-switch default)` where the second argument `layer-switch default` is run following the first argument.
14:46:28 <Ikosit> oh, you can do this with `#()`
14:47:21 <Ikosit> Guest40: Search "keymaps/tutorial.kbd" for tap-macros
17:07:28 <Guest40> Thank you. I apologize for overlooking this part of the manual and bothering you with my unnecessary question. The desired behavior has been successfully achieved now with tap-macros. 😀
17:08:27 <Ikosit> :)
17:10:46 × Guest40 quits (~Guest40@072-182-154-233.res.spectrum.com) (Quit: Client closed)
21:04:38 × Ikosit quits (~ikosit@user/ikosit) (Remote host closed the connection)
21:04:40 × gk[m] quits (~annapriva@2001:470:69fc:105::1608) (Remote host closed the connection)
21:05:27 Ikosit joins (~ikosit@user/ikosit)
21:06:26 gk[m] joins (~annapriva@2001:470:69fc:105::1608)
21:06:42 × ElKowar quits (~ElKowar@srv-fin.xware-gmbh.de) (Read error: Connection reset by peer)
21:07:43 ElKowar joins (~ElKowar@srv-fin.xware-gmbh.de)
21:18:51 ElKowar5 joins (~ElKowar@srv-fin.xware-gmbh.de)
21:24:53 × ElKowar quits (~ElKowar@srv-fin.xware-gmbh.de) (*.net *.split)

All times are in UTC on 2021-06-13.