repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

chore: remove neovim palette generation from nugu build

d7ce912b2ae8d3a2a2855425e2ac31fc87f42c76

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

- Delete palette_dark.lua and palette_light.lua from neovim
- Delete nugu/neovim.nu (no longer needed)
- Remove neovim recipe from nugu justfile
- Neovim colors are now static cterm indices, not generated hex

Changed files (4)

neovim/lua/bugabinga/nugu/palette_dark.lua

Deleted
deleted file mode 100644
1 -return {
2 - debug = '#ed5eed',
3 - error = '#e46479',
4 - info = '#3ec5dd',
5 - warning = '#9e9a69',
7 - content_normal = '#ededed',
8 - content_backdrop = '#121212',
9 - content_accent = '#d151d1',
10 - content_minor = '#8b8b8b',
11 - content_focus = '#7ba1aa',
12 - content_unfocus = '#5d5d5d',
13 - content_important_global = '#dfd3f3',
14 - content_important_local = '#b59ae4',
16 - ui_normal = '#dbdbdb',
17 - ui_backdrop = '#242424',
18 - ui_accent = '#d86dd8',
19 - ui_minor = '#9d9d9d',
20 - ui_focus = '#9aabae',
21 - ui_unfocus = '#6f6f6f',
22 - ui_important_global = '#f3effb',
23 - ui_important_local = '#c9b6eb',
24 -}

neovim/lua/bugabinga/nugu/palette_light.lua

Deleted
deleted file mode 100644
1 -return {
2 - debug = '#a112a1',
3 - error = '#c0223c',
4 - info = '#13616e',
5 - warning = '#242317',
7 - content_normal = '#121212',
8 - content_backdrop = '#ededed',
9 - content_accent = '#ae2eae',
10 - content_minor = '#3b3b3b',
11 - content_focus = '#184e5b',
12 - content_unfocus = '#6f6f6f',
13 - content_important_global = '#4f3c69',
14 - content_important_local = '#715696',
16 - ui_normal = '#242424',
17 - ui_backdrop = '#dbdbdb',
18 - ui_accent = '#922792',
19 - ui_minor = '#292929',
20 - ui_focus = '#15333b',
21 - ui_unfocus = '#5d5d5d',
22 - ui_important_global = '#3e2f53',
23 - ui_important_local = '#604980',
24 -}

nugu/justfile

Modified
1 1 set shell := [ "nu", "--commands" ]
3 -neovim_config_dir := if os_family() == "windows" { "~/AppData/Local/nvim" } else { "~/.config/nvim" }
4 3 helix_config_dir := if os_family() == "windows" { "~/AppData/Roaming/helix" } else { "~/.config/helix" }
6 5 default:
55 54 cp {{output}}/wezterm/palette_dark.lua ~/.config/wezterm/bugabinga/nugu/palette_dark.lua
56 55 cp {{output}}/wezterm/palette_light.lua ~/.config/wezterm/bugabinga/nugu/palette_light.lua
58 -neovim: build
59 - rm --force --recursive {{output}}/neovim
60 - mkdir {{output}}/neovim
61 - use neovim.nu; neovim theme dark | save --raw {{output}}/neovim/palette_dark.lua
62 - use neovim.nu; neovim theme light | save --raw {{output}}/neovim/palette_light.lua
63 - cp {{output}}/neovim/palette_dark.lua {{neovim_config_dir}}/lua/bugabinga/nugu/palette_dark.lua
64 - cp {{output}}/neovim/palette_light.lua {{neovim_config_dir}}/lua/bugabinga/nugu/palette_light.lua
65 - try { pkill -USR1 nvim }
67 -install: helix wezterm neovim
57 +install: helix wezterm

nugu/neovim.nu

Deleted
deleted file mode 100644
1 -use palette.nu
3 -export def theme [ mode:string ] {
4 - let nugu = ( palette nugu $mode )
5 - $"return {
6 - debug = '($nugu.palette.debug)',
7 - error = '($nugu.palette.error)',
8 - info = '($nugu.palette.info)',
9 - warning = '($nugu.palette.warning)',
11 - content_normal = '($nugu.palette.content.normal)',
12 - content_backdrop = '($nugu.palette.content.backdrop)',
13 - content_accent = '($nugu.palette.content.accent)',
14 - content_minor = '($nugu.palette.content.minor)',
15 - content_focus = '($nugu.palette.content.focus)',
16 - content_unfocus = '($nugu.palette.content.unfocus)',
17 - content_important_global = '($nugu.palette.content.important_global)',
18 - content_important_local = '($nugu.palette.content.important_local)',
20 - ui_normal = '($nugu.palette.ui.normal)',
21 - ui_backdrop = '($nugu.palette.ui.backdrop)',
22 - ui_accent = '($nugu.palette.ui.accent)',
23 - ui_minor = '($nugu.palette.ui.minor)',
24 - ui_focus = '($nugu.palette.ui.focus)',
25 - ui_unfocus = '($nugu.palette.ui.unfocus)',
26 - ui_important_global = '($nugu.palette.ui.important_global)',
27 - ui_important_local = '($nugu.palette.ui.important_local)',
28 -}"
29 -}