irongit

added broot

huncholanehuncholaneauthored
parent ee553b4commit d16cc5252cc625cbc2098b75661fb169def4ddfcBrowse files

15 files changed, +1542 -1

+300-0broot/conf.hjson
@@ -0,0 +1,300 @@
1+###############################################################
2+# This configuration file lets you
3+# - define new commands
4+# - change the shortcut or triggering keys of built-in verbs
5+# - change the colors
6+# - set default values for flags
7+# - set special behaviors on specific paths
8+# - and more...
9+#
10+# Configuration documentation is available at
11+# https://dystroy.org/broot
12+#
13+# This file's format is Hjson ( https://hjson.github.io/ ). Some
14+# properties are commented out. To enable them, remove the `#`.
15+#
16+###############################################################
17+
18+###############################################################
19+# Default flags
20+# You can set up flags you want broot to start with by
21+# default, for example `default_flags="-ihp"` if you usually want
22+# to see hidden and gitignored files and the permissions (then
23+# if you don't want the hidden files at a specific launch,
24+# you can launch broot with `br -H`).
25+# A popular flag is the `g` one which displays git related info.
26+#
27+# default_flags:
28+
29+###############################################################
30+# Terminal's title
31+# If you want the terminal's title to be updated when you change
32+# directory, set a terminal_title pattern by uncommenting one of
33+# the examples below and tuning it to your taste.
34+#
35+# terminal_title: "[broot] {git-name}"
36+# terminal_title: "{file} 🐄"
37+# terminal_title: "-= {file-name} =-"
38+# reset_terminal_title_on_exit: false
39+
40+###############################################################
41+# Date/Time format
42+# If you want to change the format for date/time, uncomment the
43+# following line and change it according to
44+# https://docs.rs/chrono/0.4.11/chrono/format/strftime/index.html
45+#
46+# date_time_format: %Y/%m/%d %R
47+
48+###############################################################
49+# uncomment to activate modal mode
50+#
51+# (you really should read https://dystroy.org/broot/modal/
52+# before as it may not suit everybody even among vim users)
53+#
54+# You may start either in 'command' mode, or in 'input' mode
55+#
56+# modal: true
57+# initial_mode: command
58+
59+###############################################################
60+# Whether to mark the selected line with a triangle
61+#
62+show_selection_mark: true
63+
64+###############################################################
65+# Column order
66+# cols_order, if specified, must be a permutation of the following
67+# array. You should keep the name column at the end as it has a
68+# variable length.
69+#
70+# cols_order: [
71+# mark
72+# git
73+# size
74+# permission
75+# date
76+# count
77+# branch
78+# name
79+# ]
80+
81+###############################################################
82+# True Colors
83+# If this parameter isn't set, broot tries to automatically
84+# determine whether true colors (24 bits) are available.
85+# As this process is unreliable, you may uncomment this setting
86+# and set it to false or true if you notice the colors in
87+# previewed images are too off.
88+#
89+# true_colors: false
90+
91+###############################################################
92+# Icons
93+# If you want to display icons in broot, uncomment this line
94+# (see https://dystroy.org/broot/icons for installation and
95+# troubleshooting)
96+#
97+# icon_theme: vscode
98+
99+###############################################################
100+# Special paths
101+# If some paths must be handled specially, uncomment (and change
102+# this section as per the examples)
103+# Setting "list":"never" on a dir prevents broot from looking at its
104+# children when searching, unless the dir is the selected root.
105+# Setting "sum":"never" on a dir prevents broot from looking at its
106+# children when computing the total size and count of files.
107+# Setting "show":"always" makes a file visible even if its name
108+# starts with a dot.
109+# Setting "list":"always" may be useful on a link to a directory
110+# (they're otherwise not entered by broot unless selected)
111+#
112+special_paths: {
113+ "/media" : {
114+ list: "never"
115+ sum: "never"
116+ }
117+ "~/.config": { "show": "always" }
118+ "trav": {
119+ show: always
120+ list: "always",
121+ sum: "never"
122+ }
123+ # "~/useless": { "show": "never" }
124+ # "~/my-link-I-want-to-explore": { "list": "always" }
125+}
126+
127+###############################################################
128+# Quit on last cancel
129+# You can usually cancel the last state change on escape.
130+# If you want the escape key to quit broot when there's nothing
131+# to cancel (for example when you just opened broot), uncomment
132+# this parameter
133+#
134+# quit_on_last_cancel: true
135+
136+###############################################################
137+# Search modes
138+#
139+# broot allows many search modes.
140+# A search mode is defined by
141+# - the way to search: 'fuzzy', 'exact', 'regex', or 'tokens'.
142+# - where to search: file 'name', 'path', or file 'content'
143+# A search pattern may for example be "fuzzy path" (default),
144+# "regex content" or "exact path".
145+#
146+# The search mode is selected from its prefix. For example, if
147+# you type "abc", the default mode is "fuzzy path". If you type
148+# "/abc", the mode is "regex path". If you type "rn/abc", the mode
149+# is "regex name".
150+#
151+# This mapping may be modified. You may want to dedicate the
152+# empty prefix (the one which doesn't need a '/') to the
153+# search mode you use most often. The example below makes it
154+# easy to search on name rather than on the subpath.
155+#
156+# More information on
157+# https://dystroy.org/broot/input/#the-filtering-pattern
158+#
159+# search_modes: {
160+# <empty>: fuzzy name
161+# /: regex name
162+# }
163+
164+###############################################################
165+# File Extension Colors
166+#
167+# uncomment and modify the next section if you want to color
168+# file name depending on their extension
169+#
170+# ext_colors: {
171+# png: rgb(255, 128, 75)
172+# rs: yellow
173+# }
174+
175+###############################################################
176+# Max file size for content search
177+#
178+# Bigger files are ignored when searching their content. You
179+# can specify this size either in ISO units (eg 5GB) or in
180+# the old binary units (eg 44Kib)
181+content_search_max_file_size: 10MB
182+
183+###############################################################
184+# Max Panels Count
185+#
186+# Change this if you sometimes want to have more than 2 panels
187+# open
188+# max_panels_count: 2
189+
190+###############################################################
191+# Update work dir
192+#
193+# By default, broot process' work dir is kept in sync with the
194+# current's panel root. If you want to keep it unchanged,
195+# uncomment this setting
196+#
197+# update_work_dir: false
198+
199+###############################################################
200+# Kitty Keyboard extension
201+#
202+# If you want to use advanced keyboard shortcuts in Kitty
203+# compatible terminals (Kitty, Wezterm), set this to true.
204+#
205+# This makes it possible to use shortcuts like 'space-n',
206+# 'ctrl-alt-a-b', 'shift-space', etc.
207+#
208+enable_kitty_keyboard: false
209+
210+###############################################################
211+# lines around matching line in filtered preview
212+#
213+# When searching the content of a file, you can have either
214+# only the matching lines displayed, or some of the surrounding
215+# ones too.
216+#
217+lines_before_match_in_preview: 1
218+lines_after_match_in_preview: 1
219+
220+###############################################################
221+# transformations before preview
222+#
223+# It's possible to define transformations to apply to some files
224+# before calling one of the default preview renderers in broot.
225+# Below are two examples that you may uncomment and adapt:
226+#
227+preview_transformers: [
228+ // # Use mutool to render any PDF file as an image
229+ // # In this example we use placeholders for the input and output files
230+ // {
231+ // input_extensions: [ "pdf" ] // case doesn't matter
232+ // output_extension: png
233+ // mode: image
234+ // command: [ "mutool", "draw", "-w", "1000", "-o", "{output-path}", "{input-path}" ]
235+ // }
236+
237+ // # Use LibreOffice to render Office files as images
238+ // # In this example, {output-dir} is used to specify where LibreOffice must write the result
239+ // {
240+ // input_extensions: [ "xls", "xlsx", "doc", "docx", "ppt", "pptx", "ods", "odt", "odp" ]
241+ // output_extension: png
242+ // mode: image
243+ // command: [
244+ // "libreoffice", "--headless",
245+ // "--convert-to", "png",
246+ // "--outdir", "{output-dir}",
247+ // "{input-path}"
248+ // ]
249+ // }
250+
251+ // # Use jq to beautify JSON
252+ // # In this example, the command refers to neither the input nor the output,
253+ // # so broot pipes them to the stdin and stdout of the jq process
254+ // {
255+ // input_extensions: [ "json" ]
256+ // output_extension: json
257+ // mode: text
258+ // command: [ "jq" ]
259+ // }
260+]
261+
262+###############################################################
263+# Imports
264+#
265+# While it's possible to have all configuration in one file,
266+# it's more convenient to split it in several ones.
267+# Importing also allows to set a condition on the terminal's
268+# color, which makes it possible to have a different skin
269+# chosen when your terminal has a light background and when
270+# it has a light one.
271+imports: [
272+
273+ # Verbs are better configured in verbs.hjson. But you
274+ # can also add another files for your personal verbs
275+ verbs.hjson
276+
277+ # This file contains the skin to use when the terminal
278+ # is dark (or when this couldn't be determined)
279+ {
280+ luma: [
281+ dark
282+ unknown
283+ ]
284+ # (un)comment to choose your preferred skin
285+ file: skins/dark-blue.hjson
286+ //file: skins/catppuccin-macchiato.hjson
287+ //file: skins/catppuccin-mocha.hjson
288+ //file: skins/dark-gruvbox.hjson
289+ //file: skins/dark-orange.hjson
290+ //file: skins/solarized-dark.hjson
291+ }
292+
293+ # This skin is imported when your terminal is light
294+ {
295+ luma: light
296+ # (un)comment to choose your preferred skin
297+ //file: skins/solarized-light.hjson
298+ file: skins/white.hjson
299+ }
300+]
+20-0broot/launcher/bash/br
@@ -0,0 +1,20 @@
1+
2+# This script was automatically generated by the broot program
3+# More information can be found in https://github.com/Canop/broot
4+# This function starts broot and executes the command
5+# it produces, if any.
6+# It's needed because some shell commands, like `cd`,
7+# have no useful effect if executed in a subshell.
8+function br {
9+ local cmd cmd_file code
10+ cmd_file=$(mktemp)
11+ if broot --outcmd "$cmd_file" "$@"; then
12+ cmd=$(<"$cmd_file")
13+ command rm -f "$cmd_file"
14+ eval "$cmd"
15+ else
16+ code=$?
17+ command rm -f "$cmd_file"
18+ return "$code"
19+ fi
20+}
+4-0broot/launcher/installed-v4
@@ -0,0 +1,4 @@
1+
2+This file tells broot the installation of the br function was done.
3+If there's a problem and you want to install it again run
4+ broot -- install
+171-0broot/skins/catppuccin-macchiato.hjson
@@ -0,0 +1,171 @@
1+###############################################################
2+# A skin for a terminal with a dark background
3+# This skin uses RGB values so won't work for some
4+# terminals.
5+#
6+# Created by Majixed
7+# Based on the catppuccin-mocha theme by A. Taha Baki <atahabaki@pm.me>
8+#
9+# Doc at https://dystroy.org/broot/skins/
10+###############################################################
11+
12+skin: {
13+ input: rgb(202, 211, 245) none
14+ # fg:none bg:$surface2
15+ selected_line: none rgb(91, 96, 120)
16+ # fg:$text bg:none
17+ default: rgb(202, 211, 245) none
18+ # fg:$overlay0 bg:none
19+ tree: rgb(110, 115, 141) none
20+ # fg:$sapphire bg:none
21+ parent: rgb(125, 196, 228) none
22+ file: none none
23+#
24+### PERMISSIONS
25+#
26+ perm__: rgb(184, 192, 224) none
27+ # $peach
28+ perm_r: rgb(245, 169, 127) none
29+ # $maroon
30+ perm_w: rgb(238, 153, 160) none
31+ # $green
32+ perm_x: rgb(166, 218, 149) none
33+ # $teal
34+ owner: rgb(139, 213, 202) none
35+ # $sky
36+ group: rgb(145, 215, 227) none
37+#
38+### DATE
39+#
40+ # $subtext1
41+ dates: rgb(184, 192, 224) none
42+#
43+### DIRECTORY
44+#
45+ # $lavender
46+ directory: rgb(183, 189, 248) none Bold
47+ # $green
48+ exe: rgb(166, 218, 149) none
49+ # $yellow
50+ link: rgb(238, 212, 159) none
51+ # $subtext0
52+ pruning: rgb(165, 173, 203) none Italic
53+#
54+### PREVIEW
55+#
56+ # fg:$text bg:$mantle
57+ preview_title: rgb(202, 211, 245) rgb(30, 32, 48)
58+ # fg:$text bg:$mantle
59+ preview: rgb(202, 211, 245) rgb(30, 32, 48)
60+ # fg:$overlay0
61+ preview_line_number: rgb(110, 115, 141) none
62+ # fg:$overlay0
63+ preview_separator: rgb(110, 115, 141) none
64+#
65+### MATCH
66+#
67+ char_match: rgb(238, 212, 159) rgb(73, 77, 100) Bold Italic
68+ content_match: rgb(238, 212, 159) rgb(73, 77, 100) Bold Italic
69+ preview_match: rgb(238, 212, 159) rgb(73, 77, 100) Bold Italic
70+
71+ # children count
72+ # fg:$yellow bg:none
73+ count: rgb(238, 212, 159) none
74+ sparse: rgb(237, 135, 150) none
75+ content_extract: rgb(237, 135, 150) none Italic
76+#
77+### GIT
78+#
79+ git_branch: rgb(245, 169, 127) none
80+ git_insertions: rgb(245, 169, 127) none
81+ git_deletions: rgb(245, 169, 127) none
82+ git_status_current: rgb(245, 169, 127) none
83+ git_status_modified: rgb(245, 169, 127) none
84+ git_status_new: rgb(245, 169, 127) none Bold
85+ git_status_ignored: rgb(245, 169, 127) none
86+ git_status_conflicted: rgb(245, 169, 127) none
87+ git_status_other: rgb(245, 169, 127) none
88+ staging_area_title: rgb(245, 169, 127) none
89+#
90+### FLAG
91+#
92+ flag_label: rgb(237, 135, 150) none
93+ flag_value: rgb(237, 135, 150) none Bold
94+#
95+### STATUS
96+#
97+ # fg:none #bg:$mantle
98+ status_normal: none rgb(30, 32, 48)
99+ # fg:$red bg:$mantle
100+ status_italic: rgb(237, 135, 150) rgb(30, 32, 48) Italic
101+ # fg:$maroon bg:$mantle
102+ status_bold: rgb(238, 153, 160) rgb(30, 32, 48) Bold
103+ # fg:$maroon bg:$mantle
104+ status_ellipsis: rgb(238, 153, 160) rgb(30, 32, 48) Bold
105+ # fg:$text bg:$red
106+ status_error: rgb(202, 211, 245) rgb(237, 135, 150)
107+ # fg:$maroon bg:$mantle
108+ status_job: rgb(238, 153, 160) rgb(40, 38, 37)
109+ # fg:$maroon bg:$mantle
110+ status_code: rgb(238, 153, 160) rgb(30, 32, 48) Italic
111+ # fg:$maroon bg:$mantle
112+ mode_command_mark: rgb(238, 153, 160) rgb(30, 32, 48) Bold
113+#
114+### HELP
115+#
116+ # fg:$text
117+ help_paragraph: rgb(202, 211, 245) none
118+ # fg:$red
119+ help_headers: rgb(237, 135, 150) none Bold
120+ # fg:$peach
121+ help_bold: rgb(245, 169, 127) none Bold
122+ # fg:$yellow
123+ help_italic: rgb(238, 212, 159) none Italic
124+ # fg:green bg:$surface0
125+ help_code: rgb(166, 218, 149) rgb(54, 58, 79)
126+ # fg:$overlay0
127+ help_table_border: rgb(110, 115, 141) none
128+#
129+### HEX
130+#
131+ # fg:$text
132+ hex_null: rgb(202, 211, 245) none
133+ # fg:$peach
134+ hex_ascii_graphic: rgb(245, 169, 127) none
135+ # fg:$green
136+ hex_ascii_whitespace: rgb(166, 218, 149) none
137+ # fg: teal
138+ hex_ascii_other: rgb(139, 213, 202) none
139+ # fg: red
140+ hex_non_ascii: rgb(237, 135, 150) none
141+
142+ # fg:$text bg:$red
143+ file_error: rgb(243, 60, 44) none
144+#
145+### PURPOSE
146+#
147+ purpose_normal: none none
148+ purpose_italic: rgb(169, 90, 127) none Italic
149+ purpose_bold: rgb(169, 90, 127) none Bold
150+ purpose_ellipsis: none none
151+#
152+### SCROLLBAR
153+#
154+ # fg:$surface0
155+ scrollbar_track: rgb(54, 58, 79) none
156+ # fg:$surface1
157+ scrollbar_thumb: rgb(91, 96, 120) none
158+#
159+### GOODTOBAD
160+#
161+ good_to_bad_0: rgb(166, 218, 149) none
162+ good_to_bad_1: rgb(139, 213, 202) none
163+ good_to_bad_2: rgb(145, 215, 227) none
164+ good_to_bad_3: rgb(125, 196, 228) none
165+ good_to_bad_4: rgb(138, 173, 244) none
166+ good_to_bad_5: rgb(183, 189, 248) none
167+ good_to_bad_6: rgb(198, 160, 246) none
168+ good_to_bad_7: rgb(245, 169, 127) none
169+ good_to_bad_8: rgb(238, 153, 160) none
170+ good_to_bad_9: rgb(237, 135, 150) none
171+}
+171-0broot/skins/catppuccin-mocha.hjson
@@ -0,0 +1,171 @@
1+###############################################################
2+# A skin for a terminal with a dark background
3+# This skin uses RGB values so won't work for some
4+# terminals.
5+#
6+# Created by A. Taha Baki <atahabaki@pm.me>
7+# Based on the built-in gruvbox theme.
8+#
9+# Doc at https://dystroy.org/broot/skins/
10+###############################################################
11+
12+skin: {
13+ input: rgb(205, 214, 244) none
14+ # fg:none bg:$surface2
15+ selected_line: none rgb(88, 91, 112)
16+ # fg:$text bg:none
17+ default: rgb(205, 214, 244) none
18+ # fg:$overlay0 bg:none
19+ tree: rgb(108, 112, 134) none
20+ # fg:$sapphire bg:none
21+ parent: rgb(116, 199, 236) none
22+ file: none none
23+#
24+### PERMISSIONS
25+#
26+ perm__: rgb(186, 194, 222) none
27+ # $peach
28+ perm_r: rgb(250, 179, 135) none
29+ # $maroon
30+ perm_w: rgb(235, 160, 172) none
31+ # $green
32+ perm_x: rgb(166, 227, 161) none
33+ # $teal
34+ owner: rgb(148, 226, 213) none
35+ # $sky
36+ group: rgb(137, 220, 235) none
37+#
38+### DATE
39+#
40+ # $subtext1
41+ dates: rgb(186, 194, 222) none
42+#
43+### DIRECTORY
44+#
45+ # $lavender
46+ directory: rgb(180, 190, 254) none Bold
47+ # $green
48+ exe: rgb(166, 227, 161) none
49+ # $yellow
50+ link: rgb(249, 226, 175) none
51+ # $subtext0
52+ pruning: rgb(166, 173, 200) none Italic
53+#
54+### PREVIEW
55+#
56+ # fg:$text bg:$mantle
57+ preview_title: rgb(205, 214, 244) rgb(24, 24, 37)
58+ # fg:$text bg:$mantle
59+ preview: rgb(205, 214, 244) rgb(24, 24, 37)
60+ # fg:$overlay0
61+ preview_line_number: rgb(108, 112, 134) none
62+ # fg:$overlay0
63+ preview_separator: rgb(108, 112, 134) none
64+#
65+### MATCH
66+#
67+ char_match: rgb(249, 226, 175) rgb(69, 71, 90) Bold Italic
68+ content_match: rgb(249, 226, 175) rgb(69, 71, 90) Bold Italic
69+ preview_match: rgb(249, 226, 175) rgb(69, 71, 90) Bold Italic
70+
71+ # children count
72+ # fg:$yellow bg:none
73+ count: rgb(249, 226, 175) none
74+ sparse: rgb(243, 139, 168) none
75+ content_extract: rgb(243, 139, 168) none Italic
76+#
77+### GIT
78+#
79+ git_branch: rgb(250, 179, 135) none
80+ git_insertions: rgb(250, 179, 135) none
81+ git_deletions: rgb(250, 179, 135) none
82+ git_status_current: rgb(250, 179, 135) none
83+ git_status_modified: rgb(250, 179, 135) none
84+ git_status_new: rgb(250, 179, 135) none Bold
85+ git_status_ignored: rgb(250, 179, 135) none
86+ git_status_conflicted: rgb(250, 179, 135) none
87+ git_status_other: rgb(250, 179, 135) none
88+ staging_area_title: rgb(250, 179, 135) none
89+#
90+### FLAG
91+#
92+ flag_label: rgb(243, 139, 168) none
93+ flag_value: rgb(243, 139, 168) none Bold
94+#
95+### STATUS
96+#
97+ # fg:none #bg:$mantle
98+ status_normal: none rgb(24, 24, 37)
99+ # fg:$red bg:$mantle
100+ status_italic: rgb(243, 139, 168) rgb(24, 24, 37) Italic
101+ # fg:$maroon bg:$mantle
102+ status_bold: rgb(235, 160, 172) rgb(24, 24, 37) Bold
103+ # fg:$maroon bg:$mantle
104+ status_ellipsis: rgb(235, 160, 172) rgb(24, 24, 37) Bold
105+ # fg:$text bg:$red
106+ status_error: rgb(205, 214, 244) rgb(243, 139, 168)
107+ # fg:$maroon bg:$mantle
108+ status_job: rgb(235, 160, 172) rgb(40, 38, 37)
109+ # fg:$maroon bg:$mantle
110+ status_code: rgb(235, 160, 172) rgb(24, 24, 37) Italic
111+ # fg:$maroon bg:$mantle
112+ mode_command_mark: rgb(235, 160, 172) rgb(24, 24, 37) Bold
113+#
114+### HELP
115+#
116+ # fg:$text
117+ help_paragraph: rgb(205, 214, 244) none
118+ # fg:$red
119+ help_headers: rgb(243, 139, 168) none Bold
120+ # fg:$peach
121+ help_bold: rgb(250, 179, 135) none Bold
122+ # fg:$yellow
123+ help_italic: rgb(249, 226, 175) none Italic
124+ # fg:green bg:$surface0
125+ help_code: rgb(166, 227, 161) rgb(49, 50, 68)
126+ # fg:$overlay0
127+ help_table_border: rgb(108, 112, 134) none
128+#
129+### HEX
130+#
131+ # fg:$text
132+ hex_null: rgb(205, 214, 244) none
133+ # fg:$peach
134+ hex_ascii_graphic: rgb(250, 179, 135) none
135+ # fg:$green
136+ hex_ascii_whitespace: rgb(166, 227, 161) none
137+ # fg: teal
138+ hex_ascii_other: rgb(148, 226, 213) none
139+ # fg: red
140+ hex_non_ascii: rgb(243, 139, 168) none
141+
142+ # fg:$text bg:$red
143+ file_error: rgb(251, 73, 52) none
144+#
145+### PURPOSE
146+#
147+ purpose_normal: none none
148+ purpose_italic: rgb(177, 98, 134) none Italic
149+ purpose_bold: rgb(177, 98, 134) none Bold
150+ purpose_ellipsis: none none
151+#
152+### SCROLLBAR
153+#
154+ # fg:$surface0
155+ scrollbar_track: rgb(49, 50, 68) none
156+ # fg:$surface1
157+ scrollbar_thumb: rgb(88, 91, 112) none
158+#
159+### GOODTOBAD
160+#
161+ good_to_bad_0: rgb(166, 227, 161) none
162+ good_to_bad_1: rgb(148, 226, 213) none
163+ good_to_bad_2: rgb(137, 220, 235) none
164+ good_to_bad_3: rgb(116, 199, 236) none
165+ good_to_bad_4: rgb(137, 180, 250) none
166+ good_to_bad_5: rgb(180, 190, 254) none
167+ good_to_bad_6: rgb(203, 166, 247) none
168+ good_to_bad_7: rgb(250, 179, 135) none
169+ good_to_bad_8: rgb(235, 160, 172) none
170+ good_to_bad_9: rgb(243, 139, 168) none
171+}
+115-0broot/skins/dark-blue.hjson
@@ -0,0 +1,115 @@
1+###############################################################
2+# A skin for a terminal with a dark background
3+#
4+# To create your own skin, copy this file, change the entries
5+# and import your skin file from the main conf file (look
6+# for "imports")
7+#
8+# Doc at https://dystroy.org/broot/skins/
9+###############################################################
10+
11+###############################################################
12+# Skin
13+# If you want to change the colors of broot,
14+# uncomment the following block and start messing
15+# with the various values.
16+# A skin entry value is made of two parts separated with a '/':
17+# The first one is the skin for the active panel.
18+# The second one, optional, is the skin for non active panels.
19+# You may find explanations and other skins on
20+# https://dystroy.org/broot/skins
21+###############################################################
22+skin: {
23+ default: gray(22) none / gray(20) none
24+ tree: gray(8) None / gray(4) None
25+ parent: gray(18) None / gray(13) None
26+ file: gray(22) None / gray(15) None
27+ directory: ansi(110) None bold / ansi(110) None
28+ exe: Cyan None
29+ link: Magenta None
30+ pruning: gray(12) None Italic
31+ perm__: gray(5) None
32+ perm_r: ansi(94) None
33+ perm_w: ansi(132) None
34+ perm_x: ansi(65) None
35+ owner: ansi(138) None
36+ group: ansi(131) None
37+ count: ansi(138) gray(4)
38+ dates: ansi(66) None
39+ sparse: ansi(214) None
40+ content_extract: ansi(29) None
41+ content_match: ansi(34) None
42+ device_id_major: ansi(138) None
43+ device_id_sep: ansi(102) None
44+ device_id_minor: ansi(138) None
45+ git_branch: ansi(178) None
46+ git_insertions: ansi(28) None
47+ git_deletions: ansi(160) None
48+ git_status_current: gray(5) None
49+ git_status_modified: ansi(28) None
50+ git_status_new: ansi(94) None bold
51+ git_status_ignored: gray(17) None
52+ git_status_conflicted: ansi(88) None
53+ git_status_other: ansi(88) None
54+ selected_line: None gray(6) / None gray(4)
55+ char_match: Green None
56+ file_error: Red None
57+ flag_label: gray(15) gray(2)
58+ flag_value: ansi(178) gray(2) bold
59+ input: White gray(2) / gray(15) None
60+ status_error: gray(22) ansi(124)
61+ status_job: ansi(220) gray(5)
62+ status_normal: gray(20) gray(4) / gray(2) gray(2)
63+ status_italic: ansi(178) gray(4) / gray(2) gray(2)
64+ status_bold: ansi(178) gray(4) bold / gray(2) gray(2)
65+ status_code: ansi(229) gray(4) / gray(2) gray(2)
66+ status_ellipsis: gray(19) gray(1) / gray(2) gray(2)
67+ purpose_normal: gray(20) gray(2)
68+ purpose_italic: ansi(178) gray(2)
69+ purpose_bold: ansi(178) gray(2) bold
70+ purpose_ellipsis: gray(20) gray(2)
71+ scrollbar_track: gray(7) None / gray(4) None
72+ scrollbar_thumb: gray(22) None / gray(14) None
73+ help_paragraph: gray(20) None
74+ help_bold: ansi(178) None bold
75+ help_italic: ansi(229) None
76+ help_code: gray(21) gray(3)
77+ help_headers: ansi(178) None
78+ help_table_border: ansi(239) None
79+ preview: gray(20) gray(1) / gray(18) gray(2)
80+ preview_title: gray(23) gray(2) / gray(21) gray(2)
81+ preview_line_number: gray(12) gray(3)
82+ preview_separator: gray(5) None
83+ preview_match: None ansi(29)
84+ hex_null: gray(8) None
85+ hex_ascii_graphic: gray(18) None
86+ hex_ascii_whitespace: ansi(143) None
87+ hex_ascii_other: ansi(215) None
88+ hex_non_ascii: ansi(167) None
89+ staging_area_title: gray(22) gray(2) / gray(20) gray(3)
90+ mode_command_mark: gray(5) ansi(204) bold
91+ good_to_bad_0: ansi(28)
92+ good_to_bad_1: ansi(29)
93+ good_to_bad_2: ansi(29)
94+ good_to_bad_3: ansi(29)
95+ good_to_bad_4: ansi(29)
96+ good_to_bad_5: ansi(100)
97+ good_to_bad_6: ansi(136)
98+ good_to_bad_7: ansi(172)
99+ good_to_bad_8: ansi(166)
100+ good_to_bad_9: ansi(196)
101+}
102+
103+###############################################################
104+# Syntax Theme
105+#
106+# If you want to choose the theme used for preview, uncomment
107+# one of the following lines:
108+#
109+# syntax_theme: GitHub
110+# syntax_theme: SolarizedDark
111+# syntax_theme: SolarizedLight
112+syntax_theme: MochaDark
113+# syntax_theme: OceanDark
114+# syntax_theme: OceanLight
115+
+88-0broot/skins/dark-gruvbox.hjson
@@ -0,0 +1,88 @@
1+###############################################################
2+# A skin for a terminal with a dark background
3+# This skin uses RGB values so won't work for some
4+# terminals.
5+#
6+#
7+# (initially contributed by @basbebe)
8+#
9+# Doc at https://dystroy.org/broot/skins/
10+###############################################################
11+
12+skin: {
13+ default: rgb(235, 219, 178) none / rgb(189, 174, 147) none
14+ tree: rgb(70, 70, 80) None / rgb(60, 60, 60) None
15+ parent: rgb(235, 219, 178) none / rgb(189, 174, 147) none Italic
16+ file: None None / None None Italic
17+ directory: rgb(131, 165, 152) None Bold / rgb(131, 165, 152) None
18+ exe: rgb(184, 187, 38) None
19+ link: rgb(104, 157, 106) None
20+ pruning: rgb(124, 111, 100) None Italic
21+ perm__: None None
22+ perm_r: rgb(215, 153, 33) None
23+ perm_w: rgb(204, 36, 29) None
24+ perm_x: rgb(152, 151, 26) None
25+ owner: rgb(215, 153, 33) None Bold
26+ group: rgb(215, 153, 33) None
27+ count: rgb(69, 133, 136) rgb(50, 48, 47)
28+ dates: rgb(168, 153, 132) None
29+ sparse: rgb(250, 189,47) None
30+ content_extract: ansi(29) None Italic
31+ content_match: ansi(34) None Bold
32+ git_branch: rgb(251, 241, 199) None
33+ git_insertions: rgb(152, 151, 26) None
34+ git_deletions: rgb(190, 15, 23) None
35+ git_status_current: rgb(60, 56, 54) None
36+ git_status_modified: rgb(152, 151, 26) None
37+ git_status_new: rgb(104, 187, 38) None Bold
38+ git_status_ignored: rgb(213, 196, 161) None
39+ git_status_conflicted: rgb(204, 36, 29) None
40+ git_status_other: rgb(204, 36, 29) None
41+ selected_line: None rgb(60, 56, 54) / None rgb(50, 48, 47)
42+ char_match: rgb(250, 189, 47) None
43+ file_error: rgb(251, 73, 52) None
44+ flag_label: rgb(189, 174, 147) None
45+ flag_value: rgb(211, 134, 155) None Bold
46+ input: rgb(251, 241, 199) None / rgb(189, 174, 147) None Italic
47+ status_error: rgb(213, 196, 161) rgb(204, 36, 29)
48+ status_job: rgb(250, 189, 47) rgb(60, 56, 54)
49+ status_normal: None rgb(40, 38, 37) / None None
50+ status_italic: rgb(211, 134, 155) rgb(40, 38, 37) Italic / None None
51+ status_bold: rgb(211, 134, 155) rgb(40, 38, 37) Bold / None None
52+ status_code: rgb(251, 241, 199) rgb(40, 38, 37) / None None
53+ status_ellipsis: rgb(251, 241, 199) rgb(40, 38, 37) Bold / None None
54+ purpose_normal: None None
55+ purpose_italic: rgb(177, 98, 134) None Italic
56+ purpose_bold: rgb(177, 98, 134) None Bold
57+ purpose_ellipsis: None None
58+ scrollbar_track: rgb(80, 73, 69) None / rgb(50, 48, 47) None
59+ scrollbar_thumb: rgb(213, 196, 161) None / rgb(102, 92, 84) None
60+ help_paragraph: None None
61+ help_bold: rgb(214, 93, 14) None Bold
62+ help_italic: rgb(211, 134, 155) None Italic
63+ help_code: rgb(142, 192, 124) rgb(50, 48, 47)
64+ help_headers: rgb(254, 128, 25) None Bold
65+ help_table_border: rgb(80, 73, 69) None
66+ preview_title: rgb(235, 219, 178) rgb(40, 40, 40) / rgb(189, 174, 147) rgb(40, 40, 40)
67+ preview: rgb(235, 219, 178) rgb(40, 40, 40) / rgb(235, 219, 178) rgb(40, 40, 40)
68+ preview_line_number: rgb(124, 111, 100) None / rgb(124, 111, 100) rgb(40, 40, 40)
69+ preview_separator: rgb(70, 70, 80) None / rgb(60, 60, 60) None
70+ preview_match: None ansi(29) Bold
71+ hex_null: rgb(189, 174, 147) None
72+ hex_ascii_graphic: rgb(213, 196, 161) None
73+ hex_ascii_whitespace: rgb(152, 151, 26) None
74+ hex_ascii_other: rgb(254, 128, 25) None
75+ hex_non_ascii: rgb(214, 93, 14) None
76+ staging_area_title: rgb(235, 219, 178) rgb(40, 40, 40) / rgb(189, 174, 147) rgb(40, 40, 40)
77+ mode_command_mark: gray(5) ansi(204) Bold
78+ good_to_bad_0: ansi(28)
79+ good_to_bad_1: ansi(29)
80+ good_to_bad_2: ansi(29)
81+ good_to_bad_3: ansi(29)
82+ good_to_bad_4: ansi(29)
83+ good_to_bad_5: ansi(100)
84+ good_to_bad_6: ansi(136)
85+ good_to_bad_7: ansi(172)
86+ good_to_bad_8: ansi(166)
87+ good_to_bad_9: ansi(196)
88+}
+110-0broot/skins/dark-orange.hjson
@@ -0,0 +1,110 @@
1+###############################################################
2+# A skin for a terminal with a dark background
3+#
4+# To create your own skin, copy this file, change the entries
5+# and import your skin file from the main conf file (look
6+# for "imports")
7+#
8+# Doc at https://dystroy.org/broot/skins/
9+###############################################################
10+
11+###############################################################
12+# Skin
13+# If you want to change the colors of broot,
14+# uncomment the following bloc and start messing
15+# with the various values.
16+# A skin entry value is made of two parts separated with a '/':
17+# The first one is the skin for the active panel.
18+# The second one, optional, is the skin for non active panels.
19+# You may find explanations and other skins on
20+# https://dystroy.org/broot/skins
21+###############################################################
22+skin: {
23+ default: none none / gray(20) none
24+ tree: ansi(94) None / gray(3) None
25+ parent: gray(18) None / gray(13) None
26+ file: gray(20) None / gray(15) None
27+ directory: ansi(208) None Bold / ansi(172) None bold
28+ exe: Cyan None
29+ link: Magenta None
30+ pruning: gray(12) None Italic
31+ perm__: gray(5) None
32+ perm_r: ansi(94) None
33+ perm_w: ansi(132) None
34+ perm_x: ansi(65) None
35+ owner: ansi(138) None
36+ group: ansi(131) None
37+ count: ansi(136) gray(3)
38+ dates: ansi(66) None
39+ sparse: ansi(214) None
40+ content_extract: ansi(29) None
41+ content_match: ansi(34) None
42+ git_branch: ansi(229) None
43+ git_insertions: ansi(28) None
44+ git_deletions: ansi(160) None
45+ git_status_current: gray(5) None
46+ git_status_modified: ansi(28) None
47+ git_status_new: ansi(94) None Bold
48+ git_status_ignored: gray(17) None
49+ git_status_conflicted: ansi(88) None
50+ git_status_other: ansi(88) None
51+ selected_line: None gray(5) / None gray(4)
52+ char_match: Yellow None
53+ file_error: Red None
54+ flag_label: gray(15) None
55+ flag_value: ansi(208) None Bold
56+ input: White None / gray(15) gray(2)
57+ status_error: gray(22) ansi(124)
58+ status_job: ansi(220) gray(5)
59+ status_normal: gray(20) gray(3) / gray(2) gray(2)
60+ status_italic: ansi(208) gray(3) / gray(2) gray(2)
61+ status_bold: ansi(208) gray(3) Bold / gray(2) gray(2)
62+ status_code: ansi(229) gray(3) / gray(2) gray(2)
63+ status_ellipsis: gray(19) gray(1) / gray(2) gray(2)
64+ purpose_normal: gray(20) gray(2)
65+ purpose_italic: ansi(178) gray(2)
66+ purpose_bold: ansi(178) gray(2) Bold
67+ purpose_ellipsis: gray(20) gray(2)
68+ scrollbar_track: gray(7) None / gray(4) None
69+ scrollbar_thumb: gray(22) None / gray(14) None
70+ help_paragraph: gray(20) None
71+ help_bold: ansi(208) None Bold
72+ help_italic: ansi(166) None
73+ help_code: gray(21) gray(3)
74+ help_headers: ansi(208) None
75+ help_table_border: ansi(239) None
76+ preview: gray(20) gray(1) / gray(18) gray(2)
77+ preview_line_number: gray(12) gray(3)
78+ preview_separator: ansi(94) None / gray(3) None
79+ preview_match: None ansi(29)
80+ hex_null: gray(11) None
81+ hex_ascii_graphic: gray(18) None
82+ hex_ascii_whitespace: ansi(143) None
83+ hex_ascii_other: ansi(215) None
84+ hex_non_ascii: ansi(167) None
85+ good_to_bad_0: ansi(28)
86+ good_to_bad_1: ansi(29)
87+ good_to_bad_2: ansi(29)
88+ good_to_bad_3: ansi(29)
89+ good_to_bad_4: ansi(29)
90+ good_to_bad_5: ansi(100)
91+ good_to_bad_6: ansi(136)
92+ good_to_bad_7: ansi(172)
93+ good_to_bad_8: ansi(166)
94+ good_to_bad_9: ansi(196)
95+}
96+
97+
98+###############################################################
99+# Syntax Theme
100+#
101+# If you want to choose the theme used for preview, uncomment
102+# one of the following lines:
103+#
104+# syntax_theme: GitHub
105+syntax_theme: SolarizedDark
106+# syntax_theme: SolarizedLight
107+# syntax_theme: MochaDark
108+# syntax_theme: OceanDark
109+# syntax_theme: OceanLight
110+
+132-0broot/skins/native-16.hjson
@@ -0,0 +1,132 @@
1+###############################################################
2+# 16 ANSI color theme. Colors in this theme are restricted from
3+# ANSI color 0 - 15. This will allow the theme to adapt to your
4+# terminal emulator's theme. Note that, for now, the preview
5+# mode does not yet support this theme because of syntect not
6+# having a 16 ansi color theme.
7+#
8+# More info at https://jeffkreeftmeijer.com/vim-16-color/
9+# Doc at https://dystroy.org/broot/skins/
10+###############################################################
11+
12+skin: {
13+ directory: ansi(12)
14+ file: ansi(7)
15+ pruning: ansi(8) none italic
16+ selected_line: none ansi(0)
17+ tree: ansi(8)
18+
19+ # Search
20+ char_match: ansi(3) none underlined
21+ parent: ansi(4) none bold
22+
23+ # File properties
24+ exe: ansi(2)
25+ link: ansi(13)
26+ sparse: ansi(12)
27+
28+ # Prompt
29+ input: ansi(6)
30+
31+ # Status bar
32+ status_bold: ansi(7) ansi(8) bold
33+ status_code: ansi(10) ansi(8)
34+ status_ellipsis: ansi(7) ansi(8)
35+ status_error: ansi(7) ansi(8)
36+ status_italic: ansi(7) ansi(8) italic
37+ status_job: ansi(7) ansi(8)
38+ status_normal: ansi(7) ansi(8)
39+
40+ # Flag status
41+ flag_label: ansi(6)
42+ flag_value: ansi(14) none bold
43+
44+ # Background
45+ default: none none
46+
47+ # Scrollbar
48+ scrollbar_track: ansi(0)
49+ scrollbar_thumb: ansi(3)
50+
51+ # Git
52+ git_branch: ansi(13)
53+ git_deletions: ansi(1)
54+ git_insertions: ansi(2)
55+ git_status_conflicted: ansi(1)
56+ git_status_current: ansi(6)
57+ git_status_ignored: ansi(8)
58+ git_status_modified: ansi(3)
59+ git_status_new: ansi(2) none bold
60+ git_status_other: ansi(5)
61+
62+ # Staging area
63+ staging_area_title: ansi(3)
64+
65+ # Documentation
66+ help_bold: ansi(7) none bold
67+ help_code: ansi(4)
68+ help_headers: ansi(3)
69+ help_italic: ansi(7) none italic
70+ help_paragraph: ansi(7)
71+ help_table_border: ansi(8)
72+
73+ # Device column
74+ device_id_major: ansi(5)
75+ device_id_minor: ansi(5)
76+ device_id_sep: ansi(5)
77+
78+ # Counts column
79+ count: ansi(13)
80+
81+ # Dates column
82+ dates: ansi(6)
83+
84+ # Permissions column
85+ group: ansi(3)
86+ owner: ansi(3)
87+ perm__: ansi(8)
88+ perm_r: ansi(3)
89+ perm_w: ansi(1)
90+ perm_x: ansi(2)
91+
92+ # Hex preview
93+ hex_null: ansi(8)
94+ hex_ascii_graphic: ansi(2)
95+ hex_ascii_whitespace: ansi(3)
96+ hex_ascii_other: ansi(4)
97+ hex_non_ascii: ansi(5)
98+
99+ # Preview
100+ # preview: none
101+ # preview_line_number: none
102+ # preview_match: none
103+ # preview_title: none
104+
105+ # Used for displaying errors
106+ file_error: ansi(1)
107+
108+ # Content searches
109+ content_extract: ansi(7)
110+ content_match: ansi(3) none underlined
111+
112+ # Used in status line
113+ purpose_bold: ansi(0) ansi(7) bold
114+ purpose_ellipsis: ansi(0)
115+ purpose_italic: ansi(0) ansi(7) italic
116+ purpose_normal: ansi(0)
117+
118+ # Modal indicator
119+ mode_command_mark: ansi(7) ansi(4)
120+
121+ # File system occupation
122+ good_to_bad_0: ansi(2)
123+ good_to_bad_1: ansi(2)
124+ good_to_bad_2: ansi(2)
125+ good_to_bad_3: ansi(2)
126+ good_to_bad_4: ansi(2)
127+ good_to_bad_5: ansi(1)
128+ good_to_bad_6: ansi(1)
129+ good_to_bad_7: ansi(1)
130+ good_to_bad_8: ansi(1)
131+ good_to_bad_9: ansi(1)
132+}
+66-0broot/skins/solarized-dark.hjson
@@ -0,0 +1,66 @@
1+// contributed by [@danieltrautmann](https://github.com/danieltrautmann)
2+//
3+//
4+// The Solarized Dark skin uses RGB values, so it might not work well with some
5+// terminals
6+//
7+// Doc at https://dystroy.org/broot/skins/
8+
9+skin: {
10+ default: "rgb(131, 148, 150) rgb(0, 43, 54) / rgb(131, 148, 150) rgb(7, 54, 66)" // base0 base03 / base01 base02
11+ tree: "rgb(88, 110, 117) none" // base01 default
12+ file: "none none" // default default
13+ directory: "rgb(38, 139, 210) none bold" // blue default bold
14+ exe: "rgb(211, 1, 2) none" // red default
15+ link: "rgb(211, 54, 130) none" // magenta default
16+ pruning: "rgb(88, 110, 117) none italic" // base01 default italic
17+ perm__: "rgb(88, 110, 117) none" // base01 default
18+ perm_r: "none none" // default default
19+ perm_w: "none none" // default default
20+ perm_x: "none none" // default default
21+ owner: "rgb(88, 110, 117) none" // base01 default
22+ group: "rgb(88, 110, 117) none" // base01 default
23+ sparse: "none none" // default default
24+ git_branch: "rgb(147, 161, 161) none" // base1 default
25+ git_insertions: "rgb(133, 153, 0) none" // green default
26+ git_deletions: "rgb(211, 1, 2) none" // red default
27+ git_status_current: "none none" // default default
28+ git_status_modified: "rgb(181, 137, 0) none" // yellow default
29+ git_status_new: "rgb(133, 153, 0) none" // green default
30+ git_status_ignored: "rgb(88, 110, 117) none" // base01 default
31+ git_status_conflicted: "rgb(211, 1, 2) none" // red default
32+ git_status_other: "rgb(211, 1, 2) none" // red default
33+ selected_line: "none rgb(7, 54, 66)" // default base02
34+ char_match: "rgb(133, 153, 0) none underlined" // green default underlined
35+ file_error: "rgb(203, 75, 22) none italic" // orange default italic
36+ flag_label: "none none" // default default
37+ flag_value: "rgb(181, 137, 0) none bold" // yellow default bold
38+ input: "none none" // default default
39+ status_error: "rgb(203, 75, 22) rgb(7, 54, 66)" // orange base02
40+ status_job: "rgb(108, 113, 196) rgb(7, 54, 66) bold" // violet base02 bold
41+ status_normal: "none rgb(7, 54, 66)" // default base02
42+ status_italic: "rgb(181, 137, 0) rgb(7, 54, 66)" // yellow base02
43+ status_bold: "rgb(147, 161, 161) rgb(7, 54, 66) bold" // base1 base02 bold
44+ status_code: "rgb(108, 113, 196) rgb(7, 54, 66)" // violet base02
45+ status_ellipsis: "none rgb(7, 54, 66)" // default base02
46+ scrollbar_track: "rgb(7, 54, 66) none" // base02 default
47+ scrollbar_thumb: "none none" // default default
48+ help_paragraph: "none none" // default default
49+ help_bold: "rgb(147, 161, 161) none bold" // base1 default bold
50+ help_italic: "rgb(147, 161, 161) none italic" // base1 default italic
51+ help_code: "rgb(147, 161, 161) rgb(7, 54, 66)" // base1 base02
52+ help_headers: "rgb(181, 137, 0) none" // yellow default
53+ help_table_border: "none none" // default default
54+ preview_title: "gray(20) rgb(0, 43, 54)"
55+ staging_area_title: "gray(22) rgb(0, 43, 54)"
56+ good_to_bad_0: "ansi(28)" // green
57+ good_to_bad_1: "ansi(29)"
58+ good_to_bad_2: "ansi(29)"
59+ good_to_bad_3: "ansi(29)"
60+ good_to_bad_4: "ansi(29)"
61+ good_to_bad_5: "ansi(100)"
62+ good_to_bad_6: "ansi(136)"
63+ good_to_bad_7: "ansi(172)"
64+ good_to_bad_8: "ansi(166)"
65+ good_to_bad_9: "ansi(196)" // red
66+}
+118-0broot/skins/solarized-light.hjson
@@ -0,0 +1,118 @@
1+// contributed by [@danieltrautmann](https://github.com/danieltrautmann)
2+//
3+//
4+// The Solarized Light skin uses RGB values, so it might not work well with some
5+// terminals
6+//
7+// If you prefer to keep the background the same as your terminal background, change
8+// the "default" entry to
9+// default: "none none / rgb(147, 161, 161) none"
10+//
11+// Doc at https://dystroy.org/broot/skins/
12+
13+skin: {
14+ // base00 default / base1 base2
15+ default: "rgb(101, 123, 131) none / rgb(147, 161, 161) none"
16+ // base1 default
17+ tree: "rgb(147, 161, 161) none"
18+ // default default
19+ file: "none none"
20+ // blue default bold
21+ directory: "rgb(38, 139, 210) none bold"
22+ // red default
23+ exe: "rgb(211, 1, 2) none"
24+ // magenta default
25+ link: "rgb(211, 54, 130) none"
26+ // base1 default italic
27+ pruning: "rgb(147, 161, 161) none italic"
28+ // base1 default
29+ perm__: "rgb(147, 161, 161) none"
30+ // default default
31+ perm_r: "none none"
32+ // default default
33+ perm_w: "none none"
34+ // default default
35+ perm_x: "none none"
36+ // base1 default
37+ owner: "rgb(147, 161, 161) none"
38+ // base1 default
39+ group: "rgb(147, 161, 161) none"
40+ // default default
41+ sparse: "none none"
42+ // base01 default
43+ git_branch: "rgb(88, 110, 117) none"
44+ // green default
45+ git_insertions: "rgb(133, 153, 0) none"
46+ // red default
47+ git_deletions: "rgb(211, 1, 2) none"
48+ // default default
49+ git_status_current: "none none"
50+ // yellow default
51+ git_status_modified: "rgb(181, 137, 0) none"
52+ // green default
53+ git_status_new: "rgb(133, 153, 0) none"
54+ // base1 default
55+ git_status_ignored: "rgb(147, 161, 161) none"
56+ // red default
57+ git_status_conflicted: "rgb(211, 1, 2) none"
58+ // red default
59+ git_status_other: "rgb(211, 1, 2) none"
60+ // default base2
61+ selected_line: "none rgb(238, 232, 213)"
62+ // green default underlined
63+ char_match: "rgb(133, 153, 0) none underlined"
64+ // orange default italic
65+ file_error: "rgb(203, 75, 22) none italic"
66+ // default default
67+ flag_label: "none none"
68+ // yellow default bold
69+ flag_value: "rgb(181, 137, 0) none bold"
70+ // default default
71+ input: "none none"
72+ // orange base2
73+ status_error: "rgb(203, 75, 22) rgb(238, 232, 213)"
74+ // violet base2 bold
75+ status_job: "rgb(108, 113, 196) rgb(238, 232, 213) bold"
76+ // default base2
77+ status_normal: "none rgb(238, 232, 213)"
78+ // yellow base2
79+ status_italic: "rgb(181, 137, 0) rgb(238, 232, 213)"
80+ // base01 base2 bold
81+ status_bold: "rgb(88, 110, 117) rgb(238, 232, 213) bold"
82+ // violet base2
83+ status_code: "rgb(108, 113, 196) rgb(238, 232, 213)"
84+ // default base2
85+ status_ellipsis: "none rgb(238, 232, 213)"
86+ // base2 default
87+ scrollbar_track: "rgb(238, 232, 213) none"
88+ // default default
89+ scrollbar_thumb: "none none"
90+ // default default
91+ help_paragraph: "none none"
92+ // base01 default bold
93+ help_bold: "rgb(88, 110, 117) none bold"
94+ // base01 default italic
95+ help_italic: "rgb(88, 110, 117) none italic"
96+ // base01 base2
97+ help_code: "rgb(88, 110, 117) rgb(238, 232, 213)"
98+ // yellow default
99+ help_headers: "rgb(181, 137, 0) none"
100+ // default default
101+ help_table_border: "none none"
102+ preview_title: "rgb(147, 161, 161) rgb(238, 232, 213)"
103+ preview: "rgb(101, 123, 131) rgb(253, 246, 227) / rgb(147, 161, 161) rgb(238, 232, 213)"
104+ preview_line_number: "rgb(147, 161, 161) rgb(238, 232, 213)"
105+ preview_separator: "rgb(147, 161, 161) rgb(238, 232, 213)"
106+ preview_match: "None ansi(29)"
107+ staging_area_title: "gray(22) rgb(253, 246, 227)"
108+ good_to_bad_0: ansi(28)
109+ good_to_bad_1: ansi(29)
110+ good_to_bad_2: ansi(29)
111+ good_to_bad_3: ansi(29)
112+ good_to_bad_4: ansi(29)
113+ good_to_bad_5: ansi(100)
114+ good_to_bad_6: ansi(136)
115+ good_to_bad_7: ansi(172)
116+ good_to_bad_8: ansi(166)
117+ good_to_bad_9: ansi(196)
118+}
+84-0broot/skins/white.hjson
@@ -0,0 +1,84 @@
1+###############################################################
2+# A skin for a terminal with a white background
3+#
4+# To create your own skin, copy this file, change the entries
5+# and import your skin file from the main conf file (look
6+# for "imports")
7+#
8+# Doc at https://dystroy.org/broot/skins/
9+###############################################################
10+syntax_theme: base16-ocean.light
11+
12+skin: {
13+ default: gray(1) None
14+ tree: gray(7) None / gray(18) None
15+ file: gray(3) None / gray(8) None
16+ directory: ansi(25) None Bold / ansi(25) None
17+ exe: ansi(130) None
18+ link: Magenta None
19+ pruning: gray(12) None Italic
20+ perm__: gray(5) None
21+ perm_r: ansi(94) None
22+ perm_w: ansi(132) None
23+ perm_x: ansi(65) None
24+ owner: ansi(138) None
25+ group: ansi(131) None
26+ dates: ansi(66) None
27+ sparse: ansi(214) None
28+ git_branch: ansi(229) None
29+ git_insertions: ansi(28) None
30+ git_deletions: ansi(160) None
31+ git_status_current: gray(5) None
32+ git_status_modified: ansi(28) None
33+ git_status_new: ansi(94) None Bold
34+ git_status_ignored: gray(17) None
35+ git_status_conflicted: ansi(88) None
36+ git_status_other: ansi(88) None
37+ selected_line: None gray(19) / None gray(21)
38+ char_match: ansi(22) None
39+ file_error: Red None
40+ flag_label: gray(9) None
41+ flag_value: ansi(166) None Bold
42+ input: gray(1) None / gray(4) gray(20)
43+ status_error: gray(22) ansi(124)
44+ status_normal: gray(2) gray(20)
45+ status_job: ansi(220) gray(5)
46+ status_italic: ansi(166) gray(20)
47+ status_bold: ansi(166) gray(20)
48+ status_code: ansi(17) gray(20)
49+ status_ellipsis: gray(19) gray(15)
50+ purpose_normal: gray(20) gray(2)
51+ purpose_italic: ansi(178) gray(2)
52+ purpose_bold: ansi(178) gray(2) Bold
53+ purpose_ellipsis: gray(20) gray(2)
54+ scrollbar_track: gray(20) none
55+ scrollbar_thumb: ansi(238) none
56+ help_paragraph: gray(2) none
57+ help_bold: ansi(202) none bold
58+ help_italic: ansi(202) none italic
59+ help_code: gray(5) gray(22)
60+ help_headers: ansi(202) none
61+ help_table_border: ansi(239) None
62+ preview_title: gray(3) None / gray(5) None
63+ preview: gray(5) gray(23) / gray(7) gray(23)
64+ preview_line_number: gray(6) gray(20)
65+ preview_separator: gray(7) None / gray(18) None
66+ preview_match: None ansi(29) Underlined
67+ hex_null: gray(15) None
68+ hex_ascii_graphic: gray(2) None
69+ hex_ascii_whitespace: ansi(143) None
70+ hex_ascii_other: ansi(215) None
71+ hex_non_ascii: ansi(167) None
72+ staging_area_title: gray(8) None / gray(13) None
73+ mode_command_mark: gray(15) ansi(204) Bold
74+ good_to_bad_0: ansi(28)
75+ good_to_bad_1: ansi(29)
76+ good_to_bad_2: ansi(29)
77+ good_to_bad_3: ansi(29)
78+ good_to_bad_4: ansi(29)
79+ good_to_bad_5: ansi(100)
80+ good_to_bad_6: ansi(136)
81+ good_to_bad_7: ansi(172)
82+ good_to_bad_8: ansi(166)
83+ good_to_bad_9: ansi(196)
84+}
+161-0broot/verbs.hjson
@@ -0,0 +1,161 @@
1+###############################################################
2+# This file contains the verb definitions for broot
3+#
4+# Some verbs here are examples and not enabled by default: you
5+# need to uncomment them if you want to use them.
6+#
7+# Documentation at https://dystroy.org/broot/verbs/
8+###############################################################
9+
10+verbs: [
11+
12+ # You should customize this standard opening of text files.
13+ # If you edit text files in your terminal (vi, emacs, helix, eg.), then
14+ # you'll find it convenient to change the 'key' from 'ctrl-e' to 'enter'.
15+ #
16+ # If $EDITOR isn't set on your computer, you should either set it using
17+ # something similar to
18+ # export EDITOR=/usr/local/bin/nvim
19+ # or just replace it with your editor of choice in the 'execution'
20+ # pattern.
21+ # If your editor is able to open a file on a specific line, use {line}
22+ # so that you may jump directly at the right line from a preview or
23+ # a content search.
24+ # Examples depending on your favourite editor:
25+ # execution: "nvim +{line} {file}"
26+ # execution: "helix {file}:{line}"
27+ {
28+ invocation: edit
29+ shortcut: e
30+ key: ctrl-e
31+ apply_to: text_file
32+ execution: "$EDITOR {file}"
33+ leave_broot: false
34+ }
35+
36+ # Example 1: launching `tail -n` on the selected file (leaving broot)
37+ # {
38+ # name: tail_lines
39+ # invocation: tl {lines_count}
40+ # execution: "tail -f -n {lines_count} {file}"
41+ # }
42+
43+ # Example 2: creating a new file without leaving broot
44+ # {
45+ # name: touch
46+ # invocation: touch {new_file}
47+ # execution: "touch {directory}/{new_file}"
48+ # leave_broot: false
49+ # }
50+
51+ # A convenient shortcut to create new text files in
52+ # the current directory or below
53+ {
54+ invocation: create {subpath}
55+ execution: "$EDITOR {directory}/{subpath}"
56+ leave_broot: false
57+ }
58+
59+ {
60+ invocation: git_diff
61+ shortcut: gd
62+ leave_broot: false
63+ execution: "git difftool -y {file}"
64+ }
65+
66+ # On ctrl-b, propose the creation of a copy of the selection.
67+ # While this might occasionally be useful, this verb is mostly here
68+ # as an example to demonstrate rare standard groups like {file-stem}
69+ # and {file-dot-extension} and the auto_exec verb property which
70+ # allows verbs to stay unexecuted until you hit enter
71+ {
72+ invocation: "backup {version}"
73+ key: ctrl-b
74+ leave_broot: false
75+ auto_exec: false
76+ execution: "cp -r {file} {parent}/{file-stem}-{version}{file-dot-extension}"
77+ }
78+
79+ # By default, `rm` does the system rm, and completely removes
80+ # the file. If you prefer to have the file moved to the system
81+ # trash, you may use the ':trash' internal with the verb below:
82+ # {
83+ # invocation: "rm"
84+ # internal: "trash"
85+ # leave_broot: false
86+ # }
87+
88+ # This verb lets you launch a terminal on ctrl-T
89+ # (on exit you'll be back in broot)
90+ {
91+ invocation: terminal
92+ key: ctrl-t
93+ execution: "$SHELL"
94+ set_working_dir: true
95+ leave_broot: false
96+ }
97+
98+ # Here's an example of a verb needing the shell capabilities.
99+ # It copies all children of the currently selected directory
100+ # to a destination you type.
101+ # It uses a star, which needs the shell for expansion. That's
102+ # why such verb must have the `from_shell: true` parameter.
103+ # {
104+ # invocation: "cpa {dest}"
105+ # external: "cp -r {directory}/* {dest}"
106+ # from_shell: true
107+ # }
108+
109+ # Here's an example of a shortcut bringing you to your home directory
110+ # {
111+ # invocation: home
112+ # key: ctrl-home
113+ # execution: ":focus ~"
114+ # }
115+
116+ # Here's going to the work-dir root of the current git repository
117+ # {
118+ # invocation: gtr
119+ # execution: ":focus {git-root}"
120+ # }
121+
122+ # A popular set of shortcuts for going up and down:
123+ #
124+ # {
125+ # key: ctrl-k
126+ # execution: ":line_up"
127+ # }
128+ # {
129+ # key: ctrl-j
130+ # execution: ":line_down"
131+ # }
132+ # {
133+ # key: ctrl-u
134+ # execution: ":page_up"
135+ # }
136+ # {
137+ # key: ctrl-d
138+ # execution: ":page_down"
139+ # }
140+
141+ # If you develop using git, you might like to often switch
142+ # to the git status filter:
143+ # {
144+ # key: alt-g
145+ # execution: ":toggle_git_status"
146+ # }
147+
148+ # You can reproduce the bindings of Norton Commander
149+ # on copying or moving to the other panel:
150+ # {
151+ # key: F5
152+ # external: "cp -r {file} {other-panel-directory}"
153+ # leave_broot: false
154+ # }
155+ # {
156+ # key: F6
157+ # external: "mv {file} {other-panel-directory}"
158+ # leave_broot: false
159+ # }
160+]
161+
+1-0manage.sh
@@ -13,6 +13,7 @@ dotfiles=(
1313 "yabai:$HOME/.config/yabai"
1414 "skhd:$HOME/.config/skhd"
1515 "btop:$HOME/.config/btop"
16+ "broot:$HOME/.config/broot"
1617 "oh-my-zsh:$HOME/.oh-my-zsh"
1718 "zshrc:$HOME/.zshrc"
1819 )
+1-1zshrc
@@ -138,4 +138,4 @@ numsum() {
138138 echo "$total"
139139 }
140140
141-source /home/huncho/.config/broot/launcher/bash/br
141+source $HOME/.config/broot/launcher/bash/br