dotfiles bugabingas dorkfiles
owned by bugabinga
README Source History Refs Reviews Compare Notes Search Review guide CI runs Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
d273182e44d6f7ac1bd76d413b91de9cb710e1f2
Oliver Jan Krylow <oliver@bugabinga.net > · 16 Oct 2024
unsigned
Browse files Compare with HEAD
Changed files (23) +143 / −172 text lines · 2 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately
Diff layout Auto Unified Split
NB-00718-WSL.symlinks Deleted deleted file mode 100644+0 / −65 text lines
8 - ~/.config/git/.gitconfig.include17 - ~/.local/bin/svn.merge29 - ~/.config/nushell/config.nu32 - ~/.config/nushell/env.nu35 - ~/.config/nushell/login.nu37 - nushell/gen-aliases.nu38 - ~/.config/nushell/gen-aliases.nu41 - ~/.config/nushell/scripts44 - ~/.config/nushell/completions46 - topgrade/topgrade.toml47 - ~/.config/topgrade.toml65 - ~/.config/systemd/user/pueued.service
cargo/config.toml Modified +3 / −2 text lines
8 8 [profile .release ][profile .release ]10 10 lto = "fat" lto = "fat" 13 15 [target .x86_64-unknown-linux-gnu ][target .x86_64-unknown-linux-gnu ]16 - rustflags = ["-C" , "link-arg=--ld-path =mold" ]17 + rustflags = ["-C" , "link-arg=-fuse -ld=mold" ]+4 / −3 text lines
91 91 unison/unison@.serviceunison/unison@.service92 92 ~/.config/systemd/user/unison@.service~/.config/systemd/user/unison@.service95 - ~/.config/systemd/user/unison@.timer
98 95 ~/.config/pueue~/.config/pueue106 103 firefox/qrza8u52.default-release/user.jsfirefox/qrza8u52.default-release/user.js107 104 ~/.mozilla/firefox/qrza8u52.default-release/user.js~/.mozilla/firefox/qrza8u52.default-release/user.jshelix/themes/nugu-dark.toml Modified +1 / −1 text lines
130 130 unfocus = "#28454b" unfocus = "#28454b" 131 131 ui_normal = "#e6e6e6" ui_normal = "#e6e6e6" 132 132 ui_backdrop = "#000000" ui_backdrop = "#000000" 133 - ui_accent = "#230723" 133 + ui_accent = "#5a265a" 134 134 ui_important_global = "#514a6c" ui_important_global = "#514a6c" 135 135 ui_important_local = "#2a2638" ui_important_local = "#2a2638" 136 136 ui_minor = "#242424" ui_minor = "#242424" helix/themes/nugu-light.toml Modified +1 / −1 text lines
130 130 unfocus = "#929292" unfocus = "#929292" 131 131 ui_normal = "#1a1a1a" ui_normal = "#1a1a1a" 132 132 ui_backdrop = "#ffffff" ui_backdrop = "#ffffff" 133 - ui_accent = "#b225b2" 133 + ui_accent = "#5a265a" 134 134 ui_important_global = "#897bb1" ui_important_global = "#897bb1" 135 135 ui_important_local = "#bab1d1" ui_important_local = "#bab1d1" 136 136 ui_minor = "#a3a3a3" ui_minor = "#a3a3a3" neovim/lua/bugabinga/nugu/palette_dark.lua Modified +1 / −1 text lines
16 16 ui_normal = '#fcfcfc' , ui_normal = '#fcfcfc' ,17 17 ui_backdrop = '#000000' , ui_backdrop = '#000000' ,18 - ui_accent = '#230723' ,18 + ui_accent = '#5a265a' ,19 19 ui_minor = '#242424' , ui_minor = '#242424' ,20 20 ui_focus = '#3d474a' , ui_focus = '#3d474a' ,21 21 ui_unfocus = '#0c1010' , ui_unfocus = '#0c1010' ,neovim/lua/bugabinga/nugu/palette_light.lua Modified +1 / −1 text lines
16 16 ui_normal = '#030303' , ui_normal = '#030303' ,17 17 ui_backdrop = '#ffffff' , ui_backdrop = '#ffffff' ,18 - ui_accent = '#b225b2' ,18 + ui_accent = '#5a265a' ,19 19 ui_minor = '#a3a3a3' , ui_minor = '#a3a3a3' ,20 20 ui_focus = '#53a5b7' , ui_focus = '#53a5b7' ,21 21 ui_unfocus = '#bdbdbd' , ui_unfocus = '#bdbdbd' ,neovim/lua/bugabinga/options/spelling.lua Modified +2 / −1 text lines
neovim/spell/nerd.utf-8.add Modified +2 / −1 text lines
109 - >>>>>>> 313efcb717d937c279f95a0b48804aedd210e3ae
112 111 EntwicklerQuizEntwicklerQuiz114 113 RätselantwortenRätselantwortenneovim/spell/nerd.utf-8.add.spl Modified Binary size (old → new): 1761 → 1694 bytes.
neovim/spell/nerd.utf-8.spl Modified Binary size (old → new): 68759 → 69071 bytes.
nushell/config.nu Modified +1 / −1 text lines
14 14 buffer_editor: ["nvim" "--clean" ] buffer_editor: ["nvim" "--clean" ]15 - highlight_resolved_externals : true15 + highlight_resolved_externals : true16 16 use_kitty_protocol : true use_kitty_protocol : true17 17 render_right_prompt_on_last_line: true render_right_prompt_on_last_line: true+3 / −1 text lines
7 7 $env.NOTES = ("~/Notes" | path expand)$env.NOTES = ("~/Notes" | path expand)8 8 $env.TOOLS = ("~/Tools" | path expand)$env.TOOLS = ("~/Tools" | path expand)9 9 $env.CARGO_HOME = ( "~/.cargo" | path expand )$env.CARGO_HOME = ( "~/.cargo" | path expand )10 - $env.GO_HOME = ( "~/go" | path expand )10 + $env.GO_HOME = ( "~/. go" | path expand )11 11 $env.BARTIB_FILE = ( $env.NOTES | path join 'timetrack.txt' )$env.BARTIB_FILE = ( $env.NOTES | path join 'timetrack.txt' )13 13 if $env.WIN32 {if $env.WIN32 {16 16 | split row (char esep) | split row (char esep)17 17 | append ($env.CARGO_HOME | path join bin) | append ($env.CARGO_HOME | path join bin)
18 + | append ($env.GO_HOME | path join bin)18 19 | append ($env.HOME | path join .local bin) | append ($env.HOME | path join .local bin)107 108 if ( $env | get -i WSLENV | is-not-empty ) { wslg }if ( $env | get -i WSLENV | is-not-empty ) { wslg }nushell/gen-aliases.nu Modified +16 / −17 text lines
8 8 ...args: string ...args: string 11 - if not (which $command | is-empty) {12 - $"alias ($name) = ($command) ($args | str join ' ')\n" | save -a $file 11 + if (which $command | is-not- empty) {12 + $"alias ($name) = ($command) ($args | str join ' ')\n" | save --append $file 22 - aka list eza '--long' '--git' 23 20 aka tree eza '--tree' '--icons' '--git' '--all' '--long' aka tree eza '--tree' '--icons' '--git' '--all' '--long' 24 - aka imgcat wezterm imgcat21 + aka view wezterm imgcat22 + aka list eza '--long' '--git' 26 + aka edit nvim '--clean' 27 + aka archive wget "-mpck" "--html-extension" '--user-agent=""' "-e" "robots=off" "--wait" 1 "-P" .26 30 aka ll ls '--long' aka ll ls '--long' 27 31 aka la ls '--long' '--all' aka la ls '--long' '--all' 31 35 aka vim nvimaka vim nvim34 - aka edit nvim '--clean'
36 36 aka vi nvim '--clean' aka vi nvim '--clean' 37 38 aka bb bartibaka bb bartib39 41 aka userctl systemctl '--user' aka userctl systemctl '--user' 42 - aka archive wget "-mpck" "--html-extension" '--user-agent=""' "-e" "robots=off" "--wait" 1 "-P" .
45 44 aka aes java ($env.DOTFILES + /tools/ + aes.java)aka aes java ($env.DOTFILES + /tools/ + aes.java)46 45 aka download java ($env.DOTFILES + /tools/ + download.java)aka download java ($env.DOTFILES + /tools/ + download.java)nushell/scripts/direnv.nu Modified +26 / −23 text lines
9 9 def direnv [] {def direnv [] {12 - condition: {|before, after| ($before != $after ) and ($after | path join '.env' | path exists) }16 - | parse --regex '\s*(?P<key>.+?)\s*=\s*?(?P<value>.+)?\s*' 17 - | reduce --fold {} { | entry, acc|18 - $acc | upsert $entry.key ( $entry.value | str trim | expand-home )12 + condition: {|before, after| ($before != $after ) and ($after | path join '.env' | path exists) }16 + | parse --regex '\s*(?P<key>.+?)\s*=\s*?(?P<value>.+)?\s*' 17 + | reduce --fold {} { | entry, acc|18 + $acc | upsert $entry.key ( $entry.value | str trim | expand-home )26 26 export -env {export -env {27 - $env.config = ( $env.config | upsert hooks.env_change.PWD { |config|28 - let o = ($config | get -i hooks.env_change.PWD)27 + $env.config = ( $env.config | upsert hooks { |config|28 + let o = ($config | get -i hooks.env_change.PWD)30 + let appended = if $o == null {nushell/scripts/fedora_bootstrip.nu Modified +64 / −13 text lines
8 8 sudo dnf groupinstall "Development Tools" "Development Libraries" sudo dnf groupinstall "Development Tools" "Development Libraries" 11 - sudo dnf install fontconfig-devel freetype-devel libX11-xcb libX11-devel libstdc++-static libstdc++-devel alsa-lib-devel libspatialaudio-devel pipewire-devel systemd-devel libseat-devel cairo-gobject-devel pango-devel libdisplay-info-devel libinput-devel mesa-libgbm-devel openssl-devel wayland-devel pipewire-devel pango-devel mesa-libgbm-devel libxkbcommon-devel libseat-devel libspatialaudio-devel14 - sudo dnf install perl-File-Compare perl-File-Copy perl-FindBin perl-IPC-Cmd17 - sudo dnf install python3-dnf-plugin-rpmconf dnf-automatic18 - sudo systemctl enable --now dnf-automatic-install.timer21 - sudo dnf install aerc llvm clang cmake unison rustup neovim mold java-latest-openjdk-devel java-latest-openjdk-src perl-Image-ExifTool19 + libspatialaudio-devel25 + libdisplay-info-devel35 + libspatialaudio-devel43 + java-latest-openjdk-src44 + java-latest-openjdk-javadoc45 + java-latest-openjdk-devel53 + python3-dnf-plugin-rpmconf25 - sudo dnf install gnome-tweaks zathura zathura-pdf-mudpf69 + $packages = $packages | append $gui_packages 71 + flatpak install com.bitwarden.desktop com.discordapp.Discord org.telegram.desktop rs.ruffle.Ruffle
74 + sudo dnf install ...$packages 76 + sudo systemctl enable --now dnf-automatic-install.timernushell/scripts/notes.nu Modified +1 / −1 text lines
36 - def new_note_id [] { random binary 3 | encode new- base64 --nopad --url }36 + def new_note_id [] { random binary 3 | encode base64 --nopad --url }38 38 def new_note [def new_note [39 39 title: string title: string nushell/scripts/prompt.nu Modified +1 / −28 text lines
29 - def set-window-title [] {31 - if ($env | get -i TERM_PROGRAM) == WezTerm {33 - let pwd = ( $env.PWD | path expand )34 - let icon = if (icons | any { |icon| $icon.path == $pwd } ) { ( icons | where path == $pwd | get icon.0 ) } else { $"(char nf_folder1)" }35 - echo ([ (ansi title) $icon " " ( $pwd | path basename ) (ansi reset) ] | str join)
39 25 def prompt-git-branch [] {def prompt-git-branch [] {58 44 def create_left_prompt [] {def create_left_prompt [] {62 46 let pwd = ($env.PWD | path expand) let pwd = ($env.PWD | path expand)63 47 let pwd = ( (icons) | reduce --fold $pwd { |item, accumulator| $accumulator | str replace $item.path $item.icon }) let pwd = ( (icons) | reduce --fold $pwd { |item, accumulator| $accumulator | str replace $item.path $item.icon })80 64 def create_right_prompt [] {def create_right_prompt [] {81 - let time_segment = ([82 - (date now | format date '%d.%m %R' )
85 65 let command_status_segment = if $env.LAST_EXIT_CODE == 0 { $" (char -u '2713') " } else { $"(ansi red) (char failed) (ansi reset)" } let command_status_segment = if $env.LAST_EXIT_CODE == 0 { $" (char -u '2713') " } else { $"(ansi red) (char failed) (ansi reset)" }86 - let command_duration_segment = if ( $env.CMD_DURATION_MS | into int) > 0 { $"($env.CMD_DURATION_MS)ms" | into duration }
89 68 (ansi dark_gray_dimmed) (ansi dark_gray_dimmed)90 - $command_duration_segment
93 69 $command_status_segment $command_status_segment 94 70 (ansi reset) (ansi reset)98 71 ] | str join ] | str join108 - $env.PROMPT_INDICATOR = $"(ansi green) (char prompt) (ansi reset)" 81 + $env.PROMPT_INDICATOR = $"(ansi green) ⚈ (ansi reset)" 109 82 $env.PROMPT_INDICATOR_VI_INSERT = $"(ansi magenta) (char pipe) (ansi reset)" $env.PROMPT_INDICATOR_VI_INSERT = $"(ansi magenta) (char pipe) (ansi reset)" 110 83 $env.PROMPT_INDICATOR_VI_NORMAL = $"(ansi magenta) (char prompt) (ansi reset)" $env.PROMPT_INDICATOR_VI_NORMAL = $"(ansi magenta) (char prompt) (ansi reset)" 111 84 $env.PROMPT_MULTILINE_INDICATOR = $"(ansi magenta) (char prompt)(char prompt) (ansi reset)" $env.PROMPT_MULTILINE_INDICATOR = $"(ansi magenta) (char prompt)(char prompt) (ansi reset)" nushell/scripts/sy.nu Modified +6 / −4 text lines
17 17 export def up [] {export def up [] {18 18 check-deps check-deps
21 + let git_add_notes = [ '-C' $env.NOTES add '--all' ]20 22 let git_commit_notes = [ '-C' $env.NOTES commit '--all' ] let git_commit_notes = [ '-C' $env.NOTES commit '--all' ]21 23 let git_push_notes = [ '-C' $env.NOTES push '-ff' ] let git_push_notes = [ '-C' $env.NOTES push '-ff' ]
24 + let git_add_dotfiles = [ '-C' $env.DOTFILES add '--all' ]22 25 let git_commit_dotfiles = [ '-C' $env.DOTFILES commit '--all' ] let git_commit_dotfiles = [ '-C' $env.DOTFILES commit '--all' ]23 26 let git_push_dotfiles = [ '-C' $env.DOTFILES push '-ff' ] let git_push_dotfiles = [ '-C' $env.DOTFILES push '-ff' ]28 + run-external git ...$git_add_notes 26 29 try { run-external git ...$git_commit_notes } try { run-external git ...$git_commit_notes }28 30 run-external git ...$git_push_notes run-external git ...$git_push_notes 32 + run-external git ...$git_add_dotfiles 30 33 try { run-external git ...$git_commit_dotfiles } try { run-external git ...$git_commit_dotfiles }32 34 run-external git ...$git_push_dotfiles run-external git ...$git_push_dotfiles wezterm/bugabinga/code_fonts.csv Modified +3 / −3 text lines
44 44 1,Iosevka Slab 1,Iosevka Slab 45 45 0,JetBrains Mono 0,JetBrains Mono 46 46 0,JetBrains Mono NL 0,JetBrains Mono NL 48 48 1,Latin Modern Mono Light 1,Latin Modern Mono Light 50 50 1,Liberation Mono 1,Liberation Mono 91 91 1,SV Basic Manual 1,SV Basic Manual 92 92 1,Share Tech Mono 1,Share Tech Mono 93 93 1,Share-TechMonoTrue 1,Share-TechMonoTrue 95 95 1,Source Code Pro 1,Source Code Pro 98 98 0,Symbols Nerd Font Mono 0,Symbols Nerd Font Mono 99 99 1,TeX Gyre Cursor 1,TeX Gyre Cursor 100 100 1,Terminus 1,Terminus wezterm/bugabinga/nugu/init.lua Modified +2 / −2 text lines
33 33 palette.content.minor, palette.content.minor, 35 35 brights = { brights = {36 - palette.content.unfocus , 36 + palette.content.minor , 37 37 palette.error, palette.error, 38 38 palette.content.accent, palette.content.accent, 39 39 palette.warning, palette.warning, 40 + palette.content.unfocus, 41 41 palette.debug, palette.debug, 42 42 palette.content.focus, palette.content.focus, 43 43 palette.content.normal, palette.content.normal, wezterm/wezterm.lua Modified +1 / −0 text lines
9 9 require 'bugabinga.window' ( cfg )require 'bugabinga.window' ( cfg )10 10 require 'bugabinga.startup' ( cfg )require 'bugabinga.startup' ( cfg )11 11 require 'bugabinga.status' ( cfg )require 'bugabinga.status' ( cfg )
12 + require 'bugabinga.titles' ( cfg )12 13 require 'bugabinga.launch' ( cfg )require 'bugabinga.launch' ( cfg )13 14 require 'bugabinga.neovim_zen_mode' (cfg)require 'bugabinga.neovim_zen_mode' (cfg)14 15 require 'bugabinga.hosts' ( cfg )require 'bugabinga.hosts' ( cfg )+4 / −3 text lines
70 70 unison/unison@.serviceunison/unison@.service71 71 ~/.config/systemd/user/unison@.service~/.config/systemd/user/unison@.service74 - ~/.config/systemd/user/unison@.timer
77 74 ~/.config/hypr~/.config/hypr85 82 environment.denvironment.d86 83 ~/.config/environment.d~/.config/environment.d