Commit graph

35 commits

Author SHA1 Message Date
Abin Simon
d1cf72c968 Drop size_value from blocks docs 2023-01-18 10:28:01 +05:30
Narawit Rakket
1769bdb856 refactor: run clippy --fix 2022-08-02 09:31:24 +05:30
Narawit Rakket
946f243066 refactor: simplify constant string 2022-07-13 18:57:18 +05:30
Narawit Rakket
8a4316df9f refactor: change input type from String to AsRef<Path>
This improve flexibility and reduce `String` allocation
2022-07-13 18:57:18 +05:30
Narawit Rakket
55c2ef1a7b refactor: simplify control flow 2022-07-13 18:57:18 +05:30
Narawit Rakket
5ade7b247f refactor: replace simple match with if 2022-07-09 17:27:32 +05:30
MichaelAug
f3d294357a Add unit tests 2022-05-26 11:44:29 +08:00
MichaelAug
41deb1e65c Print block header if header flag and OneLine layout is set 2022-05-26 11:44:29 +08:00
MichaelAug
d5520d2791 Add --header flag 2022-05-26 11:44:29 +08:00
Abin Simon
208448e139 Fix hyperlink display 2022-04-14 00:38:32 +08:00
khai96_
52c04df660 Add --hyperlink flag 2022-04-14 00:38:32 +08:00
Martin Matous
f5debb878e fix feedback
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
35207e246a display security label/context
fixes #367

Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Abin Simon
8dd54fee5e Add --permission octal to show permissions in octal 2022-03-21 09:34:35 +05:30
zwPapEr
e29966978e theme: 🎨 📝 update readme, change log, error log
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
b13a171a41 theme/test: 🔍 🔨 update tests to fit theme update
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
b553d07faa color: add parse theme file
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
Fabricio Dematte
e5a531778a correctly parsing custom config file arg. match 2021-06-11 09:57:41 +05:30
Fabricio Dematte
0871fd0020 add config-file arg match 2021-06-11 09:57:41 +05:30
Abin Simon
22f5a6b992 Fix test involving config file for sorting 2021-02-17 09:21:58 +05:30
Sophie Tauchert
13ab690b18 Implement parsing date format from TIME_STYLE environment 2021-01-14 22:24:26 +05:30
Finn Hediger
2341e20a1c Add example for separator to example config 2021-01-14 14:21:44 +05:30
Finn Hediger
7d5acedc20 Change name 'spacing' to 'separator' 2021-01-14 14:21:44 +05:30
Finn Hediger
10d4585492 Fix test by appending " ".to_string() to Icons::new calls 2021-01-14 14:21:44 +05:30
Finn Hediger
55c2692a63 Add --icon-spacing flag and icon.spacing config option
The spacing option takes a string and puts it between the icon and
the name. The default would be one space: " ".
2021-01-14 14:21:44 +05:30
zwPapEr
7efe3aa36e config: 🔨 🎨 update code consistency due to review
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
9b237bbf9e log: 📝 unique error output and update comment to fit config 2020-12-13 10:43:03 +05:30
zwPapEr
cf9030cdf7 config: 🔨 using target enum and vec string for config options
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
3ef4ec6e81 test: 🔍 add glob add sorting test
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
c8eddf6e2b config: 🔨 print error when config file error 2020-12-13 10:43:03 +05:30
zwPapEr
da99c70af6 test/flags: 🔍 🔨 update tests to fit serde yaml change
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2020-12-13 10:43:03 +05:30
zwPapEr
aca34d9e25 config,flag: 🔨 refactor flag using serd yaml config 2020-12-13 10:43:03 +05:30
zwPapEr
e4d8d85678 config file: 🔨 uniq file and serde yaml parsing 2020-12-13 10:43:03 +05:30
zwPapEr
0e8ae256b5 config: 🔨 refactor read config by name 2020-12-13 10:43:03 +05:30
Kai Moschcau
55a96a114d Add ability to configure default options with file
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	README.md
#	src/app.rs
#	src/core.rs
#	src/display.rs
#	src/flags.rs
#	src/meta/mod.rs
#	src/sort.rs
#	tests/integration.rs
2020-10-02 10:08:37 +05:30