repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

3ff28fba573d8f13949911bae50988971363448f

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (26)

+1715 / −80 text lines · 2 metadata-only

Diff layout

broot/conf.hjson

Added
new file mode 100644

+299 / −0 text lines

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###############################################################
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:
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} =-"
39###############################################################
40# Date/Time format
41# If you want to change the format for date/time, uncomment the
42# following line and change it according to
43# https://docs.rs/chrono/0.4.11/chrono/format/strftime/index.html
44#
45# date_time_format: %Y/%m/%d %R
47###############################################################
48# uncomment to activate modal mode
49#
50# (you really should read https://dystroy.org/broot/modal/
51# before as it may not suit everybody even among vim users)
52#
53# You may start either in 'command' mode, or in 'input' mode
54#
55# modal: true
56# initial_mode: command
58###############################################################
59# Whether to mark the selected line with a triangle
60#
61show_selection_mark: true
63###############################################################
64# Column order
65# cols_order, if specified, must be a permutation of the following
66# array. You should keep the name column at the end as it has a
67# variable length.
68#
69# cols_order: [
70# mark
71# git
72# size
73# permission
74# date
75# count
76# branch
77# name
78# ]
80###############################################################
81# True Colors
82# If this parameter isn't set, broot tries to automatically
83# determine whether true colors (24 bits) are available.
84# As this process is unreliable, you may uncomment this setting
85# and set it to false or true if you notice the colors in
86# previewed images are too off.
87#
88true_colors: true
90###############################################################
91# Icons
92# If you want to display icons in broot, uncomment this line
93# (see https://dystroy.org/broot/icons for installation and
94# troubleshooting)
95#
96# icon_theme: vscode
98###############################################################
99# Special paths
100# If some paths must be handled specially, uncomment (and change
101# this section as per the examples)
102# Setting "list":"never" on a dir prevents broot from looking at its
103# children when searching, unless the dir is the selected root.
104# Setting "sum":"never" on a dir prevents broot from looking at its
105# children when computing the total size and count of files.
106# Setting "show":"always" makes a file visible even if its name
107# starts with a dot.
108# Setting "list":"always" may be useful on a link to a directory
109# (they're otherwise not entered by broot unless selected)
110#
111special_paths: {
112 "/media" : {
113 list: "never"
114 sum: "never"
115 }
116 "~/.config": { "show": "always" }
117 "trav": {
118 show: always
119 list: "always",
120 sum: "never"
121 }
122 # "~/useless": { "show": "never" }
123 # "~/my-link-I-want-to-explore": { "list": "always" }
124}
126###############################################################
127# Quit on last cancel
128# You can usually cancel the last state change on escape.
129# If you want the escape key to quit broot when there's nothing
130# to cancel (for example when you just opened broot), uncomment
131# this parameter
132#
133# quit_on_last_cancel: true
135###############################################################
136# Search modes
137#
138# broot allows many search modes.
139# A search mode is defined by
140# - the way to search: 'fuzzy', 'exact', 'regex', or 'tokens'.
141# - where to search: file 'name', 'path', or file 'content'
142# A search pattern may for example be "fuzzy path" (default),
143# "regex content" or "exact path".
144#
145# The search mode is selected from its prefix. For example, if
146# you type "abc", the default mode is "fuzzy path". If you type
147# "/abc", the mode is "regex path". If you type "rn/abc", the mode
148# is "regex name".
149#
150# This mapping may be modified. You may want to dedicate the
151# empty prefix (the one which doesn't need a '/') to the
152# search mode you use most often. The example below makes it
153# easy to search on name rather than on the subpath.
154#
155# More information on
156# https://dystroy.org/broot/input/#the-filtering-pattern
157#
158# search_modes: {
159# <empty>: fuzzy name
160# /: regex name
161# }
163###############################################################
164# File Extension Colors
165#
166# uncomment and modify the next section if you want to color
167# file name depending on their extension
168#
169# ext_colors: {
170# png: rgb(255, 128, 75)
171# rs: yellow
172# }
174###############################################################
175# Max file size for content search
176#
177# Bigger files are ignored when searching their content. You
178# can specify this size either in ISO units (eg 5GB) or in
179# the old binary units (eg 44Kib)
180content_search_max_file_size: 10MB
182###############################################################
183# Max Panels Count
184#
185# Change this if you sometimes want to have more than 2 panels
186# open
187# max_panels_count: 2
189###############################################################
190# Update work dir
191#
192# By default, broot process' work dir is kept in sync with the
193# current's panel root. If you want to keep it unchanged,
194# uncomment this setting
195#
196# update_work_dir: false
198###############################################################
199# Kitty Keyboard extension
200#
201# If you want to use advanced keyboard shortcuts in Kitty
202# compatible terminals (Kitty, Wezterm), set this to true.
203#
204# This makes it possible to use shortcuts like 'space-n',
205# 'ctrl-alt-a-b', 'shift-space', etc.
206#
207enable_kitty_keyboard: false
209###############################################################
210# lines around matching line in filtered preview
211#
212# When searching the content of a file, you can have either
213# only the matching lines displayed, or some of the surrounding
214# ones too.
215#
216lines_before_match_in_preview: 1
217lines_after_match_in_preview: 1
219###############################################################
220# transformations before preview
221#
222# It's possible to define transformations to apply to some files
223# before calling one of the default preview renderers in broot.
224# Below are two examples that you may uncomment and adapt:
225#
226preview_transformers: [
227 // # Use mutool to render any PDF file as an image
228 // # In this example we use placeholders for the input and output files
229 // {
230 // input_extensions: [ "pdf" ] // case doesn't matter
231 // output_extension: png
232 // mode: image
233 // command: [ "mutool", "draw", "-w", "1000", "-o", "{output-path}", "{input-path}" ]
234 // }
236 // # Use LibreOffice to render Office files as images
237 // # In this example, {output-dir} is used to specify where LibreOffice must write the result
238 // {
239 // input_extensions: [ "xls", "xlsx", "doc", "docx", "ppt", "pptx", "ods", "odt", "odp" ]
240 // output_extension: png
241 // mode: image
242 // command: [
243 // "libreoffice", "--headless",
244 // "--convert-to", "png",
245 // "--outdir", "{output-dir}",
246 // "{input-path}"
247 // ]
248 // }
250 // # Use jq to beautify JSON
251 // # In this example, the command refers to neither the input nor the output,
252 // # so broot pipes them to the stdin and stdout of the jq process
253 // {
254 // input_extensions: [ "json" ]
255 // output_extension: json
256 // mode: text
257 // command: [ "jq" ]
258 // }
259]
261###############################################################
262# Imports
263#
264# While it's possible to have all configuration in one file,
265# it's more convenient to split it in several ones.
266# Importing also allows to set a condition on the terminal's
267# color, which makes it possible to have a different skin
268# chosen when your terminal has a light background and when
269# it has a light one.
270imports: [
272 # Verbs are better configured in verbs.hjson. But you
273 # can also add another files for your personal verbs
274 verbs.hjson
276 # This file contains the skin to use when the terminal
277 # is dark (or when this couldn't be determined)
278 {
279 luma: [
280 dark
281 unknown
282 ]
283 # (un)comment to choose your preferred skin
284 file: skins/dark-blue.hjson
285 //file: skins/catppuccin-macchiato.hjson
286 //file: skins/catppuccin-mocha.hjson
287 //file: skins/dark-gruvbox.hjson
288 //file: skins/dark-orange.hjson
289 //file: skins/solarized-dark.hjson
290 }
292 # This skin is imported when your terminal is light
293 {
294 luma: light
295 # (un)comment to choose your preferred skin
296 //file: skins/solarized-light.hjson
297 file: skins/white.hjson
298 }
299]

