repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

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

cb2ab56c4d8d23500de50579f301904998b979c6

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (7)

+222 / −18 text lines

Diff layout

helix/config.toml

Modified

+32 / −5 text lines

88line-number = "relative"
99rulers = [81, 121, 141]
11auto-completion = true
11auto-completion = false
1212completion-trigger-len = 3
1313auto-info = true
14auto-pairs = true
14auto-pairs = false
1515auto-format = true
16auto-save = true
1718idle-timeout = 200
1920scrolloff = 5
2021scroll-lines = 1
22cursorline = false
2323color-modes = true
24auto-save = true
2524bufferline = "multiple"
2726[editor.statusline]
3433 "position-percentage",
3635center = [
36 "version-control",
37 "separator",
3738 "file-name",
39 "spacer",
40 "file-modification-indicator",
3841 "separator",
3942 "file-encoding",
4043 "file-line-ending",
4144 "file-type",
43right = ["diagnostics", "spacer", "spinner"]
46right = [
47 "diagnostics",
48 "spacer",
49 "spinner"
50]
4451separator = "·"
4552mode.normal = ""
4653mode.insert = ""
4956[editor.lsp]
5057display-messages = true
58display-inlay-hints = true
5261[editor.cursor-shape]
5362normal = "block"
7180render = false
7281character = "▏"
7382skip-levels = 2
84[editor.soft-wrap]
85enable = true
87[keys.normal]
88ret = ["add_newline_below","move_line_down"]
89A-ret = ["add_newline_above", "move_line_up"]
91# move current line up
92A-up = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]
93A-k = ["extend_to_line_bounds", "delete_selection", "move_line_up", "paste_before"]
95# move current line down
96A-down = ["extend_to_line_bounds", "delete_selection", "paste_after"]
97A-j = ["extend_to_line_bounds", "delete_selection", "paste_after"]
99[keys.insert]
100"C-space" = "completion"

nushell/modules/syncthing.nu

Modified

+5 / −1 text lines

