linuxmint / sticky

A sticky notes app for the linux desktop
GNU General Public License v2.0
187 stars 40 forks source link

Add command line options. #127

Closed 63BeetleSmurf closed 5 months ago

63BeetleSmurf commented 7 months ago

This pull request adds new command line arguments allowing for creating new notes and toggling note visibility. This is useful for creating keyboard shortcuts.

$ sticky --help
Usage:
  sticky.py [OPTION…]

Help Options:
  -h, --help                 Show help options
  --help-all                 Show all help options
  --help-gapplication        Show GApplication options
  --help-gtk                 Show GTK Options

Application Options:
  -a, --autostart            Autostart mode
  -n, --new                  Create a new note
  -t, --toggle               Toggle note visibility
  --display=DISPLAY          X display to use
clefebvre commented 5 months ago

Very nice.

clefebvre commented 5 months ago

Merged on master.