broot/launcher/bash/br

Added
new file mode 120000

Link change (old → new): absent → target: /home/oli/.local/share/broot/launcher/bash/1.

broot/launcher/installed-v4

Added
new file mode 100644

+4 / −0 text lines

1
2This file tells broot the installation of the br function was done.
3If there's a problem and you want to install it again run
4 broot -- install

broot/launcher/nushell/br

Added
new file mode 120000

Link change (old → new): absent → target: /home/oli/.local/share/broot/launcher/nushell/6.

broot/skins/catppuccin-macchiato.hjson

Added
new file mode 100644

+171 / −0 text lines

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###############################################################
12skin: {
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
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
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}

broot/skins/catppuccin-mocha.hjson

Added
new file mode 100644

+171 / −0 text lines

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###############################################################
12skin: {
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
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
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}

broot/skins/dark-blue.hjson

Added
new file mode 100644

+116 / −0 text lines

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###############################################################
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###############################################################
22skin: {
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}
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
112syntax_theme: MochaDark
113# syntax_theme: MochaDark
114# syntax_theme: OceanDark
115# syntax_theme: OceanLight

broot/skins/dark-gruvbox.hjson

Added
new file mode 100644

+88 / −0 text lines

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###############################################################
12skin: {
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}

broot/skins/dark-orange.hjson

