Alois Mahdal
b88948ca3d
Avoid exporting SATURNIN_SUBCOMMAND directly
Scripts may need it (eg. if using `saturnin__runhook()`) but exporting
it in the middle of main script makes it harder to see the scope
clearly and also is ugly.
Tweak the saturnin__runsc syntax so that it's not dependent on this
being global and export the SATURNIN_SUBCOMMAND only for the actual
subcommand binary call.
8 years ago
Alois Mahdal
594e675521
Move usage() to saturnin.sh module
8 years ago
Alois Mahdal
740f30e75e
Enclose main body to main()
Makes it easier to grok the structure and keep the global space clean.
8 years ago
Alois Mahdal
6fddf11510
Sort variables alphabetically
Order does not matter, therefore use canonical order to simplify updates.
8 years ago
Alois Mahdal
806e85fce7
No need to export app version
8 years ago
Alois Mahdal
37eda51096
Add example command satcmd-dump
Useful for testing saturnin itself
8 years ago
Alois Mahdal
66c6c62c54
Add optional codename to version info
8 years ago
Alois Mahdal
99770e4f06
Move version printing routine to saturnin.sh module
8 years ago
Alois Mahdal
c2d010c69b
Update meta-data for new Mkit version
8 years ago
Alois Mahdal
157847710c
Update MKit to version v0.0.9
8 years ago
Alois Mahdal
ac6b62e952
Use non-specific global names where possible
Use of app name when naming of global variables and/or mkit tokens makes
upgrade of the saturnin template painful and error-prone, while none of
these variables can be overriden from environment so the namespacing
advantage is vain.
8 years ago
Alois Mahdal
b4ecef3dd5
Add README.md demo
8 years ago
Alois Mahdal
62e7f608e1
Update dist section
8 years ago
Alois Mahdal
bee36b45f4
Rename to README.md to better appear on gitlab et al.
8 years ago
Alois Mahdal
cd63fd88be
Add packaging data for mkit
8 years ago
Alois Mahdal
8b64c64b5a
Add and demonstrate example ini file
8 years ago
Alois Mahdal
1f6be134c5
Add missing satcmd-echo binary
8 years ago
Alois Mahdal
46c1ab6781
Use more accurate variable name
8 years ago
Alois Mahdal
f51f9839ce
Add missing docstrings
8 years ago
Alois Mahdal
3a9e05c8c9
Bump version
* Use proper naming scheme
* Rename saturnin_meta module
8 years ago
Alois Mahdal
ed7847f49b
Use proper naming scheme
8 years ago
Alois Mahdal
2fb1fdbcf3
Rename saturnin_meta module
Since saturnin's dedication to be "meta-command" builder, the distinction
between "meta" and something else does not make much sense.
8 years ago
Alois Mahdal
5dde43e97e
Update MKit to v0.0.8
8 years ago
Alois Mahdal
b601fcc548
Update TFKit to version v0.0.8
8 years ago
Alois Mahdal
35dbe66fbe
Bump version
9 years ago
Alois Mahdal
800ad3cf89
Update according to safer import style
9 years ago
Alois Mahdal
91a55e625b
Update after renaming of ffoo to shellfu
9 years ago
Alois Mahdal
c788547aec
Update MKit to version v0.0.3
9 years ago
Alois Mahdal
3c5cdf4daf
Update TFKit to version v0.0.7
9 years ago
Alois Mahdal
d5497e3ba6
Bump version
9 years ago
Alois Mahdal
a8652e2986
split off bmo: Rebrand a bit
9 years ago
Alois Mahdal
0561811acc
split off bmo: Move moving parts
9 years ago
Alois Mahdal
6e84d62826
split off bmo: Rewrite moving parts
9 years ago
Alois Mahdal
c38aa98d9a
split off bmo: Rewrite non-moving parts
9 years ago
Alois Mahdal
4cb0c465ee
split off bmo: Remove libexec et al
9 years ago
Alois Mahdal
ba7ba6e8d7
Allow leading whitespace for keyword expressions
E.g.: ` bz 1234` should now work the same as `bz 1234`.
9 years ago
Alois Mahdal
9e2ff2f57e
Enable (assume) UTF-8 in saturnin_urimagic
9 years ago
Alois Mahdal
45894d56b7
Move browser list to xuris.ini
9 years ago
Alois Mahdal
805b4cd216
Rename `xuris.browser` key to avoid conflict
9 years ago
Alois Mahdal
b53ad5befb
Move player pausing to hook ('iam.afk')
9 years ago
Alois Mahdal
78fc68abee
Do not debug always
9 years ago
Alois Mahdal
0fff6a81cf
Use (host-local) config for browser instrad of decide_bin abomination
9 years ago
Alois Mahdal
593a8dc09b
Update Mkit to v0.0.2
9 years ago
Alois Mahdal
8a5dd0f421
Make saturnin subcommand more portable
9 years ago
Alois Mahdal
bdf9fa038f
Update TFKit to v0.0.5
9 years ago
Alois Mahdal
a95b417e33
Fix problems introduced by SC zealotry
* dmenu really needs to have the arguments split,
* and uris use cat to enable support for - as STDIN
9 years ago
Alois Mahdal
4adca933c7
Die ASAP if ffoom could not be sourced
9 years ago
Alois Mahdal
43e2bca3a0
Remove get_i3_wsname
Workspace-based choice was not really that useful, so removing to get
rid of jq dependency
9 years ago
Alois Mahdal
6e128ebffd
Apply ShellCheck advice
9 years ago
Alois Mahdal
a59d6491e2
Fix and simplify kw/query code
Old code had problems with trailing space--which did not manifest itself
until now when I tried to use infix query (e.g. 'foo%sbar' would always
result in space after '%s').
Turns out that `read` with multiple variables splits the line just as we
need it with no extra leading/trailing junk.
9 years ago