Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Extend features #66

Closed
wants to merge 1 commit into from
Closed

Extend features #66

wants to merge 1 commit into from

Conversation

zsugabubus
Copy link

Preface: Sorry for the meaningless title and this mega commit. I'm too tried to thinking of names. I changed lot's of things that tightly depend on each other, and I saw it simpler to not to break apart them.

I tried out kanshi the first time today and I experienced a few flaws and missing features. I try to provide fixups for them.

This pull request indents to...

  • Make program more user-friendly;
  • Fix some (minor) bugs and make internals more robust;
  • Add two command-line switches to achieve “IPC”.

Fixes #10 (missing ones), #11, #60, maybe #43, and provides solution for #56.

What's New

# Start kanshi to respond to changes in the background.
$ kanshi &
# Profile switcher:
$ kanshi -1p laptop-lid-up && echo Success
$ kanshi -1p laptop-external || echo External display not connected

- Fix bugs and rewrite the core logic to be more robust.
- Make output more user-friendly.
- Add basic CLI.
@zsugabubus zsugabubus closed this Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Profile names
1 participant