repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

wezterm: colors adjust and less code fonts

72120adbeb755fda969bee196d45066fd916e2d9

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (9)

neovim/lua/bugabinga/statusbar.lua

Modified
284 284 local svn_get_relative_url = function ()
285 - -- FIXME: replace with vim.system
286 - local job = require 'plenary.job'
287 - local relative_url = { '[ERR]' }
289 - job
290 - :new {
291 - command = 'svn',
292 - args = { 'info', '--show-item', 'relative-url', '--no-newline' },
293 - on_exit = function ( current_job, exit_code )
294 - if exit_code == 0 then
295 - relative_url = current_job:result()
296 - end
297 - end,
298 - }
299 - :sync()
301 - return relative_url[1]
285 + local result = vim.system { 'svn', 'info', '--show-item', 'relative-url', '--no-newline' }:wait()
286 + if result.code == 0 then
287 + vim.print( result )
288 + return result.stdout
289 + else
290 + return result.stderr
291 + end
304 294 local svn = {
548 538 colors = nugu,
549 539 disable_winbar_cb = function ( args )
550 540 return conditions.buffer_matches( {
551 - buftype = ignored.buftypes,
552 - filetype = ignored.filetypes,
553 - }, args.buf )
541 + buftype = ignored.buftypes,
542 + filetype = ignored.filetypes,
543 + }, args.buf )

neovim/puk.plugins.nuon

Modified
331 331 "0ec6c3a9ef63703975e800d7386b6114863e1f9d",

nushell/scripts/external_completer.nu

Deleted
deleted file mode 100644
1 -export def main [] {
3 - let carapace_completer = {|spans: list<string>|
4 - carapace $spans.0 nushell ...$spans
5 - | from json
6 - | if ($in | default [] | where value =~ '^-.*ERR$' | is-empty) { $in } else { null }
7 - }
9 - let zoxide_completer = {|spans|
10 - $spans | skip 1 | zoxide query -l ...$in | lines | where {|x| $x != $env.PWD}
11 - }
13 - # This completer will use carapace by default
14 - let external_completer = {|spans|
15 - # https://github.com/nushell/nushell/issues/8483
16 - let expanded_alias = scope aliases
17 - | where name == $spans.0
18 - | get -i 0.expansion
20 - let spans = if $expanded_alias != null {
21 - $spans
22 - | skip 1
23 - | prepend ($expanded_alias | split row ' ' | take 1)
24 - } else {
25 - $spans
26 - }
28 - match $spans.0 {
29 - # use zoxide completions for zoxide commands
30 - __zoxide_z | __zoxide_zi => $zoxide_completer
31 - _ => $carapace_completer
32 - } | do $in $spans
33 - }
35 - $external_completer
36 -}

topgrade/win32.toml

Modified
2 2 [misc]
4 4 [pre_commands]
5 5 "01 Enable Script Execution" = 'powershell -Command "Set-ExecutionPolicy RemoteSigned"'
6 -"02 Enable Developer Mode" = 'powershell -File "X:\Enable Developer Mode.ps1"'
7 -"03 Setup Drives" = 'reg import "X:\Setup Drives.reg"'
8 -"04 Disable Caps Lock" = 'reg import "X:\Disable Caps Lock.reg"'
9 -"05 Register CMD Aliases" = 'reg import "X:\Register CMD Aliases.reg"'
10 -"06 Enable Long Paths" = 'reg import "X:\Enable Long Paths.reg"'
11 -"07 Winget Export" = 'winget export --source winget --nowarn --output X:\winget_installed_apps.json'
6 +"02 Enable Developer Mode" = 'powershell -File "C:\Users\okr\Tools\Enable Developer Mode.ps1"'
7 +"03 Setup Drives" = 'reg import "C:\Users\okr\Tools\Setup Drives.reg"'
8 +"04 Disable Caps Lock" = 'reg import "C:\Users\okr\Tools\Disable Caps Lock.reg"'
9 +"05 Register CMD Aliases" = 'reg import "C:\Users\okr\Tools\Register CMD Aliases.reg"'
10 +"06 Enable Long Paths" = 'reg import "C:\Users\okr\Tools\Enable Long Paths.reg"'
11 +"07 Winget Export" = 'winget export --source winget --nowarn --output C:\Users\okr\Tools\winget_installed_apps.json'
13 13 [post_commands]

