Home liberachat/#kmonad: Logs Calendar

Logs on 2021-08-21 (liberachat/#kmonad)

05:52:48 kimjetwav joins (~user@2607:fea8:235f:9730:8b2e:1bfa:6b62:49c6)
12:50:04 ElKowar549 is now known as ElKowar
17:32:57 Shleemypants joins (~Shleemypa@46.188.121.47)
17:38:05 <Shleemypants> hello guys. I need a help about Kmonad. If i work not only US layout... How create switch on another lang? In X or wayland i switch xkb (xkb_layout, variant, options). Who write with KMonad not only US layout? How? Maybe can I see any examples? Cheers (sorry, my Eng is terrible)
17:39:58 <Solid> Shleemypants: On X11 you can use setxkbmap after starting kmonad (I'm sure wayland has a more complicated equivalent for it :>)
17:40:56 <Shleemypants> after switching on, for example, DE or RU, i lost config KMonad on this layout?
17:41:13 <Solid> the `uinput-sink` option has a second optional string that gets executed by a shell after kmonad starts up
17:41:40 <Shleemypants> How config KMonad for another lang? Solid - THX
17:42:22 <Shleemypants> I want modification keys not only US ;)
17:42:30 <Solid> something like `uinput-sink "keyboard-name" "sleep 0.2s; setxkbmap ru"` should probably work
17:43:16 <Shleemypants> thanks... Go trying... Later i coming back
17:43:39 × Shleemypants quits (~Shleemypa@46.188.121.47) (Quit: Client closed)
17:45:55 Shleemypants joins (~Shleemypa@46.188.121.47)
17:49:17 <Shleemypants> i found example: https://github.com/kmonad/kmonad/tree/master/keymap/user/MaxGyver83 and i didn't understand. How MaxGyver83 changed layout? Or write two .kbd files and insert on startup script?
17:53:48 <Shleemypants> if i changed lang on setxkbmap, my config with another layout not work (setxkbmap -option ctrl:nocaps -option grp:win_space_toggle us,ru -variant dvp,typewriter)
17:57:30 × Shleemypants quits (~Shleemypa@46.188.121.47) (Quit: Client closed)
19:51:40 Shleemypants joins (~Shleemypa@46.188.121.47)
19:51:46 <Shleemypants> hello again
19:52:06 <Shleemypants> guys. How use KMonad with laptop and USB keyboard?
19:52:33 <Shleemypants> Well, i have laptop keyboard and HHKB. How start KMonad?
19:52:58 <Tisoxin> in the config you define which keyboard the config is used for
19:53:37 <Tisoxin> looks like this: `input (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")`
19:53:54 <Shleemypants> i want plug usb and work with kmonad config. After unplug, i want use laptop keyboard with Kmonad config...
19:54:15 <Shleemypants> How start KMonad for 2 or more keyboards?
19:54:35 <Tisoxin> you have to start kmonad individually for both keyboards
19:54:47 <Tisoxin> either use seperate configs or the `--input` command line flag
19:54:59 <Shleemypants> And 2 or more startup scripts?
19:55:12 <Tisoxin> startup scripts?
19:55:16 <Shleemypants> yep
19:55:38 <Shleemypants> .service or .run or rc-service
19:55:46 <Shleemypants> or SySV6
19:55:57 <Shleemypants> init scripts
19:56:25 <Tisoxin> i don't know mutch about init systems
19:56:36 <Shleemypants> https://github.com/kmonad/kmonad/blob/master/startup/run
19:56:38 <Tisoxin> pls take a look at your distors (or archs) wiki
19:56:40 <Shleemypants> this..
19:56:59 <Shleemypants> So, i need 2 or more instance kmonad?
19:57:19 <Shleemypants> kmonad config1.kbd and kmonad config2.kbd?
20:00:26 <Shleemypants> Who have 2 or more keyboards? How starting KMonad for USB and integrated keyboards? Separated processes? 2 daemons?
20:01:19 <Tisoxin> Yes you need to processes
20:01:26 <Tisoxin> *two not to
20:01:53 <Tisoxin> Then you need to find the names of both keyboards and pass them two the processes
20:04:00 <Tisoxin> *to
20:04:11 <Shleemypants> Tisoxin - thanks. This is for u: https://www.youtube.com/watch?v=NhheiPTdZCw little trip...
20:07:55 × Shleemypants quits (~Shleemypa@46.188.121.47) (Quit: Client closed)

All times are in UTC on 2021-08-21.