I bought this simple ass little macropad that uses real keyboard switches and for like a year I had no idea how to use it. There was no dirt simple file configed little command I can plant in my i3/config and be happy with it so I built it!

It was my first attempt at building a production-level thing out of rust and I’m really happy with it. Now I can finally use my goddamn macropad!!

  • ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    1
    ·
    18 days ago
       let config = match maybe_config {
            Some(c) => c,
            None => {
                panic!("didn't find config file");
            }
        };
    

    let config = maybe_config.expect("didn't find config file");

    :)

    I like the community idea. Hope to see more posts here.