Added
new file mode 100644

+111 / −0 text lines

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###############################################################
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###############################################################
22skin: {
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}
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
107syntax_theme: SolarizedDark
108# syntax_theme: MochaDark
109# syntax_theme: OceanDark
110# syntax_theme: OceanLight

broot/skins/native-16.hjson

Added
new file mode 100644

+132 / −0 text lines

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###############################################################
12skin: {
13 directory: ansi(12)
14 file: ansi(7)
15 pruning: ansi(8) none italic
16 selected_line: none ansi(0)
17 tree: ansi(8)
19 # Search
20 char_match: ansi(3) none underlined
21 parent: ansi(4) none bold
23 # File properties
24 exe: ansi(2)
25 link: ansi(13)
26 sparse: ansi(12)
28 # Prompt
29 input: ansi(6)
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)
40 # Flag status
41 flag_label: ansi(6)
42 flag_value: ansi(14) none bold
44 # Background
45 default: none none
47 # Scrollbar
48 scrollbar_track: ansi(0)
49 scrollbar_thumb: ansi(3)
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)
62 # Staging area
63 staging_area_title: ansi(3)
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)
73 # Device column
74 device_id_major: ansi(5)
75 device_id_minor: ansi(5)
76 device_id_sep: ansi(5)
78 # Counts column
79 count: ansi(13)
81 # Dates column
82 dates: ansi(6)
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)
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)
99 # Preview
100 # preview: none
101 # preview_line_number: none
102 # preview_match: none
103 # preview_title: none
105 # Used for displaying errors
106 file_error: ansi(1)
108 # Content searches
109 content_extract: ansi(7)
110 content_match: ansi(3) none underlined
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)
118 # Modal indicator
119 mode_command_mark: ansi(7) ansi(4)
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}

broot/skins/solarized-dark.hjson

Added
new file mode 100644

+66 / −0 text lines

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
9skin: {
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}

broot/skins/solarized-light.hjson

Added
new file mode 100644

+118 / −0 text lines

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/
13skin: {
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}

broot/skins/white.hjson

Added
new file mode 100644

+84 / −0 text lines

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###############################################################
10syntax_theme: base16-ocean.light
12skin: {
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}

broot/verbs.hjson

Added
new file mode 100644

+161 / −0 text lines

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
10verbs: [
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 }
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 # }
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 # }
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 }
59 {
60 invocation: git_diff
61 shortcut: gd
62 leave_broot: false
63 execution: "git difftool -y {file}"
64 }
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 }
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 # }
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 }
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 # }
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 # }
116 # Here's going to the work-dir root of the current git repository
117 # {
118 # invocation: gtr
119 # execution: ":focus {git-root}"
120 # }
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 # }
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 # }
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]

fedora.symlinks

Modified

+6 / −0 text lines

