Alois Mahdal
6abb8c6621
Move common saturnin routines to a module
This module is intended to be moved around with saturnin, but unlike
main meta-command (bin/saturnin.skel), it should not be necessary to
rename it or edit to adapt to new project.
9 years ago
Alois Mahdal
066c22b204
Fortify hook routine
Add checks for syntax errors and missing SATURNIN_SUBCOMMAND. In both
cases, ignore the hook.
9 years ago
Alois Mahdal
89b98a72f9
Update forgotten layout setting command
9 years ago
Alois Mahdal
c80c7d4a00
Use inigrep__mkpath to assemble FFOO_INIGREP_PATH
Minimize the "built part" and code repetition among saturnin "clones".
9 years ago
Alois Mahdal
ad3a74047a
Move colon delimiting to generator
9 years ago
Alois Mahdal
10281e34c2
Fix argument debug
9 years ago
Alois Mahdal
e138ad678b
Add query subcommand (only is_muted supported so far)
9 years ago
Alois Mahdal
a1d856c956
Avoid using multi-line values for style items
9 years ago
Alois Mahdal
1303a48cfa
Add internal (plumbing) ffrun wrapper
To allow for experimenting with functions from embedded library.
9 years ago
Alois Mahdal
7f630aeb92
Add internal (plumbing) commands from ffoom
This should help test and manage embedded Fastfoo library
9 years ago
Alois Mahdal
b2eb405f21
Fix confusing docstring
9 years ago
Alois Mahdal
4494cc4dad
Move clip selection to separate function
9 years ago
Alois Mahdal
78d5768ed8
Merge mkusage calls
mkusage exits by default so it's intended to exist as one call per
process only.
9 years ago
Alois Mahdal
3d7aab77f2
Port to ffoo v0.8: usage_is renamed
9 years ago
Alois Mahdal
47bfddf9f3
Port to ffoo v0.8: config.sh renamed
9 years ago
Alois Mahdal
98da2f27f8
Fall back to default mode if not specified in INI
If for certaiun group a mode is not specified, fall back to
a value inhertited from environment, or eventually to 644.
9 years ago
Alois Mahdal
8aa0b33a9e
Add bash completion module
9 years ago
Alois Mahdal
61c7eb02e1
Make use of FFOO_PRETTY_USAGE mode
9 years ago
Alois Mahdal
6af447c64f
Add internal subcommand _ls_subcommands
9 years ago
Alois Mahdal
12b62db27a
Port to ffoo v0.8: exit.sh renamed
9 years ago
Alois Mahdal
6f23cfc46e
Explicitly sort modules (by C locale)
9 years ago
Alois Mahdal
2bf4170cd7
Move out routine to find sub-modules
9 years ago
Alois Mahdal
84b11f1ffa
Use more informative function name
9 years ago
Alois Mahdal
1b7d7e32f1
Tidy up variable setting code
* Add docstring,
* add explanations for local variable names,
* separate export declarations,
* sort globals alphabetically,
* add built part delimiters,
* quote paths properly.
9 years ago
Alois Mahdal
61c5e18427
Do not make up FFOO_PATH--take it from mkit directly
9 years ago
Alois Mahdal
0ec0029109
Update mkit
9 years ago
Alois Mahdal
77dd7abee3
Rename variable to reflect the path is being provided by saturnin
9 years ago
Alois Mahdal
e4cc2d414f
Use consistent format in config.mk
9 years ago
Alois Mahdal
09a0a735c9
Use inigrep directly inside saturnin
... turns out it's faster (surprise! ;))
9 years ago
Alois Mahdal
5cf1e53792
Join hooks from all paths
Due to inigrep limitation, we cannot automatically cherry-pick hook.ini
based on where the hook is found--we can only have all hooks in one
file, or use join strategy.
9 years ago
Alois Mahdal
6279892bdf
Use custom name for tempdir
9 years ago
Alois Mahdal
450c42636d
Remove debug pipes for production
9 years ago
Alois Mahdal
6f16e8862b
Bump version
9 years ago
Alois Mahdal
eaf094fe08
Remove irrelevant sub-command `ip`
Conventional ip wrapper -- not desktop-related.
9 years ago
Alois Mahdal
5f91e14199
Remove irrelevant sub-command `watch`
A debugging utility -- not desktop-related.
9 years ago
Alois Mahdal
ccdec63cb0
Remove irrelevant sub-command `czrates`
Conventional curl wrapper -- not desktop-related.
9 years ago
Alois Mahdal
477667748b
Remove irrelevant sub-command `push`
Conventional rsync wrapper -- not desktop-related.
9 years ago
Alois Mahdal
0e5cacf22a
Remove irrelevant sub-command `revert`
Conventional virsh wrapper -- not desktop-related.
9 years ago
Alois Mahdal
d2eef199be
Bump version
9 years ago
Alois Mahdal
a0d7664f08
Implement support for sub-command hooks
Add section like this to hook.ini:
[hook.mycomm]
pre = echo $SATURNIN_SUBCOMMAND will run soon
pre = echo $SATURNIN_SUBCOMMAND is almost running
post = echo $SATURNIN_SUBCOMMAND has finished now
9 years ago
Alois Mahdal
dfd3810eee
Move saturnin-conf to built-in
9 years ago
Alois Mahdal
8470af0975
Improve subcommand listing for help string
9 years ago
Alois Mahdal
a3216edab4
Quote subcommand on input
9 years ago
Alois Mahdal
f9af1886a6
Fix debugging of arg list
"@" breaks the string to several arguments, which is not what we want
here
9 years ago
Alois Mahdal
269a1590ae
Bump version
9 years ago
Alois Mahdal
20fb50dd2c
Move keyboard layout control to saturnin-kb
An improved version of previous code
9 years ago
Alois Mahdal
6a6a9770d5
Move volume control to separate subcommand
9 years ago
Alois Mahdal
9eb2797a45
Update to Fastfoo API v0.7.0
9 years ago
Alois Mahdal
72fc86ca1d
Remove daemon management
Better left to init system or desktop manager or hooks
9 years ago
Alois Mahdal
cbf9b0a183
Bump version
9 years ago