linuxmint / sticky

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

Add command line options. #127

Closed 63BeetleSmurf closed 3 months ago

63BeetleSmurf commented 5 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 3 months ago

Very nice.

clefebvre commented 3 months ago

Merged on master.