7070rbw
7171~/.config/rbw
73broot
74~/.config/broot
7376aerc/binds.conf
7477~/.config/aerc/binds.conf
8285unison/unison@.service
8386~/.config/systemd/user/unison@.service
88unison/unison@.timer
89~/.config/systemd/user/unison@.timer
8591pueue
8692~/.config/pueue

neovim/lazy-lock.json

Modified

+3 / −2 text lines

1616 "heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
1717 "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" },
1818 "lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
19 "lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" },
1920 "lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" },
2021 "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
2122 "mini.bracketed": { "branch": "main", "commit": "833d66df6e0588222312a963780c6ec42ed7437d" },
3031 "nvim-genghis": { "branch": "main", "commit": "ca258b1e466d131e17eacf0c632abe932bce20ab" },
3132 "nvim-gomove": { "branch": "main", "commit": "2b44ae7ac0804f4e3959228122f7c85bef1964e3" },
3233 "nvim-lastplace": { "branch": "main", "commit": "0bb6103c506315044872e0f84b1f736c4172bb20" },
33 "nvim-lint": { "branch": "master", "commit": "c823e2d0621b5c15aa6b46be4d69b1379bcb8fa6" },
34 "nvim-lint": { "branch": "master", "commit": "968a35d54b3a4c1ce66609cf80b14d4ae44fe77f" },
3435 "nvim-navbuddy": { "branch": "master", "commit": "f22bac988f2dd073601d75ba39ea5636ab6e38cb" },
3536 "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
3637 "nvim-neoclip.lua": { "branch": "main", "commit": "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" },
3738 "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
38 "nvim-treesitter": { "branch": "master", "commit": "929ca9c76ee20bb27cffbde4ee90583b6c54d616" },
39 "nvim-treesitter": { "branch": "master", "commit": "2b2635551c83f26f87bf122ad25fcaf90b9a6be0" },
3940 "nvim-treesitter-context": { "branch": "master", "commit": "3d5390c49e3f8fe457b376df2a49aa39d75b7911" },
4041 "nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
4142 "nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" },

neovim/lua/bugabinga/plugins/heirline.lua

Modified

+23 / −22 text lines

