1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

20 Commits

Author SHA1 Message Date
Chris Cummer
ca81aa5134 WTF-482 Fix redundant newline warning 2019-07-05 21:45:59 -07:00
Chris Cummer
08c7e768c0 WTF-482 Sanity-check position configuration data for modules
If a module is missing any of the positional data it now informs the
user and exits gracefully with an error.
2019-07-05 21:45:59 -07:00
Chris Cummer
9d38f5439d Improve the error messaging around a mis-configured configuration file 2019-06-30 21:19:36 -07:00
Sean Smith
ce2a9b3301 Get rid of the rest of global config
Pass appropriate config to display/focus tracker
Move open file command to a singular global
Remove global config variable
2019-04-27 22:26:23 -04:00
Sean Smith
bcf899df72 Further reduce usage of global
Bargraph moves to common settings
"Global" config moves out of wtf and into cfg for the few things that need it
We can probably eliminate a global config used across things if we want to
2019-04-27 22:26:23 -04:00
Chris Cummer
f09d08bda2 WTF-400 Common settings implemented 2019-04-18 18:22:19 -07:00
Chris Cummer
daa422aee4 WTF-400 Minor code cleanup 2019-04-16 13:32:29 -07:00
Chris Cummer
8bc217e9a1 WTF-400 Logger extracted to new config format 2019-04-15 20:29:45 -07:00
Anand Sudhir Prayaga
c8b6eb2b60 Fix references to old Github repo location with new one 2018-11-28 14:47:06 +01:00
Anand Sudhir Prayaga
9a89bf81e0 Use new config file path in error message 2018-08-20 14:24:34 +02:00
Chris Cummer
1f27cf5b00 Clean up the code in cfg/ a bit 2018-08-03 05:31:31 -07:00
Chris Cummer
0b1ec96545 Formatting fixes 2018-06-28 17:46:55 -07:00
Chris Cummer
1b32dd8277 Delete unused function 2018-06-24 07:52:42 -07:00
Chris Cummer
343612eb5e Update new config paths in documentation 2018-06-20 16:59:11 -07:00
Chris Cummer
0e141e03c8 Closes #217. Use XDG-compatible config directory
This change is largely experimental and it's entirely possible it could
wipe out your existing configuration. Be warned.

Old config path was: ~/.wtf/
New config path is:  ~/.config/wtf/

If an existing config directory already exists, this change attempts to
copy it to the new location.

Note that if your config file contains paths to files in the old config
directory, they won't work. You'll need to change them by hand.
2018-06-20 16:46:02 -07:00
Chris Cummer
4496cc7c31 Clean up the flag and config handling in main() 2018-06-16 09:14:24 -07:00
Chris Cummer
d9e1624304 Delete redundant config functions file 2018-06-13 09:28:58 -07:00
Andrew
a558ee948f Reverted names 2018-06-10 03:36:53 +03:00
Andrew
da1ffdd817 Changed name to andrewzolotukhin 2018-06-10 03:15:58 +03:00
Chris Cummer
d2dfcd8978 Add cfg/ as a top-level package concept 2018-06-09 03:58:45 -07:00