wezterm/bugabinga/code_fonts.csv

Modified
1 -1,Anonymous Pro
2 -1,Anonymous Pro Minus
3 -1,Aurulent Sans Mono
4 -1,AverageMono
5 -1,BPmono
6 -1,BigBlue TerminalPlus
7 1 10,Bitstream Vera Sans Mono
8 -1,Bront
9 -0,CMU Typewriter Text
10 -1,CPMono_v07
11 -1,CamingoCode
12 -1,Cascadia Code
13 -1,Code New Roman
14 -1,CodingFontTobi
15 -1,Consola Mono
16 -1,Courier Prime Code
17 -1,Cousine
18 -0,Crisp
19 -1,Cutive Mono
20 -1,D2Coding
21 -1,DejaVu Sans Mono
22 -1,Dina ttf 10px
23 -1,Droid Sans Mono
24 -1,Edlo
25 2 4,Envy Code R
26 -1,Fantasque Sans Mono
27 -1,Fira Code
28 -1,Fira Mono
29 -0,Fixedsys Excelsior 3.01
30 -1,FreeMono
31 -1,Geist Mono
32 3 20,Generic Mono II
33 -1,GohuFont
34 -1,Hack
35 -1,Hasklig
36 4 20,Hermit
37 5 11,IBM Plex Mono
38 -1,Inconsolata
39 -1,Inconsolata LGC
40 -1,Inconsolata-dz
41 -1,Inconsolata-g
42 -1,Intel One Mono
43 -1,Iosevka
44 -1,Iosevka Slab
45 -0,JetBrains Mono
46 -0,JetBrains Mono NL
47 6 7,Kawkab Mono
48 -1,Latin Modern Mono Light
49 7 11,Lekton
50 -1,Liberation Mono
51 -1,Lilex
52 -1,Linux Libertine Mono
53 8 3,Luculent
54 9 3,Luxi Mono
55 -1,M+ 1m
56 10 54,M+ 1mn
57 11 14,M+ 2m
58 -1,Martian Mono
59 -1,Mensch
60 -0,Meslo LG M DZ
61 -1,Metrickal
62 -1,Monaspace Argon Var
63 12 22,Monaspace Krypton Var
64 -1,Monaspace Neon Var
65 -1,Monaspace Radon Var
66 -1,Monaspace Xenon Var
67 -1,MonoSpatial
68 -1,Monoid
69 -1,Monospace
70 -0,MonteCarlo Fixed 12
71 -0,NanumGothic_Coding
72 -0,NotCourierSans
73 -1,Office Code Pro
74 -1,Office Code Pro D
75 13 6,Oxygen Mono
76 -1,PT Mono
77 -1,Panic Sans
78 -0,PixelCarnageMonoTT
79 -1,Pointfree
80 -1,ProFontWindows
81 -0,ProggyCleanTT
82 -0,ProggyCleanTTSZ
83 -0,ProggySmallTT
84 -0,ProggySquareTT
85 -0,ProggySquareTTSZ
86 -0,ProggyTinyTT
87 -0,ProggyTinyTTSZ
88 -1,Rec Mono Casual
89 -1,Rec Mono Linear
90 -1,Roboto Mono
91 -1,SV Basic Manual
92 -1,Share Tech Mono
93 -1,Share-TechMonoTrue
94 14 4,SmallTypeWriting
95 -1,Source Code Pro
96 -1,Sudo
97 -0,Symbols Nerd Font
98 -0,Symbols Nerd Font Mono
99 -0,TeX Gyre Cursor
100 -1,Terminus
101 -1,Ubuntu Mono
102 -0,Verily Serif Mono
103 -1,Victor Mono
104 -1,Whois
105 -1,agave
106 -1,iA Writer Mono V
107 -1,monoOne
108 -1,monofur
109 -1,mononoki
110 -0,saxMono

