aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_defs.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-31 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-31 20:20:20 +0100
commit8058a551ee80f0cb519012b900cac2dba669df34 (patch)
treea916fca198401c4baa3595fe661797078322d98e /src/c_defs.go
parentfuck ye gpg done (diff)
downloadhardflip-8058a551ee80f0cb519012b900cac2dba669df34.tar.gz
hardflip-8058a551ee80f0cb519012b900cac2dba669df34.tar.bz2
hardflip-8058a551ee80f0cb519012b900cac2dba669df34.tar.xz
hardflip-8058a551ee80f0cb519012b900cac2dba669df34.tar.zst
hardflip-8058a551ee80f0cb519012b900cac2dba669df34.zip
useless changes
Diffstat (limited to '')
-rw-r--r--src/c_defs.go39
1 files changed, 25 insertions, 14 deletions
diff --git a/src/c_defs.go b/src/c_defs.go
index 2662009..da3ab77 100644
--- a/src/c_defs.go
+++ b/src/c_defs.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/c_defs.go
- * Wed Jan 10 17:11:42 2024
+ * Wed Jan 31 16:40:52 2024
* Joe
*
* constants
@@ -52,12 +52,10 @@
package main
const (
- W = 0
- H = 1
- ERROR_MSG = 0
- ERROR_ERR = 1
- DATA_DIR_NAME = "hardflip"
- VERSION = "v0.2"
+ CONF_FILE_NAME = "hf.yml"
+ CONF_DIR_NAME = "hf"
+ DATA_DIR_NAME = "hf"
+ VERSION = "v0.2"
)
const (
@@ -79,16 +77,29 @@ const (
)
const (
- DEF_STYLE = 0
- DIR_STYLE = 1
- BOX_STYLE = 2
- HEAD_STYLE = 3
- ERR_STYLE = 4
- TITLE_STYLE = 5
- BOT_STYLE = 6
+ W = 0
+ H = 1
+ ERROR_MSG = 0
+ ERROR_ERR = 1
+ STYLE_DEF = 0
+ STYLE_DIR = 1
+ STYLE_BOX = 2
+ STYLE_HEAD = 3
+ STYLE_ERR = 4
+ STYLE_TITLE = 5
+ STYLE_BOT = 6
)
var (
HOST_ICONS = [2]string{" ", " "}
DIRS_ICONS = [2]string{" ", " "}
)
+
+var DEFAULT_OPS = HardOpts{
+ true,
+ true,
+ "",
+ false,
+ "",
+}
+