Skip to content

Relabel repo as a "not i3 specific repo" #12

@Davoodeh

Description

@Davoodeh

I love this repo. I've been using this script for years now but I'm not an i3 user, even when I was I used to use i3blocks as my bar.
I was thinking why it should be "i3-keyboard-layout"?
It assumes that everybody uses i3status along with i3 which is sad.
It can simply be keyboard-layout and have keyboard-layout related scripts. (kblayout for better life even)

  • kblayout the star, script itself.
  • i3status-kblayout containing current i3status function of the i3-keyboard-layout.
  • blocks-kblayout containing update script for i3blocks (something like this)
    Which can be used in dwmblocks and i3blocks...

And maybe make the script read some $STATUSBAR variable before sending refresh singal to any bar so it can work with all bars (this is my implementation in my repo, default on dwmblocks):

    [ "$STATUSBAR" = "i3status" ] && pgrep i3status | xargs --no-run-if-empty kill -s USR1 || # tell i3status to update
        pkill -RTMIN+30 "${STATUSBAR:-dwmblocks}"

It makes the main script more aligned with its purpose: Managing layouts only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions