Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk
d54f57a7c348478fb074e2fdd7de69a6f1f9457e
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 813fa19150da · Diff against parent 1
- Parent 2: 6b87f790adbb · Showing diff
bugabingas dorkfiles
d54f57a7c348478fb074e2fdd7de69a6f1f9457e
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+202 / −110 text lines
+8 / −2 text lines
+6 / −4 text lines
+1 / −0 text lines
+3 / −34 text lines
disable = ["vim"]# Arguments to pass Git when pulling Repositories# arguments = "--ff --rebase"# Commands to run before anything[pre_commands]"00 - Create BTRFS snapshot" = "echo TODO"# Custom commands[commands]# Updating my configuration files"00 - Refresh Dotfiles" = "java ~/Workspace/dotfiles/bootstripper.java ~/Workspace/dotfiles"# install tools from cargo, that are not already in path"01 - Install Cargo Tools" = "cd ~/Workspace/dotfiles/tools ; java ~/Workspace/dotfiles/tools/install.java"+23 / −8 text lines
local selected = 'JetBrains Mono' -- safe default, because built in to wezterm local nerdfonts = io.open( wez.config_dir .. '/bugabinga/code_fonts', 'r' ) if nerdfonts then for font_name in nerdfonts:lines() do if not font_name:match '^#.*' then table.insert( font_names, font_name ) local weights = {} local total_weight = 1 -- to account for luas 1 based indexing local code_fonts = io.open( wez.config_dir .. '/bugabinga/code_fonts.csv', 'r' ) if code_fonts then for line in code_fonts:lines() do local weight, font_name = line:match '^%s*(%d*)%s*,%s*(.*)%s*$' table.insert( font_names, font_name ) table.insert( weights, tonumber( weight ) ) total_weight = total_weight + weight end code_fonts:close() local random_weight = math.random( total_weight ) local cursor = 0 for idx, weight in ipairs( weights ) do cursor = cursor + weight if cursor >= random_weight then selected = font_names[idx] breaknew file mode 100644+110 / −0 text lines
1, Anonymous Pro 1, Anonymous Pro Minus 1, Aurulent Sans Mono 1, AverageMono 1, BPmono 1, BigBlue TerminalPlus 1, Bitstream Vera Sans Mono 1, Bront 1, CMU Typewriter Text 1, CPMono_v07 1, CamingoCode 1, Cascadia Code 1, Code New Roman 1, CodingFontTobi 1, Consola Mono 1, Courier Prime Code 1, Cousine 1, Crisp 1, Cutive Mono 1, D2Coding 1, DejaVu Sans Mono 1, Dina ttf 10px 1, Droid Sans Mono 1, Edlo 1, Envy Code R 1, Fantasque Sans Mono 1, Fira Code 1, Fira Mono 1, Fixedsys Excelsior 3.01 1, FreeMono 1, Geist Mono 1, Generic Mono II 1, GohuFont 1, Hack 1, Hasklig 10, Hermit 10, IBM Plex Mono 1, Inconsolata 1, Inconsolata LGC 1, Inconsolata-dz 1, Inconsolata-g 1, Intel One Mono 1, Iosevka 1, Iosevka Slab 1, JetBrains Mono 1, JetBrains Mono NL 1, Kawkab Mono 1, Latin Modern Mono Light 10, Lekton 1, Liberation Mono 1, Lilex 1, Linux Libertine Mono 1, Luculent 1, Luxi Mono 1, M+ 1m 1, M+ 1mn 1, M+ 2m 1, Martian Mono 1, Mensch 1, Meslo LG M DZ 1, Metrickal 1, Monaspace Argon Var 1, Monaspace Krypton Var 1, Monaspace Neon Var 1, Monaspace Radon Var 1, Monaspace Xenon Var 1, MonoSpatial 1, Monoid 1, Monospace 1, MonteCarlo Fixed 12 1, NanumGothic_Coding 1, NotCourierSans 1, Office Code Pro 1, Office Code Pro D 1, Oxygen Mono 1, PT Mono 1, Panic Sans 1, PixelCarnageMonoTT 1, Pointfree 1, ProFontWindows 1, ProggyCleanTT 1, ProggyCleanTTSZ 1, ProggySmallTT 1, ProggySquareTT 1, ProggySquareTTSZ 1, ProggyTinyTT 1, ProggyTinyTTSZ 1, Rec Mono Casual 1, Rec Mono Linear 1, Roboto Mono 1, SV Basic Manual 1, Share Tech Mono 1, Share-TechMonoTrue 1, SmallTypeWriting 1, Source Code Pro 1, Sudo 1, Symbols Nerd Font 1, Symbols Nerd Font Mono 1, TeX Gyre Cursor 1, Terminus 1, Ubuntu Mono 1, Verily Serif Mono 1, Victor Mono 1, Whois 1, agave 1, iA Writer Mono V 1, monoOne 1, monofur 1, mononoki 20, saxMono+5 / −2 text lines
+32 / −59 text lines
{ key = 'a', action = wez.action.PaneSelect, }, [navigate_forward_mode] = { { key = 'b', -- b as in buffer in vim action = wez.action.ActivateTabRelative( 1 ), }, { key = 'w', -- next workspace action = wez.action.SwitchWorkspaceRelative( 1 ), }, }, [navigate_backward_mode] = { { key = 'b', action = wez.action.ActivateTabRelative( -1 ), }, { key = 'w', -- prev workspace action = wez.action.SwitchWorkspaceRelative( -1 ), }, }, { key = 'n', mods = 'LEADER', action = wez.action.PromptInputLine { description = wez.format { { Attribute = { Intensity = 'Bold', }, }, { Foreground = { AnsiColor = 'Purple', }, }, { Text = 'New workspace:', }, }, action = wez.action_callback( function ( window, pane, line ) if line then window:perform_action( wez.action.SwitchToWorkspace { name = line, }, pane ) end end ), }, }, action = wez.action.ActivateCommandPalette, key = 'c', mods = 'LEADER', action = wez.action.SwitchToWorkspace { name = 'code', }, }, { key = 'k', mods = 'LEADER', action = wez.action.SwitchToWorkspace { name = 'dorkfiles editing', }, }, { key = 'd', mods = 'LEADER', action = wez.action.SwitchToWorkspace { name = 'default', }, }, { key = 'r', key = 'Tab', title = ' Menu',+1 / −1 text lines
new file mode 100644+12 / −0 text lines
+1 / −0 text lines