diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-11 10:45:48 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-11 10:45:48 -0400 |
commit | 21a2eee53ad514061b2c8d5d21ec69fec219784d (patch) | |
tree | ae6bc46355eac7d3581aacf0f69bf421d680b857 /src/usr/share | |
parent | add usage of sudo (diff) | |
download | logout-manager-21a2eee53ad514061b2c8d5d21ec69fec219784d.tar.gz logout-manager-21a2eee53ad514061b2c8d5d21ec69fec219784d.tar.bz2 logout-manager-21a2eee53ad514061b2c8d5d21ec69fec219784d.zip |
add initial debuild stuff
move bash completion to recommended one from lint
improve make deplist with SEPARATOR
Diffstat (limited to 'src/usr/share')
-rw-r--r-- | src/usr/share/bash-completion/completions/logout-manager | 12 | ||||
-rw-r--r-- | src/usr/share/doc/logout-manager/README.md | 10 |
2 files changed, 17 insertions, 5 deletions
diff --git a/src/usr/share/bash-completion/completions/logout-manager b/src/usr/share/bash-completion/completions/logout-manager new file mode 100644 index 0000000..fd1267f --- /dev/null +++ b/src/usr/share/bash-completion/completions/logout-manager @@ -0,0 +1,12 @@ +# File: /etc/bash_completion.d/logout-manager +# Reference: +# bgscripts-core: /usr/bin/bp +# man complete + +_lm_helper() { + local cur prev words cword; + _init_completion || return + COMPREPLY=($( compgen -W "$( ~/dev/logout-manager/src/usr/libexec/logout-manager/lm-helper options )" -- "$cur" )) + return 0 +} && \ +complete -F _lm_helper -o bashdefault lm-helper diff --git a/src/usr/share/doc/logout-manager/README.md b/src/usr/share/doc/logout-manager/README.md index cfc3843..d34f02c 100644 --- a/src/usr/share/doc/logout-manager/README.md +++ b/src/usr/share/doc/logout-manager/README.md @@ -9,6 +9,7 @@ Logout Manager is a python3 utility that provides a simple menu for logout-type ## Customization The `lm-helper` logout command needs to be customized for every desktop environment. Some may need extra configurationon the window manager/desktop environment side. + ### Fluxbox For Fluxbox, you need to set a value in ~/.fluxbox/init @@ -29,12 +30,11 @@ This project is partially a programming playground for the [original author](htt ## Upsides * This project is the first to [demonstrate SVG images in tkinter in python3](https://bgstack15.wordpress.com/2019/07/13/display-svg-in-tkinter-python3/) that I could find on the Internet. +* This project demonstrates how to have the Makefile and debian/rules build a dependency list, from the Dependencies tags of the files themselves. * I have learned how to work with ncurses, gtk, and tcl in python3. * This will make Fluxbox systems easier to use for general users. +* Does not use dbus! ## Downsides -This whole thing is more complex than just logging out of my user session, and selecting a logout-type action from the display manager. - -## Improve -* add debian/ dir - * and dsc file +* This whole thing is more complex than just logging out of my user session, and selecting a logout-type action from the display manager. +* Depends on sudo instead of using native tools. |