repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

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

67154c32f0927e5fbcd19d5e3ed85d18abb04fdf

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (10)

+79 / −22 text lines

Diff layout

neovim/lazy-lock.json

Modified

+6 / −5 text lines

1515 "glow.nvim": { "branch": "main", "commit": "238070a686c1da3bccccf1079700eb4b5e19aea4" },
1616 "heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
1717 "indent-blankline.nvim": { "branch": "master", "commit": "3fe94b8034dd5241cb882bb73847303b58857ecf" },
18 "lazy.nvim": { "branch": "main", "commit": "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" },
18 "lazy.nvim": { "branch": "main", "commit": "48b52b5cfcf8f88ed0aff8fde573a5cc20b1306d" },
1919 "lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" },
20 "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
2021 "mini.bracketed": { "branch": "main", "commit": "833d66df6e0588222312a963780c6ec42ed7437d" },
2122 "mini.bufremove": { "branch": "main", "commit": "1ee294a97e091d3cf967974df622c0d887890dc2" },
2223 "mini.diff": { "branch": "main", "commit": "24d46798be8a358d38d3adc92c7ebcbb2d6f67e0" },
3435 "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
3536 "nvim-neoclip.lua": { "branch": "main", "commit": "32e05f2d23dc5b6a284a688c0535a83d1bfc633f" },
3637 "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
37 "nvim-treesitter": { "branch": "master", "commit": "b9002f6fe679e2b8025a46116081c0da629a6b8c" },
38 "nvim-treesitter": { "branch": "master", "commit": "b7160e87aadbb3f5f6ee87ce139406fe3433044e" },
3839 "nvim-treesitter-context": { "branch": "master", "commit": "7f7eeaa99e5a9beab518f502292871ae5f20de6f" },
3940 "nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
4041 "nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" },
4344 "nvim-web-devicons": { "branch": "master", "commit": "9154484705968658e9aab2b894d1b2a64bf9f83d" },
4445 "nvim-window": { "branch": "main", "commit": "81f29840ac3aaeea6fc2153edfabebd00d692476" },
4546 "oil.nvim": { "branch": "master", "commit": "f60bb7f793477d99ef1acf39e920bf2ca4e644de" },
46 "plenary.nvim": { "branch": "master", "commit": "f4faa5a3dc77a694ba58f42585985fed88540ac6" },
47 "plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" },
4748 "qf_helper.nvim": { "branch": "master", "commit": "fa3c2f3f2706e2c9984409c9c14b5993302ddfa7" },
4849 "schemastore.nvim": { "branch": "main", "commit": "bfe74baf72ca8964a211286fed864f30c672f19b" },
4950 "specs.nvim": { "branch": "main", "commit": "8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" },
5455 "telescope-zoxide": { "branch": "main", "commit": "54bfe630bad08dc9891ec78c7cf8db38dd725c97" },
5556 "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
5657 "text-case.nvim": { "branch": "main", "commit": "e898cfd46fa6cde0e83abb624a16e67d2ffc6457" },
57 "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
58 "tree-sitter-nu": { "branch": "main", "commit": "0bb9a602d9bc94b66fab96ce51d46a5a227ab76c" },
58 "todo-comments.nvim": { "branch": "main", "commit": "313b04e5b02d29ab9275c9295ff5e2b73921b0eb" },
59 "tree-sitter-nu": { "branch": "main", "commit": "91ada3c0bed7d2963f6bbe2a57d68d77e67c5f07" },
5960 "treesj": { "branch": "main", "commit": "0d81326b5afd36babe7dd480aabbb0b05f33e688" },
6061 "twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" },
6162 "venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },

neovim/lua/bugabinga/plugins/mason.lua

Added
new file mode 100644

+14 / −0 text lines

1return {
2 "williamboman/mason.nvim",
3 lazy = false,
4 opts = {
5 ui = {
6 border = vim.g.border_style,
7 icons = {
8 package_installed = "✓",
9 package_pending = "➜",
10 package_uninstalled = "✗",
11 }
12 }
13 }
14}

nushell/env.nu

Modified

+19 / −0 text lines

