repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

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

eec45f4d28f9255a87813f96c15fa18b411d753c

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (23)

+301 / −309 text lines

Diff layout

neovim/colors/nugu.lua

Modified

+2 / −2 text lines

77vim.g.colors_name = 'nugu'
99-- this is necessary to toggle light/dark during runtime
10package.loaded['bugabinga.nugu'] = nil
11package.loaded['bugabinga.nugu.palette'] = nil
1210package.loaded['bugabinga.nugu.palette_dark'] = nil
1311package.loaded['bugabinga.nugu.palette_light'] = nil
12package.loaded['bugabinga.nugu.palette'] = nil
13package.loaded['bugabinga.nugu'] = nil
1515require 'bugabinga.nugu' ()

neovim/init.lua

Modified

+0 / −1 text lines

2424require 'bugabinga.save_actions'
2525require 'bugabinga.sessions'
2626require 'bugabinga.lazy'
27require 'bugabinga.terminal'
2827require 'bugabinga.diagnostic'
2928require 'bugabinga.lsp'

neovim/lazy-lock.json

Modified

+14 / −2 text lines

22 "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" },
33 "CopilotChat.nvim": { "branch": "canary", "commit": "9333944fde3c65868818e245c73aa29eef826e9b" },
44 "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
5 "better-escape.nvim": { "branch": "master", "commit": "f45b52f8f87792e8659526f23261ffe278a54be5" },
56 "cmd-parser.nvim": { "branch": "master", "commit": "6363b8bddef968c3ec51a38172af44f675f01ef3" },
67 "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
78 "cmp-dotenv": { "branch": "main", "commit": "4dd53aab60982f1f75848aec5e6214986263325e" },
1617 "decisive.nvim": { "branch": "main", "commit": "a7251adebccbc9c899cff39a524b20d06e2b78b5" },
1718 "diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
1819 "dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },
20 "eagle.nvim": { "branch": "main", "commit": "f590404f510be11ef2cf7c68e135441bfa48c9a8" },
1921 "flash.nvim": { "branch": "main", "commit": "ec0bf2842189f65f60fd40bf3557cac1029cc932" },
2022 "heirline.nvim": { "branch": "master", "commit": "7a79753c1a42c3f52e89a6c42429e7f871e560cd" },
2123 "in-and-out.nvim": { "branch": "master", "commit": "ab24cafadc3418dffb0c7e9b0621cff60b9ac551" },
22 "incline.nvim": { "branch": "main", "commit": "16fc9c073e3ea4175b66ad94375df6d73fc114c0" },
24 "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" },
2325 "iswap.nvim": { "branch": "master", "commit": "e02cc91f2a8feb5c5a595767d208c54b6e3258ec" },
24 "lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" },
26 "ivy.nvim": { "branch": "0.x", "commit": "cfa7e29ae4d955508d4f7f2ef08cc0c51ee745ed" },
27 "layers.nvim": { "branch": "main", "commit": "67666f59a2dbe36a469766be6a4c484ae98c4895" },
28 "lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
2529 "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
2630 "lspkind.nvim": { "branch": "master", "commit": "59c3f419af48a2ffb2320cea85e44e5a95f71664" },
2731 "markdown-table-mode.nvim": { "branch": "main", "commit": "f830cd15a97deb3acc53d9f6607bc609f7f32e49" },
2933 "mini.bracketed": { "branch": "main", "commit": "833d66df6e0588222312a963780c6ec42ed7437d" },
3034 "mini.bufremove": { "branch": "main", "commit": "1ee294a97e091d3cf967974df622c0d887890dc2" },
3135 "mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
36 "neodim": { "branch": "master", "commit": "d87470828690342d0139efc2fd56ea0b29e9ecb3" },
37 "no-neck-pain.nvim": { "branch": "main", "commit": "c0d8061f18bccceff0991e096c8f864a720e1ebf" },
3238 "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
3339 "nvim-autopairs": { "branch": "master", "commit": "f158dcb865c36f72c92358f87787dab2c272eaf3" },
3440 "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
41 "nvim-dap": { "branch": "master", "commit": "7ff6936010b7222fea2caea0f67ed77f1b7c60dd" },
3542 "nvim-docs-view": { "branch": "master", "commit": "365593534e0acd762bfddce6e8313315ffa4fa36" },
43 "nvim-dr-lsp": { "branch": "main", "commit": "bbed27eb6eba20242d59fc6ac11852730c9af632" },
3644 "nvim-genghis": { "branch": "main", "commit": "ca258b1e466d131e17eacf0c632abe932bce20ab" },
3745 "nvim-gomove": { "branch": "main", "commit": "2b44ae7ac0804f4e3959228122f7c85bef1964e3" },
3846 "nvim-highlight-colors": { "branch": "main", "commit": "a411550ef85cae467b889ba7d1a96bd78332d90e" },
3947 "nvim-lastplace": { "branch": "main", "commit": "0bb6103c506315044872e0f84b1f736c4172bb20" },
4048 "nvim-lint": { "branch": "master", "commit": "968a35d54b3a4c1ce66609cf80b14d4ae44fe77f" },
49 "nvim-lsp-endhints": { "branch": "main", "commit": "391ef40521b631a8a2fb7aef78db6967ead6b39d" },
4150 "nvim-luapad": { "branch": "master", "commit": "176686eb616a5ada5dfc748f2b5109194bbe8a71" },
4251 "nvim-neoclip.lua": { "branch": "main", "commit": "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" },
4352 "nvim-rulebook": { "branch": "main", "commit": "bc5e3874a9870709ec91152f9efce6dad49ca862" },
4958 "nvim-web-devicons": { "branch": "master", "commit": "6b53401918a9033a41159d012160c5fb5eb249ae" },
5059 "oil.nvim": { "branch": "master", "commit": "1eb9fb35a4613518f79790117ed82c367a0b4a22" },
5160 "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
61 "precognition.nvim": { "branch": "main", "commit": "8a81c310b4e76b4884fc5350a5741cf683c645c7" },
5262 "range-highlight.nvim": { "branch": "master", "commit": "8b5e8ccb3460b2c3675f4639b9f54e64eaab36d9" },
5363 "refjump.nvim": { "branch": "main", "commit": "a78b585cff29505f7558f3a596bca567474cd663" },
64 "scratch.nvim": { "branch": "main", "commit": "3e3d2ad0d7f565bc794d9d3ad40e92509802ecad" },
5465 "specs.nvim": { "branch": "main", "commit": "8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" },
5566 "substitute.nvim": { "branch": "main", "commit": "17ffaeb5a1dc2dbef39cf0865d8a4b6000836714" },
67 "surround-ui.nvim": { "branch": "main", "commit": "40abcba017a943d6d3dd304e523f34a43d80405b" },
5668 "symbol-usage.nvim": { "branch": "main", "commit": "0f9b3da014b7e41559b643e7461fcabb2a7dc83a" },
5769 "telescope-frecency.nvim": { "branch": "master", "commit": "f67baca08423a6fd00167801a54db38e0b878063" },
5870 "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },

