Alois Mahdal
740f30e75e
Enclose main body to main()
Makes it easier to grok the structure and keep the global space clean.
9 gadus atpakaļ
Alois Mahdal
6fddf11510
Sort variables alphabetically
Order does not matter, therefore use canonical order to simplify updates.
9 gadus atpakaļ
Alois Mahdal
806e85fce7
No need to export app version
9 gadus atpakaļ
Alois Mahdal
37eda51096
Add example command satcmd-dump
Useful for testing saturnin itself
9 gadus atpakaļ
Alois Mahdal
66c6c62c54
Add optional codename to version info
9 gadus atpakaļ
Alois Mahdal
99770e4f06
Move version printing routine to saturnin.sh module
9 gadus atpakaļ
Alois Mahdal
c2d010c69b
Update meta-data for new Mkit version
9 gadus atpakaļ
Alois Mahdal
157847710c
Update MKit to version v0.0.9
9 gadus atpakaļ
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.
9 gadus atpakaļ
Alois Mahdal
b4ecef3dd5
Add README.md demo
9 gadus atpakaļ
Alois Mahdal
62e7f608e1
Update dist section
9 gadus atpakaļ
Alois Mahdal
bee36b45f4
Rename to README.md to better appear on gitlab et al.
9 gadus atpakaļ
Alois Mahdal
cd63fd88be
Add packaging data for mkit
9 gadus atpakaļ
Alois Mahdal
8b64c64b5a
Add and demonstrate example ini file
9 gadus atpakaļ
Alois Mahdal
1f6be134c5
Add missing satcmd-echo binary
9 gadus atpakaļ
Alois Mahdal
46c1ab6781
Use more accurate variable name
9 gadus atpakaļ
Alois Mahdal
f51f9839ce
Add missing docstrings
9 gadus atpakaļ
Alois Mahdal
3a9e05c8c9
Bump version
* Use proper naming scheme
* Rename saturnin_meta module
9 gadus atpakaļ
Alois Mahdal
ed7847f49b
Use proper naming scheme
9 gadus atpakaļ
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.
9 gadus atpakaļ
Alois Mahdal
5dde43e97e
Update MKit to v0.0.8
9 gadus atpakaļ
Alois Mahdal
b601fcc548
Update TFKit to version v0.0.8
9 gadus atpakaļ
Alois Mahdal
35dbe66fbe
Bump version
9 gadus atpakaļ
Alois Mahdal
800ad3cf89
Update according to safer import style
9 gadus atpakaļ
Alois Mahdal
91a55e625b
Update after renaming of ffoo to shellfu
9 gadus atpakaļ
Alois Mahdal
c788547aec
Update MKit to version v0.0.3
9 gadus atpakaļ
Alois Mahdal
3c5cdf4daf
Update TFKit to version v0.0.7
9 gadus atpakaļ
Alois Mahdal
d5497e3ba6
Bump version
9 gadus atpakaļ
Alois Mahdal
a8652e2986
split off bmo: Rebrand a bit
9 gadus atpakaļ
Alois Mahdal
0561811acc
split off bmo: Move moving parts
9 gadus atpakaļ
Alois Mahdal
6e84d62826
split off bmo: Rewrite moving parts
9 gadus atpakaļ
Alois Mahdal
c38aa98d9a
split off bmo: Rewrite non-moving parts
9 gadus atpakaļ
Alois Mahdal
4cb0c465ee
split off bmo: Remove libexec et al
9 gadus atpakaļ
Alois Mahdal
ba7ba6e8d7
Allow leading whitespace for keyword expressions
E.g.: ` bz 1234` should now work the same as `bz 1234`.
9 gadus atpakaļ
Alois Mahdal
9e2ff2f57e
Enable (assume) UTF-8 in saturnin_urimagic
9 gadus atpakaļ
Alois Mahdal
45894d56b7
Move browser list to xuris.ini
9 gadus atpakaļ
Alois Mahdal
805b4cd216
Rename `xuris.browser` key to avoid conflict
9 gadus atpakaļ
Alois Mahdal
b53ad5befb
Move player pausing to hook ('iam.afk')
9 gadus atpakaļ
Alois Mahdal
78fc68abee
Do not debug always
10 gadus atpakaļ
Alois Mahdal
0fff6a81cf
Use (host-local) config for browser instrad of decide_bin abomination
10 gadus atpakaļ
Alois Mahdal
593a8dc09b
Update Mkit to v0.0.2
10 gadus atpakaļ
Alois Mahdal
8a5dd0f421
Make saturnin subcommand more portable
10 gadus atpakaļ
Alois Mahdal
bdf9fa038f
Update TFKit to v0.0.5
10 gadus atpakaļ
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
10 gadus atpakaļ
Alois Mahdal
4adca933c7
Die ASAP if ffoom could not be sourced
10 gadus atpakaļ
Alois Mahdal
43e2bca3a0
Remove get_i3_wsname
Workspace-based choice was not really that useful, so removing to get
rid of jq dependency
10 gadus atpakaļ
Alois Mahdal
6e128ebffd
Apply ShellCheck advice
10 gadus atpakaļ
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.
10 gadus atpakaļ
Alois Mahdal
5f89128723
Fortify against missing parameters
If user does not provide mandatory parameter, `shift 2` will fail but
will not shift anything, resulting in infinite loop.
10 gadus atpakaļ
Alois Mahdal
3d428f5dbc
Update TFkit to v0.0.4
10 gadus atpakaļ