66$env.DOTFILES = ( $env.WORKSPACE | path join 'dotfiles' )
77$env.NOTES = ("~/Notes" | path expand)
88$env.TOOLS = ("~/Tools" | path expand)
9$env.CARGO_HOME = ( "~/.cargo" | path expand )
11if $env.WIN32 {
12 $env.Path = (
13 $env.Path
14 | split row (char esep)
15 | append ($env.CARGO_HOME | path join bin)
16 | append ($env.HOME | path join .local bin)
17 | uniq # filter so the paths are unique
18)
19} else {
20 $env.PATH = (
21 $env.PATH
22 | split row (char esep)
23 | append ($env.CARGO_HOME | path join bin)
24 | append ($env.HOME | path join .local bin)
25 | uniq # filter so the paths are unique
26)
27}
1029if not (which nvim | is-empty) {
1130 $env.EDITOR = 'nvim'

nushell/login.nu

Modified

+1 / −0 text lines

11use prompt.nu *
22use commands.nu *
3use bw.nu
34use todo.nu
45use ssh-keygen-ed.nu
56use md.nu

nushell/scripts/bw.nu

Added
new file mode 100644

+6 / −0 text lines

1# fuzzy filter wrapper over rbw
2export def main [] {
3# TODO: needs to handle all kinds of weird rbw output
4# TODO: how to get the desired field into clipboard?
5 sk --ansi -i -c 'rbw search {}' --preview "rbw get --full {3} {1}@{2}" --delimiter '@' --nth 2
6}

nushell/scripts/prompt.nu

Modified

+1 / −1 text lines

9090 $command_status_segment
9191 (ansi reset)
9292 (ansi dark_gray)
93 ( if (sys host).hostname == "x230" { (akku) } else { $time_segment })
93 ( $time_segment )
9494 (ansi reset)
9595 ] | str join

tools/fedora_bootstrip.nu

Added
new file mode 100755

+5 / −0 text lines

1#!/usr/bin/env nu
2
3sudo dnf install fontconfig-devel freetype-devel libX11-xcb libX11-devel libstdc++-static libstdc++-devel
4sudo dnf groupinstall "Development Tools" "Development Libraries"
5

tools/tools.csv

Modified

+3 / −0 text lines

3838# netscanner
3939neovide;neovide; --git https://github.com/neovide/neovide
4040nu;nu; --locked
41neovide; neovide; --git https://github.com/neovide/neovide
4142nu_plugin_audio_hook; nu_plugin_audio_hook; --git https://github.com/FMotalleb/nu_plugin_audio_hook.git --features all-decoders
4243nu_plugin_skim
4344nu_plugin_desktop_notifications
4546pastel
4647pueue;pueue;--locked
4748ripgrep;rg
49rbw
4850rust-parallel
4951sd
52skim
5053# sniffnet
5154selene;selene; --no-default-features
5255starship

wezterm/wezterm.lua

Modified

+21 / −16 text lines

99local zen_mode = require 'bugabinga.neovim_zen_mode'
1010zen_mode(wez)
12local hostname = wez.hostname()
13local enable_wayland = false
14local window_decorations = 'INTEGRATED_BUTTONS|RESIZE'
15local font_size = 11.0
16-- local font = wez.font 'IBM Plex Mono'
17local font = wez.font 'Cousine'
18if hostname == 'x230' then
19 font_size = 11
20 enable_wayland = true
21elseif hostname == 'NB-00718' then
22 font_size = 13
23elseif hostname == 'fedora' then
24 font_size = 13
12local random_nerd_font = function()
2513 local font_names = {}
2614 local nerdfonts = io.open(wez.config_dir .. '/nerdfonts', 'r')
2715 if nerdfonts then
3321 local random_font = font_names[math.random(#font_names)]
3422 font = wez.font(random_font)
3523 end
24end
37 window_decorations = 'NONE'
26local hostname = wez.hostname()
27local enable_wayland = false
28local window_decorations = 'INTEGRATED_BUTTONS|RESIZE'
29local font_size = 11.0
30local font = wez.font 'Cousine'
31if hostname == 'x230' then
32 font_size = 13
33 font = random_nerd_font();
34 enable_wayland = true
35 window_decorations = 'TITLE|RESIZE'
36elseif hostname == 'NB-00718' then
37 font_size = 13
38elseif hostname == 'fedora' then
39 font_size = 13
40 font = random_nerd_font();
41 enable_wayland = true
42 window_decorations = 'RESIZE'
3843end
4045-- Equivalent to POSIX basename(3)
114119 font = font,
115120 font_size = font_size,
116 freetype_load_target = 'Light',
117 freetype_render_target = 'HorizontalLcd',
121 -- freetype_load_target = 'Light',
122 -- freetype_render_target = 'HorizontalLcd',
118123 -- underline_position = "-2pt",
119124 warn_about_missing_glyphs = false,

x230.symlinks

Modified

+3 / −0 text lines

6464neovim
6565~/.config/nvim
67fonts
68~/.local/share/fonts