neovim/lua/bugabinga/nugu/init.lua

Modified

+24 / −23 text lines

2424local ui_important_local = palette.ui_important_local
2626vim.g.terminal_color_0 = ui_backdrop -- black
27vim.g.terminal_color_1 = content_accent -- maroon
28vim.g.terminal_color_2 = info -- green
29vim.g.terminal_color_3 = ui_focus -- olive
27vim.g.terminal_color_1 = error -- maroon
28vim.g.terminal_color_2 = content_focus -- green
29vim.g.terminal_color_3 = warning -- olive
3030vim.g.terminal_color_4 = content_important_local -- navy
3131vim.g.terminal_color_5 = content_important_global -- purple
32vim.g.terminal_color_6 = ui_focus -- teal
33vim.g.terminal_color_7 = content_normal -- silver
32vim.g.terminal_color_6 = info -- teal
33vim.g.terminal_color_7 = content_minor -- silver
35vim.g.terminal_color_8 = ui_minor -- grey
35vim.g.terminal_color_8 = content_unfocus -- grey
3636vim.g.terminal_color_9 = error -- red
37vim.g.terminal_color_10 = info -- lime
38vim.g.terminal_color_11 = content_focus -- yellow
39vim.g.terminal_color_12 = ui_important_local -- blue
40vim.g.terminal_color_13 = ui_accent -- fuchsia
41vim.g.terminal_color_14 = ui_important_global -- aqua
42vim.g.terminal_color_15 = ui_normal -- white
37vim.g.terminal_color_10 = content_accent -- lime
38vim.g.terminal_color_11 = warning -- yellow
39vim.g.terminal_color_12 = info -- blue
40vim.g.terminal_color_13 = debug -- fuchsia
41vim.g.terminal_color_14 = content_focus -- aqua
42vim.g.terminal_color_15 = content_normal -- white
4444local set_group_properties = function ( self, properties )
4545 vim.validate {
122122_.Debug { fg = ui_normal, bg = debug, bold = true }
124124_.Normal { fg = content_normal, bg = content_backdrop }
125_.NormalUi { fg = ui_normal, bg = ui_backdrop }
125126_.Comment { fg = content_important_global }
126_.NotifyBackground { bg = ui_backdrop }
127_.NotifyBackground = _.NormalUi
127128_.LineNr { fg = ui_minor, bg = content_backdrop }
128129_.CursorLineNr { fg = ui_focus, bg = ui_backdrop }
129130_.Search { bg = content_unfocus }
130131_.IncSearch { fg = content_focus }
131132_.CurSearch { fg = content_important_global, bg = content_unfocus }
132_.NormalFloat = _.Normal
133_.NormalFloat = _.NormalUi
133134_.FloatBorder { fg = ui_accent, bg = _.Normal.bg }
134135_.ColorColumn { fg = ui_important_global, bg = _.Normal.bg }
135136_.Conceal { fg = content_focus, bg = _.Normal.bg }
136_.Cursor { bg = ui_accent }
137_.Cursor { fg = content_backdrop, bg = ui_accent }
137138-- _.lCursor = _.Cursor
138139-- _.CursorIM = _.Cursor
139140_.Directory { fg = _.Normal.fg }
145146-- _.TermCursor = _.Cursor
146147-- _.TermCursorNC = _.Cursor
147148_.ErrorMsg { fg = error }
148_.VertSplit { fg = ui_important_global, bg = _.LineNr.bg }
149_.VertSplit { fg = ui_important_global }
149150_.Folded = _.Conceal
150151_.FoldColumn = _.LineNr
151152_.SignColumn = _.LineNr
152153_.ModeMsg { bold = true }
153_.MsgArea = _.StatusLine
154_.MsgSeparator = _.Debug
155_.MoreMsg = _.Normal
154_.MsgArea = _.NormalUi
155_.MsgSeparator = _.NormalUi
156_.MoreMsg = _.NormalUi
156157_.NonText { fg = content_unfocus }
157158_.Whitespace = _.NonText
158_.NormalNC = _.Normal
159_.NormalNC { fg = content_minor, bg = _.Normal.bg }
159160_.Pmenu = _.NormalFloat
160161_.PmenuSel { fg = ui_important_local, sp = ui_important_local, bg = _.Pmenu.bg, bold = true, underline = true }
161162_.PmenuSbar { bg = ui_unfocus }
167168_.SpellCap = _.SpellBad
168169_.SpellLocal = _.SpellBad
169170_.SpellRare = _.SpellBad
170_.StatusLine { fg = ui_focus, bg = ui_unfocus }
171_.StatusLineNC { fg = ui_normal, bg = ui_unfocus }
171_.StatusLine = _.NormalUi
172_.StatusLineNC { fg = ui_minor, bg = ui_backdrop }
172173_.Winbar { fg = ui_focus, bg = _.StatusLine.bg }
173_.WinbarNC { fg = ui_minor, bg = _.LineNr.bg }
174_.WinbarNC { fg = content_minor, bg = _.Normal.bg }
174175_.Title { fg = content_important_global, sp = content_important_global, bold = true, underline = true }
175176_.TabLine = _.StatusLine
176177_.TabLineFill = _.StatusLine

neovim/lua/bugabinga/nugu/palette_dark.lua

Modified

+22 / −24 text lines

1return {
2 debug = '#ff00ff',
3 error = '#bd1c54',
4 info = '#7d9cc5',
5 warning = '#c79e6e',
2 return {
3 debug = '#ff00ff',
4 error = '#bd1c54',
5 info = '#7d9cc5',
6 warning = '#c79e6e',
7 content_normal = '#fafafa',
8 content_backdrop = '#020202',
9 content_accent = '#5d005d',
10 content_minor = '#757575',
11 content_focus = '#2eb3d1',
12 content_unfocus = '#016a85',
13 content_important_global = '#5e45c5',
14 content_important_local = '#5e45c5',
8 content_normal = '#fafafa',
9 content_backdrop = '#020202',
10 content_accent = '#5d005d',
11 content_minor = '#757575',
12 content_focus = '#2eb3d1',
13 content_unfocus = '#016a85',
14 content_important_global = '#5e45c5',
15 content_important_local = '#5e45c5',
17 ui_normal = '#fcfcfc',
18 ui_backdrop = '#000000',
19 ui_accent = '#3a003a',
20 ui_minor = '#707070',
21 ui_focus = '#2dacc8',
22 ui_unfocus = '#1d5a69',
23 ui_important_global = '#593fc2',
24 ui_important_local = '#593fc2',
25 }
26 No final newline
16 ui_normal = '#fcfcfc',
17 ui_backdrop = '#000000',
18 ui_accent = '#3a003a',
19 ui_minor = '#707070',
20 ui_focus = '#2dacc8',
21 ui_unfocus = '#1d5a69',
22 ui_important_global = '#593fc2',
23 ui_important_local = '#593fc2',
24}No final newline

neovim/lua/bugabinga/nugu/palette_light.lua

Modified

+22 / −24 text lines

1return {
2 debug = '#ff00ff',
3 error = '#ce1e5c',
4 info = '#8ba7cb',
5 warning = '#cda77c',
2 return {
3 debug = '#ff00ff',
4 error = '#ce1e5c',
5 info = '#8ba7cb',
6 warning = '#cda77c',
7 content_normal = '#050505',
8 content_backdrop = '#fdfdfd',
9 content_accent = '#a300a3',
10 content_minor = '#525252',
11 content_focus = '#017b9a',
12 content_unfocus = '#40b8d6',
13 content_important_global = '#4a25a9',
14 content_important_local = '#4a25a9',
8 content_normal = '#050505',
9 content_backdrop = '#fdfdfd',
10 content_accent = '#a300a3',
11 content_minor = '#525252',
12 content_focus = '#017b9a',
13 content_unfocus = '#40b8d6',
14 content_important_global = '#4a25a9',
15 content_important_local = '#4a25a9',
17 ui_normal = '#030303',
18 ui_backdrop = '#ffffff',
19 ui_accent = '#c600c6',
20 ui_minor = '#575757',
21 ui_focus = '#0283a3',
22 ui_unfocus = '#719ba5',
23 ui_important_global = '#4e28b0',
24 ui_important_local = '#4e28b0',
25 }
26 No final newline
16 ui_normal = '#030303',
17 ui_backdrop = '#ffffff',
18 ui_accent = '#c600c6',
19 ui_minor = '#575757',
20 ui_focus = '#0283a3',
21 ui_unfocus = '#719ba5',
22 ui_important_global = '#4e28b0',
23 ui_important_local = '#4e28b0',
24}No final newline

neovim/lua/bugabinga/plugins/incubator.lua

Modified

+1 / −1 text lines

134134 },
135135 -------------------------------------------------------------------------------
136136 {
137 'rafcamlet/nvim-luapad',
137 'rafcamlet/nvim-luapad',
138138 cmd = { 'Luapad', 'LuaRun' },
139139 opts = {},
140140 enabled = FUCK_STABILITY,

neovim/lua/bugabinga/plugins/treesj.lua

Modified

+1 / −1 text lines

55 category = 'editing',
66 keys = '<leader>j',
77 command = function ()
8 prequire 'treesj'.toggle { split = { recursive = true } }
8 prequire 'treesj'.toggle { split = { recursive = false } }
99 end,

neovim/lua/bugabinga/terminal.lua

Deleted
deleted file mode 100644

+0 / −55 text lines

1local map = require 'std.map'
2local auto = require 'std.auto'
3
4map.normal {
5 description = 'Open terminal in a split',
6 category = 'terminal',
7 keys = '<F12>',
8 command = function ()
9 local cwd = vim.uv.cwd()
10 ---@diagnostic disable-next-line: undefined-field
11 local shell = vim.opt.shell:get()
12 -- paths in term names seem to be relative to home
13 local relative_cwd = vim.fn.fnamemodify( cwd, ':~' )
14 local term_name = string.format( 'term://%s//%s', relative_cwd, shell )
15 local buffers = vim.api.nvim_list_bufs()
16 local existing_term = vim.iter( buffers ):map( function ( buffer_number )
17 return { buffer_number, vim.api.nvim_buf_get_name( buffer_number ) }
18 end ):filter( function ( buffer )
19 return string.find( buffer[2], relative_cwd, 1, true )
20 end ):next()
21 if existing_term then
22 term_name = existing_term[2]
23 end
24 local open_term_cmd = string.format( 'split %s', term_name )
25 vim.cmd( open_term_cmd )
26 end,
27}
29local terminal_settings = function ()
30 map.terminal {
31 description = 'Quit terminal mode via <esc>',
32 category = 'terminal',
33 keys = '<esc>',
34 buffer = true,
35 command = [[ <C-\><C-n> ]],
36 }
38 map.normal.terminal {
39 description = 'Close.',
40 category = 'terminal',
41 keys = '<F12>',
42 buffer = true,
43 command = [[<cmd>close<cr>]],
44 }
46 vim.opt_local.spell = false
47 vim.cmd.startinsert()
48end
50auto 'normalize_terminal_windows' {
51 description = 'Make terminal windows behave more normally.',
52 events = 'TermOpen',
53 pattern = 'term://*',
54 command = terminal_settings,
55}

neovim/lua/std/ignored.lua

Modified

+1 / −0 text lines

2222 'starter',
2323 'svn',
2424 'toggleterm',
25 'copilot-chat',
2728local buftypes = {

tools/gnome-settings.nu

Added
new file mode 100755

+17 / −0 text lines

1#!/usr/bin/env nu
2
3def main [] {
4 const background_settings = [
5 ['key', 'value'];
6 ['picture-uri', 'none']
7 ['color-shading-type', 'solid']
8 ['primary-color', '#131313']
9 ['secondary-color', '#131313']
10 ]
12 $background_settings | each { | setting |
13 run-external gsettings set 'org.gnome.desktop.background' $setting.key $setting.value
14 }
16 null
17}

tools/packages.csv

Deleted
deleted file mode 100644

+0 / −3 text lines

1name; bin; os_family; url
2graalvm; bin; linux; https://download.oracle.com/graalvm/23/latest/graalvm-jdk-23_linux-x64_bin.tar.gz
3cosmocc; bin; linux; https://cosmo.zip/pub/cosmocc/cosmocc.zip

tools/tools.csv

Modified

+2 / −0 text lines

88cargo-update;cargo-install-update
99choose
1010czkawka_cli
11carl
12calendar-rs;calendar
1113du-dust; dust
1214dotenv-linter
1315dupimg

wezterm/bugabinga/code_font.lua

Modified

+0 / −1 text lines

8080 if code_fonts then
8181 for line in code_fonts:lines() do
82 print('csv line: ' , line)
8382 local weight, font_name = line:match(csv_line_pattern)
8483 if not weight or not font_name then
8584 wez.log_error 'Could not parse code_fonts.csv. Borked?'

wezterm/bugabinga/code_fonts.csv

Modified

+5 / −5 text lines

22221,Dina ttf 10px
23231,Droid Sans Mono
24241,Edlo
251,Envy Code R
255,Envy Code R
26261,Fantasque Sans Mono
27271,Fira Code
28281,Fira Mono
53531,Luculent
54541,Luxi Mono
55551,M+ 1m
561,M+ 1mn
571,M+ 2m
5614,M+ 1mn
5714,M+ 2m
58581,Martian Mono
59591,Mensch
60600,Meslo LG M DZ
67671,MonoSpatial
68681,Monoid
69691,Monospace
701,MonteCarlo Fixed 12
700,MonteCarlo Fixed 12
71711,NanumGothic_Coding
72721,NotCourierSans
73731,Office Code Pro
95951,Source Code Pro
96961,Sudo
97971,Symbols Nerd Font
981,Symbols Nerd Font Mono
980,Symbols Nerd Font Mono
99991,TeX Gyre Cursor
1001001,Terminus
1011011,Ubuntu Mono

wezterm/bugabinga/hosts/fedora.lua

Modified

+0 / −34 text lines

33return function ( cfg )
44 cfg.font = code_font.random();
5
65 cfg.window_decorations = 'NONE'
7
8 cfg.background = {
9 {
10 source = {
11 File = '/home/oli/Pictures/Bilder/2012/05/20/Waldshooting_vonni_tini_2012 (12).jpg',
12 },
13 hsb = {
14 hue = 1.0,
15 saturation = 0.0,
16 brightness = 0.004,
17 },
18 attachment = { Parallax = 0.006, },
19 vertical_align = 'Middle',
20 horizontal_align = 'Center',
21 },
22 {
23 source = {
24 Gradient = {
25 colors = { 'purple', '#131313', },
26 orientation = {
27 Radial = {
28 cx = 0.5,
29 cy = 0.5,
30 radius = 1.25,
31 },
32 },
33 },
34 },
35 opacity = 0.1,
36 width = '100%',
37 height = '100%',
38 },
39 }
406end

wezterm/bugabinga/neovim_zen_mode.lua

Modified

+23 / −21 text lines

1local wez = require 'wezterm'
1return function (_)
2 local wez = require 'wezterm'
3wez.on( 'user-var-changed', function ( window, pane, name, value )
4 local overrides = window:get_config_overrides() or {}
5 if name == 'ZEN_MODE' then
6 local incremental = value:find '+'
7 local number_value = tonumber( value )
8 if incremental ~= nil then
9 while number_value > 0 do
10 window:perform_action( wez.action.IncreaseFontSize, pane )
11 number_value = number_value - 1
4 wez.on( 'user-var-changed', function ( window, pane, name, value )
5 local overrides = window:get_config_overrides() or {}
6 if name == 'ZEN_MODE' then
7 local incremental = value:find '+'
8 local number_value = tonumber( value )
9 if incremental ~= nil then
10 while number_value > 0 do
11 window:perform_action( wez.action.IncreaseFontSize, pane )
12 number_value = number_value - 1
13 end
14 overrides.enable_tab_bar = false
15 elseif number_value < 0 then
16 window:perform_action( wez.action.ResetFontSize, pane )
17 overrides.font_size = nil
18 overrides.enable_tab_bar = true
19 else
20 overrides.font_size = number_value
21 overrides.enable_tab_bar = false
1222 end
13 overrides.enable_tab_bar = false
14 elseif number_value < 0 then
15 window:perform_action( wez.action.ResetFontSize, pane )
16 overrides.font_size = nil
17 overrides.enable_tab_bar = true
18 else
19 overrides.font_size = number_value
20 overrides.enable_tab_bar = false
2123 end
22 end
23 window:set_config_overrides( overrides )
24end )
24 window:set_config_overrides( overrides )
25 end )
26end

wezterm/bugabinga/nugu.lua

Deleted
deleted file mode 100644

+0 / −102 text lines

1return {
2 ['nugu-dark'] = {
3 -- The default text color
4 foreground = '#fcfcfc',
5 -- The default background color
6 background = '#000000',
7
8 -- Overrides the cell background color when the current cell is occupied by the
9 -- cursor and the cursor style is set to Block
10 cursor_bg = '#3a003a',
11 -- Overrides the text color when the current cell is occupied by the cursor
12 cursor_fg = '#000000',
13 -- Specifies the border color of the cursor when the cursor style is set to Block,
14 -- or the color of the vertical or horizontal bar when the cursor style is set to
15 -- Bar or Underline.
16 cursor_border = '#3a003a',
18 selection_fg = '#000000',
19 selection_bg = '#2dacc8',
21 -- The color of the scrollbar 'thumb'; the portion that represents the current viewport
22 scrollbar_thumb = '#1d5a69',
24 -- The color of the split lines between panes
25 split = '#1d5a69',
27 ansi = {
28 '#020202', -- black
29 '#bd1c54', -- red
30 '#7d9cc5', -- green
31 '#c79e6e', -- yellow
32 '#5e45c5', -- blue
33 '#5d005d', -- magenta
34 '#2eb3d1', -- cyan
35 '#fafafa', -- white
36 },
38 brights = {
39 '#050505',
40 '#b6285a',
41 '#8aa0bd',
42 '#bf9f7b',
43 '#6955ba',
44 '#5d055d',
45 '#3fadc5',
46 '#fcfcfc',
47 },
49 compose_cursor = '#2dacc8',
50 visual_bell = '#593fc2',
51 },
52 ['nugu-light'] = {
53 -- The default text color
54 foreground = '#030303',
55 -- The default background color
56 background = '#ffffff',
58 -- Overrides the cell background color when the current cell is occupied by the
59 -- cursor and the cursor style is set to Block
60 cursor_bg = '#c600c6',
61 -- Overrides the text color when the current cell is occupied by the cursor
62 cursor_fg = '#ffffff',
63 -- Specifies the border color of the cursor when the cursor style is set to Block,
64 -- or the color of the vertical or horizontal bar when the cursor style is set to
65 -- Bar or Underline.
66 cursor_border = '#c600c6',
68 selection_fg = '#ffffff',
69 selection_bg = '#0283a3',
71 -- The color of the scrollbar 'thumb'; the portion that represents the current viewport
72 scrollbar_thumb = '#719ba5',
74 -- The color of the split lines between panes
75 split = '#719ba5',
77 ansi = {
78 '#fdfdfd', -- black
79 '#ce1e5c', -- red
80 '#8ba7cb', -- green
81 '#cda77c', -- yellow
82 '#4a25a9', -- blue
83 '#a300a3', -- magenta
84 '#017b9a', -- cyan
85 '#050505', -- white
86 },
88 brights = {
89 '#fafafa',
90 '#be295d',
91 '#90a5c1',
92 '#c2a482',
93 '#4d2e9b',
94 '#960896',
95 '#08738d',
96 '#030303',
97 },
99 compose_cursor = '#0283a3',
100 visual_bell = '#4e28b0',
101 },
102 }No final newline

wezterm/bugabinga/nugu/init.lua

Added
new file mode 100644

+141 / −0 text lines

1local nugu_dark = require 'bugabinga/nugu/palette_dark'
2local nugu_light = require 'bugabinga/nugu/palette_light'
3
4local make_theme = function ( palette )
5 return {
6 -- The default text color
7 foreground = palette.ui.normal,
8 -- The default background color
9 background = palette.ui.backdrop,
10 -- Overrides the cell background color when the current cell is occupied by the
11 -- cursor and the cursor style is set to Block
12 cursor_bg = palette.ui.accent,
13 -- Overrides the text color when the current cell is occupied by the cursor
14 cursor_fg = palette.ui.backdrop,
15 -- Specifies the border color of the cursor when the cursor style is set to Block,
16 -- or the color of the vertical or horizontal bar when the cursor style is set to
17 -- Bar or Underline.
18 cursor_border = palette.ui.accent,
19 selection_fg = palette.ui.backdrop,
20 selection_bg = palette.ui.focus,
21 -- The color of the scrollbar 'thumb'; the portion that represents the current viewport
22 scrollbar_thumb = palette.ui.unfocus,
23 -- The color of the split lines between panes
24 split = palette.ui.unfocus,
25 ansi = {
26 palette.content.backdrop, -- black
27 palette.error, -- maroon
28 palette.content.focus, -- green
29 palette.warning, -- olive
30 palette.content.important_local, -- navy
31 palette.content.important_global, -- purple
32 palette.info, -- teal
33 palette.content.minor, -- silver
34 },
35 brights = {
36 palette.content.unfocus, -- grey
37 palette.error, -- red
38 palette.content.accent, -- lime
39 palette.warning, -- yellow
40 palette.info, -- blue
41 palette.debug, -- fuchsia
42 palette.content.focus, -- aqua
43 palette.content.normal, -- white
44 },
45 -- Arbitrary colors of the palette in the range from 16 to 255
46 indexed = {},
47 -- When the IME, a dead key or a leader key are being processed and are effectively
48 -- holding input pending the result of input composition, change the cursor
49 -- to this color to give a visual cue about the compose state.
50 compose_cursor = palette.ui.focus,
51 -- Colors for copy_mode and quick_select
52 -- available since: 20220807-113146-c2fee766
53 -- In copy_mode, the color of the active text is:
54 -- 1. copy_mode_active_highlight_* if additional text was selected using the mouse
55 -- 2. selection_* otherwise
56 copy_mode_active_highlight_bg = { Color = palette.ui.accent, },
57 copy_mode_active_highlight_fg = { Color = palette.ui.backdrop, },
58 copy_mode_inactive_highlight_bg = { Color = palette.ui.unfocus, },
59 copy_mode_inactive_highlight_fg = { Color = palette.ui.normal, },
60 quick_select_label_bg = { Color = palette.ui.minor, },
61 quick_select_label_fg = { Color = palette.ui.normal, },
62 quick_select_match_bg = { Color = palette.ui.unfocus, },
63 quick_select_match_fg = { Color = palette.ui.normal, },
64 tab_bar = {
65 -- The color of the strip that goes along the top of the window
66 -- (does not apply when fancy tab bar is in use)
67 background = palette.ui.backdrop,
69 -- The active tab is the one that has focus in the window
70 active_tab = {
71 -- The color of the background area for the tab
72 bg_color = palette.ui.backdrop,
73 -- The color of the text for the tab
74 fg_color = palette.ui.normal,
76 -- Specify whether you want "Half", "Normal" or "Bold" intensity for the
77 -- label shown for this tab.
78 -- The default is "Normal"
79 intensity = 'Bold',
81 -- Specify whether you want "None", "Single" or "Double" underline for
82 -- label shown for this tab.
83 -- The default is "None"
84 underline = 'Double',
86 -- Specify whether you want the text to be italic (true) or not (false)
87 -- for this tab. The default is false.
88 italic = false,
90 -- Specify whether you want the text to be rendered with strikethrough (true)
91 -- or not for this tab. The default is false.
92 strikethrough = false,
93 },
95 -- Inactive tabs are the tabs that do not have focus
96 inactive_tab = {
97 bg_color = palette.ui.backdrop,
98 fg_color = palette.ui.normal,
100 -- The same options that were listed under the `active_tab` section above
101 -- can also be used for `inactive_tab`.
102 },
104 -- You can configure some alternate styling when the mouse pointer
105 -- moves over inactive tabs
106 inactive_tab_hover = {
107 bg_color = palette.ui.focus,
108 fg_color = palette.ui.normal,
109 italic = true,
111 -- The same options that were listed under the `active_tab` section above
112 -- can also be used for `inactive_tab_hover`.
113 },
115 -- The new tab button that let you create new tabs
116 new_tab = {
117 bg_color = palette.ui.backdrop,
118 fg_color = palette.ui.normal,
120 -- The same options that were listed under the `active_tab` section above
121 -- can also be used for `new_tab`.
122 },
124 -- You can configure some alternate styling when the mouse pointer
125 -- moves over the new tab button
126 new_tab_hover = {
127 bg_color = palette.ui.focus,
128 fg_color = palette.ui.normal,
129 italic = true,
131 -- The same options that were listed under the `active_tab` section above
132 -- can also be used for `new_tab_hover`.
133 },
134 },
135 }
136end
138return {
139 ['nugu-dark'] = make_theme( nugu_dark.palette ),
140 ['nugu-light'] = make_theme( nugu_light.palette ),
141}

wezterm/bugabinga/nugu/palette_dark.lua

Added
new file mode 100644

+2 / −0 text lines

1return
2{palette = {debug = "#ff00ff", error = "#bd1c54", warning = "#c79e6e", info = "#7d9cc5", content = {normal = "#fafafa", backdrop = "#020202", accent = "#5d005d", minor = "#757575", focus = "#2eb3d1", unfocus = "#016a85", important_local = "#5e45c5", important_global = "#5e45c5"}, ui = {normal = "#fcfcfc", backdrop = "#000000", accent = "#3a003a", minor = "#707070", focus = "#2dacc8", unfocus = "#1d5a69", important_local = "#593fc2", important_global = "#593fc2"}}}No final newline

wezterm/bugabinga/nugu/palette_light.lua

Added
new file mode 100644

+2 / −0 text lines

1return
2{palette = {debug = "#ff00ff", error = "#ce1e5c", warning = "#cda77c", info = "#8ba7cb", content = {normal = "#050505", backdrop = "#fdfdfd", accent = "#a300a3", minor = "#525252", focus = "#017b9a", unfocus = "#40b8d6", important_local = "#4a25a9", important_global = "#4a25a9"}, ui = {normal = "#030303", backdrop = "#ffffff", accent = "#c600c6", minor = "#575757", focus = "#0283a3", unfocus = "#719ba5", important_local = "#4e28b0", important_global = "#4e28b0"}}}No final newline

wezterm/bugabinga/status.lua

Modified

+15 / −3 text lines

3434 { Text = ' Font ', },
3535 { Attribute = { Intensity = 'Bold', }, },
3636 { Text = table.concat( fonts, ', ' ), },
37 { Text = ' ' },
3738 'ResetAttributes',
3839 }
3940 local pane_domain = pane:get_domain_name()
6162 table.insert( status, font )
63 window:set_right_status( table.concat( status, DELIMITER ) )
64 --TODO: shirley, something useful can be done here
65 window:set_left_status ' π '
64 window:set_right_status(
65 wez.format {
66 { Foreground = { AnsiColor = 'White' } },
67 { Text = table.concat( status, DELIMITER) },
68 'ResetAttributes',
69 }
70 )
71 window:set_left_status(
72 wez.format {
73 { Foreground = { AnsiColor = 'White' } },
74 { Text = '  ' },
75 'ResetAttributes',
76 }
77 )
6678end )
6880return function ( cfg )

wezterm/wezterm.lua

Modified

+7 / −7 text lines

11local wez = require 'wezterm'
22local cfg = wez.config_builder()
4require 'bugabinga.options' ( cfg )
5require 'bugabinga.window' ( cfg )
6require 'bugabinga.fonts' ( cfg )
7require 'bugabinga.startup' ( cfg )
8require 'bugabinga.status' ( cfg )
94require 'bugabinga.theme' ( cfg )
5require 'bugabinga.options' ( cfg )
106require 'bugabinga.key_binds' ( cfg )
117require 'bugabinga.mouse_binds' ( cfg )
12require 'bugabinga.hosts' ( cfg )
8require 'bugabinga.fonts' ( cfg )
9require 'bugabinga.window' ( cfg )
10require 'bugabinga.startup' ( cfg )
11require 'bugabinga.status' ( cfg )
1312require 'bugabinga.launch' ( cfg )
14require 'bugabinga.neovim_zen_mode'
13require 'bugabinga.neovim_zen_mode' (cfg)
14require 'bugabinga.hosts' ( cfg )
1616-- logs key presses
1717-- cfg.debug_key_events = true,