1414 'nvim-tree/nvim-web-devicons',
1515 { 'echasnovski/mini.diff', lazy = true, },
1616 { 'SmiteshP/nvim-navic', lazy = true, },
17 {
18 'linrongbin16/lsp-progress.nvim',
19 config = true,
20 lazy = false,
21 },
1722 },
1823 config = function ()
1924 local heirline = require 'heirline'
175180 local file_type = {
176181 provider = function ()
177 return icon.file .. ' ' .. string.upper( vim.bo.filetype )
182 return icon.file .. ' ' .. string.lower( vim.bo.filetype )
178183 end,
179184 }
237242 end,
238243 }
245 local lsp_progress = {
246 provider = function ()
247 return require 'lsp-progress'.progress()
248 end,
249 update = {
250 'User',
251 pattern = 'LspProgressStatusUpdated',
252 callback = vim.schedule_wrap( function ()
253 vim.cmd 'redrawstatus'
254 end ),
255 },
256 }
240258 local navic = {
241259 condition = function ()
242260 local ok, navic = pcall( require, 'nvim-navic' )
334352 update = 'CursorMoved',
335353 }
337 local diagnostic_enabled = {
338 init = function ( self )
339 self.icon = (not vim.diagnostic.is_enabled()) and icon.toggle_off or icon.toggle_on
340 end,
341 provider = function ( self )
342 return icon.diagnostic .. ' ' .. self.icon
343 end,
344 }
346355 local diagnostic = {
347356 condition = conditions.has_diagnostics,
515524 hl = 'Bold',
516525 }
518 local togglers = {
519 provider = function ()
520 local togglers = require 'bugabinga.options.togglers'
521 return tostring( togglers )
522 end,
523 }
525527 local macro_recording = {
526528 condition = function ()
527529 return vim.fn.reg_recording() ~= '' and vim.o.cmdheight == 0
569571 svn,
570572 align,
571573 diagnostic,
572 space,
573 lsp_active,
574574 align,
575 togglers,
576575 space,
577576 space,
578 diagnostic_enabled,
579 space,
580577 lazy,
581578 space,
579 lsp_active,
580 space,
581 lsp_progress,
582 space,
582583 file_encoding,
583584 space,
584585 file_format,

neovim/lua/std/timeago.lua

Modified

+40 / −40 text lines

22local _ = {}
44local words = {
5 justnow = 'just now',
6 minute = {singular = 'a minute ago', plural = 'minutes ago'},
7 hour = {singular = 'an hour ago', plural = 'hours ago'},
8 day = {singular = 'a day ago', plural = 'days ago'},
9 week = {singular = 'a week ago', plural = 'weeks ago'},
10 month = {singular = 'a month ago', plural = 'months ago'},
11 year = {singular = 'a year ago', plural = 'years ago'}
5 justnow = 'now',
6 minute = { singular = '1 mi', plural = 'mis', },
7 hour = { singular = '1 hr', plural = 'hrs', },
8 day = { singular = '1 dy', plural = 'dys', },
9 week = { singular = '1 wk', plural = 'wks', },
10 month = { singular = '1 mo', plural = 'mos', },
11 year = { singular = '1 yr', plural = 'yrs', },
1414---@param num number
1515---@return number
16local function round(num) return math.floor(num + 0.5) end
16local function round( num ) return math.floor( num + 0.5 ) end
1818---@param time osdate
1919---@return string
20function _.format(time)
21 local now = os.time()
22 local diff_seconds = os.difftime(now, time)
23 if diff_seconds < 45 then return words.justnow end
20function _.format( time )
21 local now = os.time()
22 local diff_seconds = os.difftime( now, time )
23 if diff_seconds < 45 then return words.justnow end
25 local diff_minutes = diff_seconds / 60
26 if diff_minutes < 1.5 then return words.minute.singular end
27 if diff_minutes < 59.5 then
28 return round(diff_minutes) .. ' ' .. words.minute.plural
29 end
25 local diff_minutes = diff_seconds / 60
26 if diff_minutes < 1.5 then return words.minute.singular end
27 if diff_minutes < 59.5 then
28 return round( diff_minutes ) .. ' ' .. words.minute.plural
29 end
31 local diff_hours = diff_minutes / 60
32 if diff_hours < 1.5 then return words.hour.singular end
33 if diff_hours < 23.5 then
34 return round(diff_hours) .. ' ' .. words.hour.plural
35 end
31 local diff_hours = diff_minutes / 60
32 if diff_hours < 1.5 then return words.hour.singular end
33 if diff_hours < 23.5 then
34 return round( diff_hours ) .. ' ' .. words.hour.plural
35 end
37 local diff_days = diff_hours / 24
38 if diff_days < 1.5 then return words.day.singular end
39 if diff_days < 7.5 then
40 return round(diff_days) .. ' ' .. words.day.plural
41 end
37 local diff_days = diff_hours / 24
38 if diff_days < 1.5 then return words.day.singular end
39 if diff_days < 7.5 then
40 return round( diff_days ) .. ' ' .. words.day.plural
41 end
43 local diff_weeks = diff_days / 7
44 if diff_weeks < 1.5 then return words.week.singular end
45 if diff_weeks < 4.5 then
46 return round(diff_weeks) .. ' ' .. words.week.plural
47 end
43 local diff_weeks = diff_days / 7
44 if diff_weeks < 1.5 then return words.week.singular end
45 if diff_weeks < 4.5 then
46 return round( diff_weeks ) .. ' ' .. words.week.plural
47 end
49 local diff_months = diff_days / 30
50 if diff_months < 1.5 then return words.month.singular end
51 if diff_months < 11.5 then
52 return round(diff_months) .. ' ' .. words.month.plural
53 end
49 local diff_months = diff_days / 30
50 if diff_months < 1.5 then return words.month.singular end
51 if diff_months < 11.5 then
52 return round( diff_months ) .. ' ' .. words.month.plural
53 end
55 local diff_years = diff_days / 365.25
56 if diff_years < 1.5 then return words.year.singular end
57 return round(diff_years) .. ' ' .. words.year.plural
55 local diff_years = diff_days / 365.25
56 if diff_years < 1.5 then return words.year.singular end
57 return round( diff_years ) .. ' ' .. words.year.plural
5858end
6060return _

nushell/login.nu

Modified

+2 / −0 text lines

77use start.nu
88use timer.nu
99use dwnld.nu
10use packages.nu
11use fedora_bootstrip.nu
1113if $env.WIN32 {
1214 use refreshenv.nu *

nushell/scripts/direnv.nu

Modified

+12 / −2 text lines

1def expand-home [] {
2 let p = $in
3 if ( $p =~ '~') {
4 return ($p | path expand)
5 }
6 return $p
7}
8
19def direnv [] {
210 [
311 {
513 code: r#'
614 open .env
715 | lines
8 | parse --regex '\s*(?P<k>.+?)\s*=\s*?(?P<v>.+)?\s*'
9 | reduce --fold {} {|x, acc| $acc | upsert $x.k $x.v}
16 | parse --regex '\s*(?P<key>.+?)\s*=\s*?(?P<value>.+)?\s*'
17 | reduce --fold {} { | entry, acc|
18 $acc | upsert $entry.key ( $entry.value | str trim | expand-home )
19 }
1020 | load-env
1121 '#
1222 }

nushell/scripts/fedora_bootstrip.nu

Added
new file mode 100755

+23 / −0 text lines

1# Installs my most used packages on fedora.
2# This mainly means devel packages for rust tools or tools in the repos.
3export def main [
4 --gui # install gui stuff
5] {
6
7 # building c/c++
8 sudo dnf groupinstall "Development Tools" "Development Libraries"
9
10 # deps of some rust crates i like to build
11 sudo dnf install fontconfig-devel freetype-devel libX11-xcb libX11-devel libstdc++-static libstdc++-devel alsa-lib-devel libspatialaudio-devel pipewire-devel systemd-devel libseat-devel cairo-gobject-devel pango-devel libdisplay-info-devel libinput-devel mesa-libgbm-devel openssl-devel wayland-devel pipewire-devel pango-devel mesa-libgbm-devel libxkbcommon-devel libseat-devel libspatialaudio-devel
13 # these seem to be deps of the openssl-sys crates build system
14 sudo dnf install perl-File-Compare perl-File-Copy perl-FindBin perl-IPC-Cmd
15
16 # my stuff
17 sudo dnf install aerc llvm clang cmake unison rustup neovim mold java-latest-openjdk-devel java-latest-openjdk-src perl-Image-ExifTool
19 # gui stuff
20 if $gui {
21 sudo dnf install gnome-tweaks zathura zathura-pdf-mudpf
22 }
23}

nushell/scripts/packages.nu

Added
new file mode 100644

+61 / −0 text lines

1export def main [
2 --clear-cache
3 --cache = "~/.cache/packages"
4 --packages = "~/Tools/packages.csv"
5 --prefix = "~/Tools"
6] {
7 check_dependencies
8 let prefix = $prefix | path expand
9 let packages = $packages | path expand
10 let packages = open --raw $packages | from csv --separator ';' --comment '#' --trim all
11 let cache = $cache | path expand
12 if $clear_cache {
13 rm --recursive --trash --interactive-once $cache
14 return
15 }
16 mkdir $cache
18 print $"Downloading packages..."
19 let $packages_file = mktemp --suffix _packages.txt --tmpdir XXX
20 $packages | get url | save --force $packages_file
21 run-external dlm '--maxConcurrentDownloads' 4 '--inputFile' $packages_file '--outputDir' $cache
23 $packages | each { |package|
25 # pipe through url parse for validation
26 let base = $package.url | url parse | get path | path basename
27 let cached = $cache | path join $base
29 print $"Installing ($package.name)"
30 if ($cached | is-archive) {
31 print $"Decompressing ($package.name)..."
32 run-external ouch decompress '--quiet' $cached '--dir' $prefix
33 } else {
34 error make {
35 msg: $"The package ($package.name) does not seem to be an archive."
36 }
37 }
39 print $"TODO: Symlinks"
40 }
41}
43def is-archive [] {
44 [ .zip .tar.gz .tar.bz2 .tar.xz .7z ] | any { |ext| $in | str ends-with $ext }
45}
47def remove-archive-extension [] {
48 let uri = $in
49 [ .zip .tar.gz .tar.bz2 .tar.xz .7z ] | reduce --fold $uri { |ext, acc|
50 $acc | str replace $ext ''
51 } | str trim
52}
54def check_dependencies [] {
55 let missing = [ ouch dlm ] | any { which $in | is-empty }
56 if $missing {
57 error make {
58 msg: 'Some dependency is missing!'
59 }
60 }
61}

tools/fedora_bootstrip.nu

Deleted
deleted file mode 100755

+0 / −14 text lines

1#!/usr/bin/env nu
2
3# building c/c++
4sudo dnf groupinstall "Development Tools" "Development Libraries"
5
6# deps of some rust crates i like to build
7sudo dnf install fontconfig-devel freetype-devel libX11-xcb libX11-devel libstdc++-static libstdc++-devel alsa-lib-devel libspatialaudio-devel pipewire-devel systemd-devel libseat-devel cairo-gobject-devel pango-devel libdisplay-info-devel libinput-devel mesa-libgbm-devel openssl-devel wayland-devel pipewire-devel pango-devel mesa-libgbm-devel libxkbcommon-devel libseat-devel libspatialaudio-devel
8
9# these seem to be deps of the openssl-sys crates build system
10sudo dnf install perl-File-Compare perl-File-Copy perl-FindBin perl-IPC-Cmd
12# my stuff
13sudo dnf install aerc llvm clang cmake unison rustup neovim mold java-latest-openjdk-devel java-latest-openjdk-src gnome-tweaks

tools/tools.csv

Modified

+8 / −0 text lines

77cargo-cache
88cargo-update;cargo-install-update
99choose
10czkawka_cli
1011du-dust; dust
1112dotenv-linter
13dupimg
1214eva
15emplace
1316eza; eza; --features vendored-openssl,vendored-libgit2
1417fend
1518fd-find;fd
3740mdcat
3841mdsh
3942monolith
43names
4044# netscanner
4145neovide;neovide; --git https://github.com/neovide/neovide
4246nu;nu; --locked
5054ripgrep;rg
5155rbw
5256rust-parallel
57rversions
5358sd
5459skim
5560sbyte
6368topgrade
6469timebutler
6570tre
71tsdl
72ttyper
6673unison-fsmonitor
6774# ugdb
6875viu
6976vivid
77wthrr
7078yazi-cli;ya; --locked
7179yazi-fm;yazi; --locked
7280zoxide

wezterm/bugabinga/launch.lua

Modified

+10 / −0 text lines

2727 args = { 'eva', },
2828 cwd = wez.home_dir,
2929 },
30 {
31 label = 'Weather',
32 args = { 'wthrr' },
33 cwd = wez.home_dir,
34 },
35 {
36 label = 'Status',
37 args = { 'nu', '-c', 'loop {clear; macchina --current-shell --interface wlp3s0; sleep 5sec}', },
38 cwd = wez.home_dir,
39 },
3040 {
3141 label = 'Units',
3242 args = { 'fend', },

x230.symlinks

Modified

+6 / −0 text lines

5555rbw
5656~/.config/rbw
58broot
59~/.config/broot
5861zed
5962~/.config/zed
6467unison/unison@.service
6568~/.config/systemd/user/unison@.service
70unison/unison@.timer
71~/.config/systemd/user/unison@.timer
6773hypr
6874~/.config/hypr