All notable changes to this project will be documented in this file.
- Disable failing tests
- Test if directory exists before scanning it
-
Added
termargument to_autostartThetermargument is now propagated to the function, responsible to execute files found in autostart folders, so the command line option--termnow also works with the-aoption and not only when directly executing a specific desktop file. -
Add support for actions
As specified in the Desktop Entry Specification, one .desktop file (of type Application) can contain not only the main Desktop Entry group with its Exec key, but also "Additional applications actions" with their own Exec key. This commits implements running actions as well as --property output for their Name and Exec keys.
- Refactor and idiomatize some code
- Reindent code
- Use a set to keep track of seen files
- Replace
globwithos.scandir
- Add clean target to .PHONY
- Add force to clean target
- Always use configured $(NAME) instead of hard-coded name 'dex'
- Implement -s switch to specify search path
By default dex will look through $XDG_CONFIG_HOME/autostart and the xdg/autostart/ subdirectories of the $XDG_CONFIG_DIRS.
The -s switch lets you override the built in directory search path with one of your own.
- Turn utf-8 string into Unicode string literal
-
Implement -t switch to specify a target directory (closes issue #16)
-
group main if clause into functions
-
group help output
-
implement -t switch
-
add verbose output if environment is specified
- Fix function to create a Desktop Entry file
-
Fix exception when an exception occurred during loading a autostart file
-
Fix traceback when accessing the non-initialized variable app. partly fixes issue #7
-
Fix help messages
-
Fix help message
-
Fixed a parameter issue for executing commands in a terminal
-
Fix some variable names