Skip to content

Release: 1.3.0

Compare
Choose a tag to compare
@winneon winneon released this 13 Sep 20:36
· 17 commits to master since this release

For installation instructions, follow the section in the README.

Additions

  • Added a --dmenu option for selecting the output type.
    • Shorthand is -r. This option works with and requires dmenu or rofi.
  • Added a --list-displays option for listing your available displays to capture from.
    • Shorthand is -l.
    • This can be combined with dmenu or rofi to select a display to capture. See below for an example using rofi.
      • $ gsu -l | rofi -dmenu | gsu -d
  • Added a --notify option to display a notification when the utility is complete.
    • This option requires libnotify to be installed.
    • The notification will either have error info, the save location, or the uploaded URL.
  • Added a --terminal option to open the utility in a new terminal.
    • This option is useful when running gsu from a headless utility, such as xbindkeys or your DE/WM's keybind manager.
    • The default is gnome-terminal. To change the terminal that is opened, uncomment and edit the GSU_TERM variable in the configuration. Be sure to have the terminal you want to use installed.
    • Caveats: If you do not use this option when running in headless utility, and you are taking a video or gif, you will be unable to stop recording unless you manually run killall ffmpeg.

Changes

  • Allowed the --display option to read from stdin. If you are not piping into gsu, then the option will still require a value.
  • Removed the requirement of an operand. If no operand/file is provided, gsu will output to $XDG_CONFIG_HOME/gsu/imgs, with a timestamp as the filename.