repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

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

eb5c48ee1cff970c37d64ae3084607b21f9ffa5f

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (5)

+42 / −35 text lines · 1 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately

Diff layout

neovim/lazy-lock.json

Modified

+3 / −3 text lines

2121 "flash.nvim": { "branch": "main", "commit": "ec0bf2842189f65f60fd40bf3557cac1029cc932" },
2222 "heirline.nvim": { "branch": "master", "commit": "7a79753c1a42c3f52e89a6c42429e7f871e560cd" },
2323 "in-and-out.nvim": { "branch": "master", "commit": "ab24cafadc3418dffb0c7e9b0621cff60b9ac551" },
24 "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" },
24 "indent-blankline.nvim": { "branch": "master", "commit": "2e57e1bbda970317dce4b7878ccf9a831dc7067d" },
2525 "iswap.nvim": { "branch": "master", "commit": "e02cc91f2a8feb5c5a595767d208c54b6e3258ec" },
2626 "ivy.nvim": { "branch": "0.x", "commit": "cfa7e29ae4d955508d4f7f2ef08cc0c51ee745ed" },
2727 "layers.nvim": { "branch": "main", "commit": "67666f59a2dbe36a469766be6a4c484ae98c4895" },
28 "lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
28 "lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" },
2929 "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
3030 "lspkind.nvim": { "branch": "master", "commit": "59c3f419af48a2ffb2320cea85e44e5a95f71664" },
3131 "markdown-table-mode.nvim": { "branch": "main", "commit": "f830cd15a97deb3acc53d9f6607bc609f7f32e49" },
3434 "mini.bufremove": { "branch": "main", "commit": "1ee294a97e091d3cf967974df622c0d887890dc2" },
3535 "mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
3636 "neodim": { "branch": "master", "commit": "d87470828690342d0139efc2fd56ea0b29e9ecb3" },
37 "no-neck-pain.nvim": { "branch": "main", "commit": "c0d8061f18bccceff0991e096c8f864a720e1ebf" },
37 "no-neck-pain.nvim": { "branch": "main", "commit": "c7efdbd0b739646c58d22fa44f6fffa2973f303e" },
3838 "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
3939 "nvim-autopairs": { "branch": "master", "commit": "f158dcb865c36f72c92358f87787dab2c272eaf3" },
4040 "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },

neovim/lua/bugabinga/options/keymaps.lua

Modified

+1 / −1 text lines

3939 if file_under_cursor and file_under_cursor:match '%a+://.+' then
4040 vim.system(
4141 ---@diagnostic disable-next-line: assign-type-mismatch
42 (const.win32 or const.wsl2) and { 'cmd.exe', '/C', 'start', 'msedge', file_under_cursor }
42 (const.win32 or const.wsl) and { 'cmd.exe', '/C', 'start', 'msedge', file_under_cursor }
4343 or { 'firefox', file_under_cursor },
4444 { text = true },
4545 function ( completed )

neovim/lua/std/const.lua

Modified

+35 / −31 text lines

1return {
2 win32 = vim.loop.os_uname().sysname:match 'Win',
3 wsl2 = vim.loop.os_uname().release:match 'WSL2',
4 os_background = (function ()
5 -- Default value
6 local background = 'light'
7 local uname = vim.uv.os_uname()
8 -- First check whether we are on WSL or Windows
9 if vim.loop.os_uname().release:match 'WSL2' then
10 -- Check if 'reg.exe' is executable
11 if vim.fn.executable 'reg.exe' ~= 0 then
12 -- Execute command to check if the win32 appearance is set to Dark
13 local appsUseLightTheme = vim.fn.system { 'reg.exe', 'Query',
14 'HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize', '/v', 'AppsUseLightTheme' }
15 if not appsUseLightTheme:find '0x1' then
16 background = 'dark'
17 end
18 end
19 -- Check if 'busctl' is executable (part of systemd)
20 elseif vim.fn.executable 'busctl' ~= 0 then
21 -- Get the current color scheme from xdg-desktop-portal using busctl
22 local result = vim.fn.system {
23 'busctl', '--user', 'call', 'org.freedesktop.portal.Desktop', '/org/freedesktop/portal/desktop',
24 'org.freedesktop.portal.Settings', 'ReadOne', 'ss', 'org.freedesktop.appearance', 'color-scheme',
25 }
26 -- The result is in the form of "v u 0" for light and "v u 1" for dark
27 local color_scheme = result:match 'u%s+(%d+)'
1local uname = vim.uv.os_uname()
2local win32 = vim.uv.os_uname().sysname:match 'Win' and true or false
3local wsl = vim.uv.os_uname().release:match 'WSL2' and true or false
29 if color_scheme == '1' then
5local os_background = function ()
6 -- Default value
7 local background = 'light'
8 -- First check whether we are on WSL or Windows
9 if win32 or wsl then
10 -- Check if 'reg.exe' is executable
11 if vim.fn.executable 'reg.exe' ~= 0 then
12 -- Execute command to check if the win32 appearance is set to Dark
13 local appsUseLightTheme = vim.fn.system { 'reg.exe', 'Query',
14 'HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize', '/v', 'AppsUseLightTheme' }
15 if not appsUseLightTheme:find '0x1' then
3016 background = 'dark'
3117 end
32 else
3318 end
19 -- Check if 'busctl' is executable (part of systemd)
20 elseif vim.fn.executable 'busctl' ~= 0 then
21 -- Get the current color scheme from xdg-desktop-portal using busctl
22 local result = vim.fn.system {
23 'busctl', '--user', 'call', 'org.freedesktop.portal.Desktop', '/org/freedesktop/portal/desktop',
24 'org.freedesktop.portal.Settings', 'ReadOne', 'ss', 'org.freedesktop.appearance', 'color-scheme',
25 }
26 -- The result is in the form of "v u 0" for light and "v u 1" for dark
27 local color_scheme = result:match 'u%s+(%d+)'
35 return background
36 end)(),
29 if color_scheme == '1' then
30 background = 'dark'
31 end
32 end
34 return background
35end
37return {
38 uname = uname,
39 win32 = win32,
40 wsl = wsl,
41 os_background = os_background(),

neovim/spell/nerd.utf-8.add

Modified

+3 / −0 text lines

9696weechat
9797tarsnap
9898mux
99icepuma
100traefik
99101tclock
100102sbyte
101103httm
104106diskonaut
105107mdsh
106108ast-grep
109>>>>>>> 313efcb717d937c279f95a0b48804aedd210e3ae

neovim/spell/nerd.utf-8.add.spl

Modified

Binary size (old → new): 1470 → 1471 bytes.