wezterm/bugabinga/hosts/NB-00718.lua

Modified
6 6 wezterm.on('gui-startup', function(cmd)
7 7 local tab, pane, window = mux.spawn_window(cmd or {})
8 8 window:gui_window():maximize()
9 - -- Create a split occupying the right 1/3 of the screen
10 - pane:split { size = 0.123 }
9 + -- Create a split occupying the right side of the screen
10 + pane:split { size = 0.42 }
11 11 pane:activate()
12 12 end)
14 14 return function ( cfg )
15 - cfg.font_size = 16
15 + cfg.font_size = 11
16 16 cfg.font = code_font.random();
18 18 cfg.window_decorations = 'RESIZE'

wezterm/bugabinga/nugu/palette_dark.lua

Modified
1 1 return
2 -{palette = {debug = "#ff00ff", error = "#ec1274", warning = "#f89f89", info = "#9c9bf5", content = {normal = "#ededed", backdrop = "#121212", accent = "#e808e8", minor = "#686868", focus = "#7d9e9b", unfocus = "#284c4a", important_local = "#9b66f0", important_global = "#b086f3"}, ui = {normal = "#fefefe", backdrop = "#010101", accent = "#b63ab6", minor = "#565656", focus = "#738584", unfocus = "#1f3231", important_local = "#884de6", important_global = "#9c6cea"}}}
2 +{palette = {debug = "#ff00ff", error = "#ec1274", warning = "#ffffff", info = "#9c9bf5", content = {normal = "#ededed", backdrop = "#121212", accent = "#e808e8", minor = "#686868", focus = "#7d9e9b", unfocus = "#284c4a", important_local = "#9b66f0", important_global = "#b086f3"}, ui = {normal = "#fefefe", backdrop = "#010101", accent = "#b63ab6", minor = "#565656", focus = "#738584", unfocus = "#1f3231", important_local = "#884de6", important_global = "#9c6cea"}}}

wezterm/bugabinga/nugu/palette_light.lua

Modified
1 1 return
2 -{palette = {debug = "#ff00ff", error = "#f2529a", warning = "#fcd5cc", info = "#dbdbfb", content = {normal = "#121212", backdrop = "#ededed", accent = "#e808e8", minor = "#5f5f5f", focus = "#248883", unfocus = "#aaaaaa", important_local = "#a382d5", important_global = "#9068cc"}, ui = {normal = "#010101", backdrop = "#fefefe", accent = "#b63ab6", minor = "#717171", focus = "#339d97", unfocus = "#bcbcbc", important_local = "#b8a1d9", important_global = "#a588cf"}}}
2 +{palette = {debug = "#ff00ff", error = "#f2529a", warning = "#c2300c", info = "#dbdbfb", content = {normal = "#121212", backdrop = "#ededed", accent = "#e808e8", minor = "#5f5f5f", focus = "#248883", unfocus = "#aaaaaa", important_local = "#a382d5", important_global = "#9068cc"}, ui = {normal = "#010101", backdrop = "#fefefe", accent = "#b63ab6", minor = "#717171", focus = "#339d97", unfocus = "#bcbcbc", important_local = "#b8a1d9", important_global = "#a588cf"}}}

wezterm/bugabinga/window.lua

Modified
1 1 return function ( cfg )
2 - cfg.window_background_opacity = 0.88
2 + cfg.window_background_opacity = 1.0
3 3 cfg.window_decorations = 'NONE'
4 4 cfg.enable_wayland = true
5 5 cfg.use_resize_increments = true