1export def "conflicts list" [] { fd sync-conflict $env.HOME | lines }
1export def "conflicts list" [] {
2 fd --hidden --no-ignore sync-conflict $env.HOME |
3 lines |
4 filter { |path| not ($path =~ "/Trash/") }
5}
37export def "conflicts merge" [] {
48 (conflicts list) |

pop-os.symlinks

Modified

+3 / −0 text lines

6464neovim
6565~/.config/nvim
67river
68~/.config/river

wezterm/bugabinga/nugu.lua

Modified

+151 / −5 text lines

11return {
2 ['nugu-dark'] = {
2 ['nugu-dark'] = {
33 -- The default text color
44 foreground = '#cfcfcf',
55 -- The default background color
2424 scrollbar_thumb = '#121212',
2626 -- The color of the split lines between panes
27 split = '#121212',
27 split = '#5f368d',
2929 ansi = {
3030 '#5d355c',
6767 quick_select_label_fg = { Color = '#cfcfcf' },
6868 quick_select_match_bg = { Color = '#4c2b72' },
6969 quick_select_match_fg = { Color = '#cfcfcf' },
71 tab_bar = {
72 -- The color of the strip that goes along the top of the window
73 -- does not apply when fancy tab bar is in use
74 background = '#000000',
76 -- The active tab is the one that has focus in the window
77 active_tab = {
78 -- The color of the background area for the tab
79 bg_color = '#000000',
80 -- The color of the text for the tab
81 fg_color = '#5f368d',
83 -- Specify whether you want 'Half', 'Normal' or 'Bold' intensity for the
84 -- label shown for this tab.
85 -- The default is 'Normal'
86 intensity = 'Bold',
88 -- Specify whether you want 'None', 'Single' or 'Double' underline for
89 -- label shown for this tab.
90 -- The default is 'None'
91 underline = 'Double',
93 -- Specify whether you want the text to be italic or not
94 -- for this tab. The default is false.
95 italic = false,
97 -- Specify whether you want the text to be rendered with strikethrough
98 -- or not for this tab. The default is false.
99 strikethrough = false,
100 },
102 -- Inactive tabs are the tabs that do not have focus
103 inactive_tab = {
104 bg_color = '#000000',
105 fg_color = '#e2e2e2',
106 intensity = 'Normal',
108 -- The same options that were listed under the `active_tab` section above
109 -- can also be used for `inactive_tab`.
110 },
112 -- You can configure some alternate styling when the mouse pointer
113 -- moves over inactive tabs
114 inactive_tab_hover = {
115 bg_color = '#788984',
116 fg_color = '#e2e2e2',
117 italic = true,
119 -- The same options that were listed under the `active_tab` section above
120 -- can also be used for `inactive_tab_hover`.
121 },
123 -- The new tab button that let you create new tabs
124 new_tab = {
125 bg_color = '#000000',
126 fg_color = '#121212',
128 -- The same options that were listed under the `active_tab` section above
129 -- can also be used for `new_tab`.
130 },
132 -- You can configure some alternate styling when the mouse pointer
133 -- moves over the new tab button
134 new_tab_hover = {
135 bg_color = '#788984',
136 fg_color = '#e2e2e2',
137 italic = true,
139 -- The same options that were listed under the `active_tab` section above
140 -- can also be used for `new_tab_hover`.
141 },
142 },
70143 },
71 ['nugu-light'] = {
144 ['nugu-light'] = {
72145 -- The default text color
73146 foreground = '#494949',
74147 -- The default background color
93166 scrollbar_thumb = '#c9c9c9',
95168 -- The color of the split lines between panes
96 split = '#c9c9c9',
169 split = '#9170b5',
98171 ansi = {
99172 '#060406',
136209 quick_select_label_fg = { Color = '#494949' },
137210 quick_select_match_bg = { Color = '#ae95c8' },
138211 quick_select_match_fg = { Color = '#494949' },
213 tab_bar = {
214 -- The color of the strip that goes along the top of the window
215 -- does not apply when fancy tab bar is in use
216 background = '#c7c7c7',
218 -- The active tab is the one that has focus in the window
219 active_tab = {
220 -- The color of the background area for the tab
221 bg_color = '#c7c7c7',
222 -- The color of the text for the tab
223 fg_color = '#9170b5',
225 -- Specify whether you want 'Half', 'Normal' or 'Bold' intensity for the
226 -- label shown for this tab.
227 -- The default is 'Normal'
228 intensity = 'Bold',
230 -- Specify whether you want 'None', 'Single' or 'Double' underline for
231 -- label shown for this tab.
232 -- The default is 'None'
233 underline = 'Double',
235 -- Specify whether you want the text to be italic or not
236 -- for this tab. The default is false.
237 italic = false,
239 -- Specify whether you want the text to be rendered with strikethrough
240 -- or not for this tab. The default is false.
241 strikethrough = false,
242 },
244 -- Inactive tabs are the tabs that do not have focus
245 inactive_tab = {
246 bg_color = '#c7c7c7',
247 fg_color = '#929292',
248 intensity = 'Normal',
250 -- The same options that were listed under the `active_tab` section above
251 -- can also be used for `inactive_tab`.
252 },
254 -- You can configure some alternate styling when the mouse pointer
255 -- moves over inactive tabs
256 inactive_tab_hover = {
257 bg_color = '#646464',
258 fg_color = '#929292',
259 italic = true,
261 -- The same options that were listed under the `active_tab` section above
262 -- can also be used for `inactive_tab_hover`.
263 },
265 -- The new tab button that let you create new tabs
266 new_tab = {
267 bg_color = '#c7c7c7',
268 fg_color = '#c9c9c9',
270 -- The same options that were listed under the `active_tab` section above
271 -- can also be used for `new_tab`.
272 },
274 -- You can configure some alternate styling when the mouse pointer
275 -- moves over the new tab button
276 new_tab_hover = {
277 bg_color = '#646464',
278 fg_color = '#929292',
279 italic = true,
281 -- The same options that were listed under the `active_tab` section above
282 -- can also be used for `new_tab_hover`.
283 },
284 },
139285 },
140}
286 }No final newline

wezterm/bugabinga/workspaces.lua

Modified

+25 / −6 text lines

11local wez = require 'wezterm'
22local mux = wez.mux
4local default_ws = 'default'
5local nugu_ws = 'nugu development'
6local reign_ws = 'reign development'
7local dork_ws = 'dorkfiles editing'
95local get_my_code_workspace = function()
106 if wez.target_triple:find('windows') then
3026-- check the log file in the wezterm mux server runtime directory
3127-- e.g. /run/user/1000/wezterm/log
3228wez.on('mux-startup', function()
29 local nugu_ws = 'nugu development'
3330 local nugu_cwd = WORKSPACE .. '/nugu'
3431 local nugu_tab, nugu_pane, nugu_window = mux.spawn_window { cwd = nugu_cwd, workspace = nugu_ws }
3532 local nugu_top_pane = nugu_pane:split { cwd = nugu_cwd, args = { 'hx', '.' }, direction = 'Top', size = 0.82 }
3633 nugu_top_pane:split { cwd = nugu_cwd, direction = 'Left', size = 0.66 }
3734 nugu_tab:set_title 'Nugu Development'
37 local tini_lang_ws = 'tini_lang development'
38 local tini_lang_cwd = WORKSPACE .. '/tini_lang'
39 local tini_lang_tab, tini_lang_pane, tini_lang_window = mux.spawn_window { cwd = tini_lang_cwd, workspace =
40 tini_lang_ws }
41 local tini_lang_top_pane = tini_lang_pane:split { cwd = tini_lang_cwd, args = { 'hx', '.' }, direction = 'Top', size = 0.82 }
42 tini_lang_top_pane:split { cwd = tini_lang_cwd, direction = 'Left', size = 0.66 }
43 tini_lang_tab:set_title 'tini_lang Development'
46 local reign_ws = 'reign development'
3947 local reign_cwd = WORKSPACE .. '/reign'
4048 local reign_tab, reign_pane, reign_window = mux.spawn_window { cwd = reign_cwd, args = { 'hx', '.' }, workspace =
4149 reign_ws }
4250 local reign_right_pane = reign_pane:split { cwd = reign_cwd, direction = 'Right', size = 0.36 }
43 reign_right_pane:send_text "watch src {clear; just build}\n"
4451 reign_right_pane:split { cwd = reign_cwd, direction = 'Bottom', size = 0.33 }
4552 reign_tab:set_title 'Reign Development'
4653 reign_pane:activate()
54 -- FIXME(oli): the text gets send, but seemingly before nushell is ready to receive input
55 reign_right_pane:send_text 'watch src {clear; just build}'
58 local dork_ws = 'dorkfiles editing'
4859 local dork_cwd = WORKSPACE .. '/dotfiles'
4960 local dork_tab, dork_pane, dork_window = mux.spawn_window { cwd = dork_cwd, workspace = dork_ws }
50 local dork_top_pane = dork_pane:split { cwd = dork_cwd, direction = 'Top', size = 0.55 }
61 local dork_top_pane = dork_pane:split { direction = 'Top', size = 0.55 }
5162 dork_top_pane:split { cwd = dork_cwd, args = { 'hx', '.' }, direction = 'Left', size = 0.7 }
5263 dork_tab:set_title 'Dorkfiles Editing'
5364 --TODO(oli): create tabs for configs in dorkfiles that i edit often (wezterm, helix, bootstripper,...)
65 local wezterm_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/wezterm' }
66 wezterm_config_tab:set_title 'Wezterm'
67 wezterm_config_tab:active_pane():split { args = { 'hx', '.' }, direction = 'Left', size = 0.7 }
68 local helix_config_tab = dork_window:spawn_tab { cwd = dork_cwd .. '/helix' }
69 helix_config_tab:set_title 'Helix'
70 helix_config_tab:active_pane():split { args = { 'hx', '.' }, direction = 'Left', size = 0.7 }
73 local default_ws = 'default'
5574 local default_tab, default_pane, default_window = mux.spawn_window { workspace = default_ws }
5675 local default_top_pane = default_pane:split { direction = 'Top', size = 0.5 }
5776 default_pane:split { direction = 'Right', size = 0.5 }

wezterm/wezterm.lua

Modified

+5 / −0 text lines

4545 enable_tab_bar = true,
4646 -- if this is hidden, we cannot see the right status area
4747 hide_tab_bar_if_only_one_tab = false,
48 use_fancy_tab_bar = false;
4849 check_for_updates = false,
4950 show_update_window = false,
5051 audible_bell = 'Disabled',
5354 fade_out_duration_ms = 75,
5455 target = 'CursorColor',
5556 },
57 inactive_pane_hsb = {
58 saturation = 0.33,
59 brightness = 0.66,
60 },
5661 tab_max_width = 24,
5762 enable_wayland = enable_wayland,
5863 window_padding = {

wezterm/wezterm.service

Modified

+1 / −1 text lines

44[Service]
55# start with system shell as parent in order to inherit environment variables
6ExecStart=/bin/sh -c /usr/bin/wezterm-mux-server
6ExecStart=/bin/bash -c /usr/bin/wezterm-mux-server
77Restart=on-failure
99[Install]