repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

adapt for new host pop-os

8c20a7c14aa545e67ec18673ca073066c48fb895

Oliver Jan Krylow <olver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (30)

.gitignore

Modified
3 3 bootstripper
4 4 neovim/plugin
5 5 bootstripper/bootstripper.com.dbg
6 6 bootstripper/cosmopolitan
7 7 bootstripper/win32/cross9
8 +tresor/box_do_key
9 +nushell/zoxide.nu

EJ-PC-00363.symlinks

Modified
1 1 neovim
2 2 ~/AppData/Local/nvim
4 -git/.gitconfig
4 +git/gitconfig
5 5 ~/.gitconfig
7 -git/.gitconfig.EJ-PC-00363
7 +git/gitconfig.EJ-PC-00363
8 8 ~/.gitconfig.include
10 10 starship/starship.toml
11 11 ~/.config/starship.toml
13 -alacritty/alacritty.yml
13 +alacritty/alacritty.windows.yml
14 14 ~/AppData/Roaming/alacritty/alacritty.yml
16 -alacritty/alacritty
17 -~/.config/alacritty
16 +alacritty/alacritty_common.yml
17 +~/.config/alacritty/alacritty_common.yml
19 -topgrade/topgrade.toml
19 +topgrade/topgrade.windows.toml
20 20 ~/AppData/Roaming/topgrade.toml
22 22 nushell
23 -~/AppData/Roaming/nushell
23 +~/AppData/Roaming/nushell/nu/config
25 25 bottom
26 26 ~/AppData/Roaming/bottom

TODO.md

Modified
30 30 - [ ] kill thy babbies: remove obsolete java commands. nu has builtins now for checksums and for random uuids
31 31 - [ ] rewrite bootstripper and java commmands with zig. how to run them? precompile? zig run?
32 +- [ ] encrypt box key
33 +- [ ] sumneko on linux
33 35 ## Done

alacritty/Alacritty.desktop

Added
new file mode 100644
1 +[Desktop Entry]
2 +Type=Application
3 +TryExec=alacritty
4 +Exec=alacritty
5 +Icon=Alacritty
6 +Terminal=false
7 +Categories=System;TerminalEmulator;
9 +Name=Alacritty
10 +GenericName=Terminal
11 +Comment=A fast, cross-platform, OpenGL terminal emulator
12 +StartupWMClass=Alacritty
13 +Actions=New;
15 +[Desktop Action New]
16 +Name=New Terminal
17 +Exec=alacritty

alacritty/alacritty-simple.svg

Added
new file mode 100644
1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 +<svg xmlns:osb="http://www.openswatchbook.org/uri/2009/osb" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64" height="64" viewBox="0 0 64 64" version="1.1" xml:space="preserve" style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41420996;enable-background:new" id="svg3967" sodipodi:docname="alacritty.svg" inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata id="metadata3971"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/></cc:Work></rdf:RDF></metadata><sodipodi:namedview pagecolor="#1b1b1b" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="1" inkscape:pageshadow="2" inkscape:window-width="1912" inkscape:window-height="2051" id="namedview3969" showgrid="true" inkscape:pagecheckerboard="false" showguides="false" inkscape:guide-bbox="true" inkscape:measure-start="35.0647,26.4746" inkscape:measure-end="23.3668,17.3739" inkscape:lockguides="false" inkscape:snap-page="false" inkscape:zoom="16.123347" inkscape:cx="29.021205" inkscape:cy="30.792291" inkscape:window-x="1912" inkscape:window-y="48" inkscape:window-maximized="0" inkscape:current-layer="layer1" inkscape:snap-smooth-nodes="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" showborder="true" inkscape:showpageshadow="false" inkscape:object-nodes="true" viewbox-y="-0.5" inkscape:snap-to-guides="false" inkscape:snap-grids="false"><sodipodi:guide position="52,8.2500022" orientation="1,0" id="guide959" inkscape:locked="false" inkscape:label="A Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,48.250002" orientation="0,1" id="guide961" inkscape:locked="false" inkscape:label="A Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="14,8.2500022" orientation="1,0" id="guide963" inkscape:locked="false" inkscape:label="A Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,24.750002" orientation="1,0" id="guide965" inkscape:locked="false" inkscape:label="Vertical Center" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,24.750002" orientation="0,1" id="guide967" inkscape:locked="false" inkscape:label="Horizontal Center" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="28.813,21.500002" orientation="1,0" id="guide969" inkscape:locked="false" inkscape:label="Flame Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="37.187,21.500002" orientation="1,0" id="guide971" inkscape:locked="false" inkscape:label="Flame Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="29.5,48.250002" orientation="1,0" id="guide973" inkscape:locked="false" inkscape:label="A Top Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="36.5,48.250002" orientation="1,0" id="guide975" inkscape:locked="false" inkscape:label="A Top Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="20.5,8.2500022" orientation="1,0" id="guide977" inkscape:locked="false" inkscape:label="Width A Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="45.5,8.2500022" orientation="1,0" id="guide979" inkscape:locked="false" inkscape:label="Width A Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="14,8.2500022" orientation="0,1" id="guide981" inkscape:locked="false" inkscape:label="A Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,12.688002" orientation="0,1" id="guide983" inkscape:locked="false" inkscape:label="Flame Curve Intersect" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="34.5,12.688002" orientation="1,0" id="guide985" inkscape:locked="false" inkscape:label="Right Flame Curve" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="31.5,12.688002" orientation="1,0" id="guide987" inkscape:locked="false" inkscape:label="Left Flame Curve" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,15.855002" orientation="-0.93245628,0.36128283" id="guide3628" inkscape:locked="false" inkscape:label="Inner Flame Angle Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,15.855002" orientation="-0.93245628,-0.36128283" id="guide3630" inkscape:locked="false" inkscape:label="Inner Flame Angle Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,21.500002" orientation="0,1" id="guide3644" inkscape:locked="false" inkscape:label="Flame Center" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="29.813,24.080519" orientation="1,0" id="guide3646" inkscape:locked="false" inkscape:label="Inner Flame Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="36.187,24.080519" orientation="1,0" id="guide3648" inkscape:locked="false" inkscape:label="Inner Flame Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,32.305002" orientation="0,1" id="guide3650" inkscape:locked="false" inkscape:label="Flame Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,5.0000022" orientation="0,1" id="guide3652" inkscape:locked="false" inkscape:label="Flame Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,53.750002" orientation="0,1" id="guide3936" inkscape:locked="false" inkscape:label="Term Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="33,3.0000022" orientation="0,1" id="guide3938" inkscape:locked="false" inkscape:label="Term Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="63,24.750002" orientation="1,0" id="guide3940" inkscape:locked="false" inkscape:label="Term Right" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="3.0000001,24.750002" orientation="1,0" id="guide3942" inkscape:locked="false" inkscape:label="Term Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="1.4777768e-07,56.750002" orientation="0,1" id="guide15457" inkscape:locked="false" inkscape:label="Outline Top" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="1.4777768e-07,56.750002" orientation="1,0" id="guide15459" inkscape:locked="false" inkscape:label="Outline Left" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="66,2.2454491e-06" orientation="0,1" id="guide15461" inkscape:locked="false" inkscape:label="Outline Bottom" inkscape:color="rgb(0,0,255)"/><sodipodi:guide position="66,2.2454491e-06" orientation="1,0" id="guide15463" inkscape:locked="false" inkscape:label="Outline Right" inkscape:color="rgb(0,0,255)"/></sodipodi:namedview><defs id="defs3965"><linearGradient id="red-orange" x1="0.025171699" y1="0.079489581" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0,473.895,-473.895,0,547.884,192.222)"><stop offset="0" style="stop-color:#ec2802;stop-opacity:1" id="stop926"/><stop offset="1" style="stop-color:#fcb200;stop-opacity:1" id="stop928"/></linearGradient><linearGradient id="linearGradient5362" osb:paint="solid"><stop style="stop-color:#aaaaaa;stop-opacity:1;" offset="0" id="stop5360"/></linearGradient><linearGradient inkscape:collect="always" xlink:href="#red-orange" id="linearGradient11006" x1="19.0625" y1="0" x2="19" y2="43.25" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.4018804,0,0,1.3482131,21.364273,-32.960592)"/><clipPath clipPathUnits="userSpaceOnUse" id="clipPath3639"><path inkscape:connector-curvature="0" id="path3641" d="M 14.813062,26.75 19,15.945 23.186938,26.75 19,43.25 Z" style="fill:none;stroke:#000000;stroke-width:0.03779528;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"/></clipPath><filter inkscape:collect="always" style="color-interpolation-filters:sRGB" id="filter1378" x="-0.096199476" width="1.192399" y="-0.074239448" height="1.1484789"><feGaussianBlur inkscape:collect="always" stdDeviation="1.0020779" id="feGaussianBlur1380"/></filter></defs><g inkscape:groupmode="layer" id="layer1" inkscape:label="Main" style="display:inline" transform="translate(-16,35.820639)" sodipodi:insensitive="true"><g id="g4199"><path clip-path="none" sodipodi:nodetypes="ccccccc" inkscape:connector-curvature="0" id="path5352" d="M 43.566236,2.9721345 42.175119,6.3426951 C 45.913195,17.853356 45.913195,17.853356 48,27.894557 50.086805,17.853356 50.086805,17.853356 53.824881,6.3426951 L 52.433764,2.9721345 48,-7.7705098 Z" style="clip-rule:evenodd;fill:#069efe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.26960364;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:0.4330357;paint-order:stroke markers fill"/><path sodipodi:nodetypes="cccccccc" inkscape:connector-curvature="0" id="path5336" d="m 43.09342,-32.960595 h 9.81316 l 21.729148,53.92852 H 65.523505 L 48,-20.221038 30.476495,20.967925 h -9.112223 z" style="clip-rule:evenodd;fill:url(#linearGradient11006);fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient10962);stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"/><path transform="matrix(1.3912031,0,0,1.3379446,21.567141,-29.104025)" clip-path="url(#clipPath3639)" style="clip-rule:evenodd;display:inline;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers fill stroke;filter:url(#filter1378)" d="M 19,32.395 31.5,0 6.5,0.13313911 Z" id="path9580" inkscape:connector-curvature="0" sodipodi:nodetypes="cccc"/></g></g></svg>

alacritty/alacritty.linux.yml

Added
new file mode 100644
1 +# Linux configuration for alacritty
2 +# Import common configuration for all platforms.
3 +# Subsequent configuration in this file will overwrite the common configuration.
4 +import:
5 + - ~/.config/alacritty/alacritty_common.yml
6 +font:
7 + normal:
8 + family: IBM Plex Mono
9 + style: Medium
10 + bold:
11 + style: Bold
12 + italic:
13 + style: Italic
14 + size: 13.0
15 +working_directory: /home/oli
16 +key_bindings:
17 + - {
18 + key: Comma,
19 + mods: Control,
20 + command:
21 + {
22 + program: "alacritty",
23 + args:
24 + [
25 + "--title",
26 + "Edit Alacritty Configuration",
27 + "--command",
28 + "nvim ~/.config/alacritty/alacritty.yml",
29 + ],
30 + },
31 + }
32 + - { key: Return, mods: Alt, action: None }

alacritty/alacritty.windows.yml

Added
new file mode 100644
1 +# Windows configuration for alacritty
2 +# Import common configuration for all platforms.
3 +# Subsequent configuration in this file will overwrite the common configuration.
4 +import:
5 + - ~/.config/alacritty/alacritty_common.yml
6 +# Font configuration (changes require restart)
7 +font:
8 + normal:
9 + family: BlexMono NF
10 + style: Medium
11 + bold:
12 + style: Bold
13 + italic:
14 + style: Italic
15 + size: 13.0
16 +working_directory: C:\\Users\\okr
17 +key_bindings:
18 + - {
19 + key: Comma,
20 + mods: Control,
21 + command:
22 + {
23 + program: "alacritty",
24 + args:
25 + [
26 + "--title",
27 + "Edit Alacritty Configuration",
28 + "--command",
29 + "nvim C:/Users/okr/AppData/Roaming/alacritty/alacritty.yml",
30 + ],
31 + },
32 + }
33 + - { key: Return, mods: Alt, action: None }

alacritty/alacritty.yml

Deleted
deleted file mode 100644
1 -# Windows configuration for alacritty
2 -# Import common configuration for all platforms.
3 -# Subsequent configuration in this file will overwrite the common configuration.
4 -import:
5 - - ~/.config/alacritty/alacritty_common.yml
6 -# Font configuration (changes require restart)
7 -font:
8 - normal:
9 - family: BlexMono NF
10 - style: Medium
11 - bold:
12 - style: Bold
13 - italic:
14 - style: Italic
15 - size: 13.0
16 -working_directory: C:\\Users\\okr
17 -key_bindings:
18 - - {
19 - key: Comma,
20 - mods: Control,
21 - command:
22 - {
23 - program: "alacritty",
24 - args:
25 - [
26 - "--title",
27 - "Edit Alacritty Configuration",
28 - "--command",
29 - "nvim C:/Users/okr/AppData/Roaming/alacritty/alacritty.yml",
30 - ],
31 - },
32 - }
33 - - { key: Return, mods: Alt, action: None }

alacritty/alacritty/alacritty_common.yml

Deleted
deleted file mode 100644
1 -# Bugabinga configuration for alacritty.
2 -# "common" refers to those parts of the configuration, which are cross platform.
3 -# This file is expected to be imported into the the canonical configuration file on the
4 -# respective OS.
5 -# On Windows: ~/AppData/Roaming/alacritty.yml
6 -# On Linux: ~/.config/alacritty/alacritty.yml
8 -window:
9 - padding:
10 - x: 16
11 - y: 16
12 - dynamic_padding: false
13 - dynamic_title: false
14 -cursor:
15 - style:
16 - shape: Block
17 - blinking: Off
18 -mouse:
19 - hide_when_typing: true
20 -key_bindings:
21 - - { key: T, mods: Control|Shift, action: SpawnNewInstance }
22 - - { key: W, mods: Control|Shift, action: Quit }
23 -shell:
24 - program: nu
25 -schemes:
26 - ayu_dark: &ayu_dark
27 - primary:
28 - background: '#0A0E14'
29 - foreground: '#B3B1AD'
30 - normal:
31 - black: '#01060E'
32 - red: '#EA6C73'
33 - green: '#91B362'
34 - yellow: '#F9AF4F'
35 - blue: '#53BDFA'
36 - magenta: '#FAE994'
37 - cyan: '#90E1C6'
38 - white: '#C7C7C7'
39 - bright:
40 - black: '#686868'
41 - red: '#F07178'
42 - green: '#C2D94C'
43 - yellow: '#FFB454'
44 - blue: '#59C2FF'
45 - magenta: '#FFEE99'
46 - cyan: '#95E6CB'
47 - white: '#FFFFFF'
48 - ayu_mirage: &ayu_mirage
49 - primary:
50 - background: '#202734'
51 - foreground: '#CBCCC6'
52 - normal:
53 - black: '#191E2A'
54 - red: '#FF3333'
55 - green: '#BAE67E'
56 - yellow: '#FFA759'
57 - blue: '#73D0FF'
58 - magenta: '#FFD580'
59 - cyan: '#95E6CB'
60 - white: '#C7C7C7'
61 - bright:
62 - black: '#686868'
63 - red: '#F27983'
64 - green: '#A6CC70'
65 - yellow: '#FFCC66'
66 - blue: '#5CCFE6'
67 - magenta: '#FFEE99'
68 - cyan: '#95E6CB'
69 - white: '#FFFFFF'
70 - argonaut: &argonaut
71 - primary:
72 - background: '#292C3E'
73 - foreground: '#EBEBEB'
74 - cursor:
75 - text: '#FF261E'
76 - cursor: '#FF261E'
77 - normal:
78 - black: '#0d0d0d'
79 - red: '#FF301B'
80 - green: '#A0E521'
81 - yellow: '#FFC620'
82 - blue: '#1BA6FA'
83 - magenta: '#8763B8'
84 - cyan: '#21DEEF'
85 - white: '#EBEBEB'
86 - bright:
87 - black: '#6D7070'
88 - red: '#FF4352'
89 - green: '#B8E466'
90 - yellow: '#FFD750'
91 - blue: '#1BA6FA'
92 - magenta: '#A578EA'
93 - cyan: '#73FBF1'
94 - white: '#FEFEF8'
95 - papercolor: &papercolor
96 - primary:
97 - background: "#eeeeee"
98 - foreground: "#878787"
99 - cursor:
100 - text: "#eeeeee"
101 - cursor: "#878787"
102 - normal:
103 - black: "#eeeeee"
104 - red: "#af0000"
105 - green: "#008700"
106 - yellow: "#5f8700"
107 - blue: "#0087af"
108 - magenta: "#878787"
109 - cyan: "#005f87"
110 - white: "#444444"
111 - bright:
112 - black: "#bcbcbc"
113 - red: "#d70000"
114 - green: "#d70087"
115 - yellow: "#8700af"
116 - blue: "#d75f00"
117 - magenta: "#d75f00"
118 - cyan: "#005faf"
119 - white: "#005f87"
120 - afterglow: &afterglow
121 - primary:
122 - background: "#2c2c2c"
123 - foreground: "#d6d6d6"
124 - dim_foreground: "#dbdbdb"
125 - bright_foreground: "#d9d9d9"
126 - dim_background: "#202020" # not sure
127 - bright_background: "#3a3a3a" # not sure
128 - cursor:
129 - text: "#2c2c2c"
130 - cursor: "#d9d9d9"
131 - normal:
132 - black: "#1c1c1c"
133 - red: "#bc5653"
134 - green: "#909d63"
135 - yellow: "#ebc17a"
136 - blue: "#7eaac7"
137 - magenta: "#aa6292"
138 - cyan: "#86d3ce"
139 - white: "#cacaca"
140 - bright:
141 - black: "#636363"
142 - red: "#bc5653"
143 - green: "#909d63"
144 - yellow: "#ebc17a"
145 - blue: "#7eaac7"
146 - magenta: "#aa6292"
147 - cyan: "#86d3ce"
148 - white: "#f7f7f7"
149 - dim:
150 - black: "#232323"
151 - red: "#74423f"
152 - green: "#5e6547"
153 - yellow: "#8b7653"
154 - blue: "#556b79"
155 - magenta: "#6e4962"
156 - cyan: "#5c8482"
157 - white: "#828282"
158 - ir_black: &ir_black
159 - primary:
160 - background: '#000000'
161 - foreground: '#ffffff'
162 - cursor:
163 - text: '#ffffff'
164 - cursor: '#ffffff'
165 - normal:
166 - black: '#4e4e4e'
167 - red: '#ff6c60'
168 - green: '#a8ff60'
169 - yellow: '#ffffb6'
170 - blue: '#96cbfe'
171 - magenta: '#ff73fd'
172 - cyan: '#c6c5fe'
173 - white: '#eeeeee'
174 - bright:
175 - black: '#7c7c7c'
176 - red: '#ffb6b0'
177 - green: '#ceffab'
178 - yellow: '#ffffcb'
179 - blue: '#b5dcfe'
180 - magenta: '#ff9cfe'
181 - cyan: '#dfdffe'
182 - white: '#ffffff'
183 - nord: &nord
184 - primary:
185 - background: '#2E3440'
186 - foreground: '#D8DEE9'
187 - normal:
188 - black: '#3B4252'
189 - red: '#BF616A'
190 - green: '#A3BE8C'
191 - yellow: '#EBCB8B'
192 - blue: '#81A1C1'
193 - magenta: '#B48EAD'
194 - cyan: '#88C0D0'
195 - white: '#E5E9F0'
196 - bright:
197 - black: '#4C566A'
198 - red: '#BF616A'
199 - green: '#A3BE8C'
200 - yellow: '#EBCB8B'
201 - blue: '#81A1C1'
202 - magenta: '#B48EAD'
203 - cyan: '#8FBCBB'
204 - white: '#ECEFF4'
205 - seoul256_dark: &seoul256_dark
206 - primary:
207 - background: '#3a3a3a'
208 - foreground: '#d0d0d0'
209 - normal:
210 - black: '#4e4e4e'
211 - red: '#d68787'
212 - green: '#5f865f'
213 - yellow: '#d8af5f'
214 - blue: '#85add4'
215 - magenta: '#d7afaf'
216 - cyan: '#87afaf'
217 - white: '#d0d0d0'
218 - bright:
219 - black: '#626262'
220 - red: '#d75f87'
221 - green: '#87af87'
222 - yellow: '#ffd787'
223 - blue: '#add4fb'
224 - magenta: '#ffafaf'
225 - cyan: '#87d7d7'
226 - white: '#e4e4e4'
227 - seoul256_light: &seoul256_light
228 - primary:
229 - background: '#dadada'
230 - foreground: '#4e4e4e'
231 - normal:
232 - black: '#4e4e4e'
233 - red: '#af5f5f'
234 - green: '#5f885f'
235 - yellow: '#af8760'
236 - blue: '#5f87ae'
237 - magenta: '#875f87'
238 - cyan: '#5f8787'
239 - white: '#e4e4e4'
240 - bright:
241 - black: '#3a3a3a'
242 - red: '#870100'
243 - green: '#005f00'
244 - yellow: '#d8865f'
245 - blue: '#0087af'
246 - magenta: '#87025f'
247 - cyan: '#008787'
248 - white: '#eeeeee'
249 - taerminal: &taerminal
250 - primary:
251 - background: '#26282a'
252 - foreground: '#f0f0f0'
253 - cursor:
254 - background: '#f0f0f0'
255 - foreground: '#26282a'
256 - normal:
257 - black: '#26282a'
258 - red: '#ff8878'
259 - green: '#b4fb73'
260 - yellow: '#fffcb7'
261 - blue: '#8bbce5'
262 - magenta: '#ffb2fe'
263 - cyan: '#a2e1f8'
264 - white: '#f1f1f1'
265 - bright:
266 - black: '#6f6f6f'
267 - red: '#fe978b'
268 - green: '#d6fcba'
269 - yellow: '#fffed5'
270 - blue: '#c2e3ff'
271 - magenta: '#ffc6ff'
272 - cyan: '#c0e9f8'
273 - white: '#ffffff'
274 -colors: *nord

alacritty/alacritty_common.yml

Added
new file mode 100644
1 +# Bugabinga configuration for alacritty.
2 +# "common" refers to those parts of the configuration, which are cross platform.
3 +# This file is expected to be imported into the the canonical configuration file on the
4 +# respective OS.
5 +# On Windows: ~/AppData/Roaming/alacritty.yml
6 +# On Linux: ~/.config/alacritty/alacritty.yml
8 +window:
9 + padding:
10 + x: 16
11 + y: 16
12 + dynamic_padding: false
13 + dynamic_title: false
14 +cursor:
15 + style:
16 + shape: Block
17 + blinking: Off
18 +mouse:
19 + hide_when_typing: true
20 +key_bindings:
21 + - { key: T, mods: Control|Shift, action: SpawnNewInstance }
22 + - { key: W, mods: Control|Shift, action: Quit }
23 +shell:
24 + program: nu
25 +schemes:
26 + ayu_dark: &ayu_dark
27 + primary:
28 + background: '#0A0E14'
29 + foreground: '#B3B1AD'
30 + normal:
31 + black: '#01060E'
32 + red: '#EA6C73'
33 + green: '#91B362'
34 + yellow: '#F9AF4F'
35 + blue: '#53BDFA'
36 + magenta: '#FAE994'
37 + cyan: '#90E1C6'
38 + white: '#C7C7C7'
39 + bright:
40 + black: '#686868'
41 + red: '#F07178'
42 + green: '#C2D94C'
43 + yellow: '#FFB454'
44 + blue: '#59C2FF'
45 + magenta: '#FFEE99'
46 + cyan: '#95E6CB'
47 + white: '#FFFFFF'
48 + ayu_mirage: &ayu_mirage
49 + primary:
50 + background: '#202734'
51 + foreground: '#CBCCC6'
52 + normal:
53 + black: '#191E2A'
54 + red: '#FF3333'
55 + green: '#BAE67E'
56 + yellow: '#FFA759'
57 + blue: '#73D0FF'
58 + magenta: '#FFD580'
59 + cyan: '#95E6CB'
60 + white: '#C7C7C7'
61 + bright:
62 + black: '#686868'
63 + red: '#F27983'
64 + green: '#A6CC70'
65 + yellow: '#FFCC66'
66 + blue: '#5CCFE6'
67 + magenta: '#FFEE99'
68 + cyan: '#95E6CB'
69 + white: '#FFFFFF'
70 + argonaut: &argonaut
71 + primary:
72 + background: '#292C3E'
73 + foreground: '#EBEBEB'
74 + cursor:
75 + text: '#FF261E'
76 + cursor: '#FF261E'
77 + normal:
78 + black: '#0d0d0d'
79 + red: '#FF301B'
80 + green: '#A0E521'
81 + yellow: '#FFC620'
82 + blue: '#1BA6FA'
83 + magenta: '#8763B8'
84 + cyan: '#21DEEF'
85 + white: '#EBEBEB'
86 + bright:
87 + black: '#6D7070'
88 + red: '#FF4352'
89 + green: '#B8E466'
90 + yellow: '#FFD750'
91 + blue: '#1BA6FA'
92 + magenta: '#A578EA'
93 + cyan: '#73FBF1'
94 + white: '#FEFEF8'
95 + papercolor: &papercolor
96 + primary:
97 + background: "#eeeeee"
98 + foreground: "#878787"
99 + cursor:
100 + text: "#eeeeee"
101 + cursor: "#878787"
102 + normal:
103 + black: "#eeeeee"
104 + red: "#af0000"
105 + green: "#008700"
106 + yellow: "#5f8700"
107 + blue: "#0087af"
108 + magenta: "#878787"
109 + cyan: "#005f87"
110 + white: "#444444"
111 + bright:
112 + black: "#bcbcbc"
113 + red: "#d70000"
114 + green: "#d70087"
115 + yellow: "#8700af"
116 + blue: "#d75f00"
117 + magenta: "#d75f00"
118 + cyan: "#005faf"
119 + white: "#005f87"
120 + afterglow: &afterglow
121 + primary:
122 + background: "#2c2c2c"
123 + foreground: "#d6d6d6"
124 + dim_foreground: "#dbdbdb"
125 + bright_foreground: "#d9d9d9"
126 + dim_background: "#202020" # not sure
127 + bright_background: "#3a3a3a" # not sure
128 + cursor:
129 + text: "#2c2c2c"
130 + cursor: "#d9d9d9"
131 + normal:
132 + black: "#1c1c1c"
133 + red: "#bc5653"
134 + green: "#909d63"
135 + yellow: "#ebc17a"
136 + blue: "#7eaac7"
137 + magenta: "#aa6292"
138 + cyan: "#86d3ce"
139 + white: "#cacaca"
140 + bright:
141 + black: "#636363"
142 + red: "#bc5653"
143 + green: "#909d63"
144 + yellow: "#ebc17a"
145 + blue: "#7eaac7"
146 + magenta: "#aa6292"
147 + cyan: "#86d3ce"
148 + white: "#f7f7f7"
149 + dim:
150 + black: "#232323"
151 + red: "#74423f"
152 + green: "#5e6547"
153 + yellow: "#8b7653"
154 + blue: "#556b79"
155 + magenta: "#6e4962"
156 + cyan: "#5c8482"
157 + white: "#828282"
158 + ir_black: &ir_black
159 + primary:
160 + background: '#000000'
161 + foreground: '#ffffff'
162 + cursor:
163 + text: '#ffffff'
164 + cursor: '#ffffff'
165 + normal:
166 + black: '#4e4e4e'
167 + red: '#ff6c60'
168 + green: '#a8ff60'
169 + yellow: '#ffffb6'
170 + blue: '#96cbfe'
171 + magenta: '#ff73fd'
172 + cyan: '#c6c5fe'
173 + white: '#eeeeee'
174 + bright:
175 + black: '#7c7c7c'
176 + red: '#ffb6b0'
177 + green: '#ceffab'
178 + yellow: '#ffffcb'
179 + blue: '#b5dcfe'
180 + magenta: '#ff9cfe'
181 + cyan: '#dfdffe'
182 + white: '#ffffff'
183 + nord: &nord
184 + primary:
185 + background: '#2E3440'
186 + foreground: '#D8DEE9'
187 + normal:
188 + black: '#3B4252'
189 + red: '#BF616A'
190 + green: '#A3BE8C'
191 + yellow: '#EBCB8B'
192 + blue: '#81A1C1'
193 + magenta: '#B48EAD'
194 + cyan: '#88C0D0'
195 + white: '#E5E9F0'
196 + bright:
197 + black: '#4C566A'
198 + red: '#BF616A'
199 + green: '#A3BE8C'
200 + yellow: '#EBCB8B'
201 + blue: '#81A1C1'
202 + magenta: '#B48EAD'
203 + cyan: '#8FBCBB'
204 + white: '#ECEFF4'
205 + seoul256_dark: &seoul256_dark
206 + primary:
207 + background: '#3a3a3a'
208 + foreground: '#d0d0d0'
209 + normal:
210 + black: '#4e4e4e'
211 + red: '#d68787'
212 + green: '#5f865f'
213 + yellow: '#d8af5f'
214 + blue: '#85add4'
215 + magenta: '#d7afaf'
216 + cyan: '#87afaf'
217 + white: '#d0d0d0'
218 + bright:
219 + black: '#626262'
220 + red: '#d75f87'
221 + green: '#87af87'
222 + yellow: '#ffd787'
223 + blue: '#add4fb'
224 + magenta: '#ffafaf'
225 + cyan: '#87d7d7'
226 + white: '#e4e4e4'
227 + seoul256_light: &seoul256_light
228 + primary:
229 + background: '#dadada'
230 + foreground: '#4e4e4e'
231 + normal:
232 + black: '#4e4e4e'
233 + red: '#af5f5f'
234 + green: '#5f885f'
235 + yellow: '#af8760'
236 + blue: '#5f87ae'
237 + magenta: '#875f87'
238 + cyan: '#5f8787'
239 + white: '#e4e4e4'
240 + bright:
241 + black: '#3a3a3a'
242 + red: '#870100'
243 + green: '#005f00'
244 + yellow: '#d8865f'
245 + blue: '#0087af'
246 + magenta: '#87025f'
247 + cyan: '#008787'
248 + white: '#eeeeee'
249 + taerminal: &taerminal
250 + primary:
251 + background: '#26282a'
252 + foreground: '#f0f0f0'
253 + cursor:
254 + background: '#f0f0f0'
255 + foreground: '#26282a'
256 + normal:
257 + black: '#26282a'
258 + red: '#ff8878'
259 + green: '#b4fb73'
260 + yellow: '#fffcb7'
261 + blue: '#8bbce5'
262 + magenta: '#ffb2fe'
263 + cyan: '#a2e1f8'
264 + white: '#f1f1f1'
265 + bright:
266 + black: '#6f6f6f'
267 + red: '#fe978b'
268 + green: '#d6fcba'
269 + yellow: '#fffed5'
270 + blue: '#c2e3ff'
271 + magenta: '#ffc6ff'
272 + cyan: '#c0e9f8'
273 + white: '#ffffff'
274 +colors: *nord

bootstripper.java

Modified
17 17 create_symlinks(dorkfiles_root.resolve(symlinks_file));
19 19 static void decrypt_secrets(Path secrets_root) throws Exception {
20 - System.out.printf("Decrypting files in %s folder.%n", emphasize_local(secrets_root.getFileName().toString()));
20 + System.out.printf("%s:Decrypting files in %s folder.%n", emphasize_global("TODO"), emphasize_local(secrets_root.getFileName().toString()));
22 22 static void create_symlinks(Path symlinks_file) throws Exception {
23 23 System.out.printf("Creating symlinks as defined in %s file.%n", emphasize_local(symlinks_file.getFileName().toString()));
40 40 var source_path = Path.of(source.replace("~", home)).toAbsolutePath();
41 41 var target_path = Path.of(target.replace("~", home)).toAbsolutePath();
42 42 var is_directory = Files.isDirectory(source_path);
43 - if(Files.exists(target_path)){
44 - System.out.printf("%s already exists! Not linking %s.%n", emphasize_global(target_path.toString()), emphasize_local(source_path.toString()));
43 + if(Files.exists(target_path, LinkOption.NOFOLLOW_LINKS)){
44 + System.out.printf("✅%s already exists!%nNot linking %s.%n", emphasize_global(target_path.toString()), emphasize_local(source_path.toString()));
46 46 else{
47 - System.out.printf("%s ➔ %s.%n", emphasize_local(source_path.toString()), emphasize_local(target_path.toString()));
47 + System.out.printf("🔗 %s ➔ %s.%n", emphasize_local(source_path.toString()), emphasize_local(target_path.toString()));
48 48 if(!is_directory){
49 49 Files.createDirectories(target_path.getParent());
52 - Files.createSymbolicLink(source_path, target_path);
53 - } catch (Exception __) {
52 + Files.createSymbolicLink(target_path, source_path);
53 + }
54 + catch (Exception __) {
55 56 * Creating symbolic links on Windows only recently became possible without admin rights.
56 57 * However, most tools (including JDK) have not yet adapted to this change and still require admin rights.
73 74 .onExit()
74 75 .join();
77 + else {
78 + __.printStackTrace();
79 + fail("Could not create symbolic link!");
80 + }

git/.gitconfig

Deleted
deleted file mode 100644
1 -# This is Git's per-user configuration file.
2 -[user]
3 - name = Oliver Jan Krylow
4 - email = olver@bugabinga.net
6 -[core]
7 - editor = nvim
8 - quotepath = false
9 - autocrlf = input
10 - pager = delta
11 - safecrlf = false
13 -[diff]
14 - colorMoved = default
15 - tool = nvimdiff
17 -[difftool]
18 - prompt = false
20 -[difftool "nvimdiff"]
21 - cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
23 -[merge]
24 - tool = nvimmerge
26 -[mergetool]
27 - prompt = true
29 -[mergetool "nvimmerge"]
30 - cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\" -c 'wincmd w' -c 'wincmd J'"
32 -[pull]
33 - rebase = false
35 -[interactive]
36 - diffFilter = delta --color-only
38 -[delta]
39 - side-by-side = true
40 - line-numbers = true
41 - decorations = true
42 - navigate = true
43 - syntax-theme = none
45 -[interactive]
46 - diffFilter = delta --color-only
48 -[init]
49 - defaultBranch = trunk
51 -# In order to have host-specific configuration, I include additional settings here.
52 -# On each host a different file might be symlinked into '.gitconfig.include'.
53 -[include]
54 - path = .gitconfig.include

git/.gitconfig.EJ-PC-00363

Deleted
deleted file mode 100644
1 -#vim: ft=gitconfig
2 -[user]
3 - name = Oliver Krylow
4 - email = o.krylow@isp-insoft.de
6 -[credential]
7 - helper = manager-core

git/gitconfig

Added
new file mode 100644
1 +# This is Git's per-user configuration file.
2 +[user]
3 + name = Oliver Jan Krylow
4 + email = olver@bugabinga.net
6 +[core]
7 + editor = nvim
8 + quotepath = false
9 + autocrlf = input
10 + pager = delta
11 + safecrlf = false
13 +[diff]
14 + colorMoved = default
15 + tool = nvimdiff
17 +[difftool]
18 + prompt = false
20 +[difftool "nvimdiff"]
21 + cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
23 +[merge]
24 + tool = nvimmerge
26 +[mergetool]
27 + prompt = true
29 +[mergetool "nvimmerge"]
30 + cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\" -c 'wincmd w' -c 'wincmd J'"
32 +[pull]
33 + rebase = false
35 +[interactive]
36 + diffFilter = delta --color-only
38 +[delta]
39 + side-by-side = true
40 + line-numbers = true
41 + decorations = true
42 + navigate = true
43 + syntax-theme = none
45 +[interactive]
46 + diffFilter = delta --color-only
48 +[init]
49 + defaultBranch = trunk
51 +# In order to have host-specific configuration, I include additional settings here.
52 +# On each host a different file might be symlinked into '.gitconfig.include'.
53 +[include]
54 + path = .gitconfig.include

git/gitconfig.EJ-PC-00363

Added
new file mode 100644
1 +#vim: ft=gitconfig
2 +[user]
3 + name = Oliver Krylow
4 + email = o.krylow@isp-insoft.de
6 +[credential]
7 + helper = manager-core

git/gitconfig.linux

Added
new file mode 100644
1 +#vim: ft=gitconfig
2 +[sendemail]
3 +smtpserver = box.bugabinga.net
4 +smtpuser = oliver@bugabinga.net
5 +smtpencryption = tls
6 +smtpserverport = 587
7 +annotate = yes

icc/thinkpad_x230.icc

Added
new file mode 100644

Current version contains binary or non-UTF-8 data.

neovim/.luacheckrc

Deleted
deleted file mode 100644
1 --- vim: ft=lua tw=80
2 -stds.nvim = {
3 - read_globals = { 'jit' },
4 -}
5 -std = 'lua51+nvim'
6 -self = false
7 -ignore = {
8 - -- max_line_length
9 - '631',
10 - -- unused argument, for vars with "_" prefix
11 - '212/_.*',
12 - '241/_.*',
13 -}
14 -globals = {
15 - 'cheatsheet',
16 -}
17 -read_globals = {
18 - vim = {
19 - other_fields = true,
20 - fields = {
21 - g = {
22 - read_only = false,
23 - other_fields = true,
24 - },
25 - },
26 - },
27 -}
28 -files['.luacheckrc'] = { only = { '1' } }

neovim/lua/lsp.lua

Modified
56 56 local neovim_runtime_path = vim.split(package.path, ";")
57 57 table.insert(neovim_runtime_path, "lua/?.lua")
58 58 table.insert(neovim_runtime_path, "lua/?/init.lua")
59 - local sumneko_home = os.getenv("SUMNEKO_HOME")
60 60 local system_name
61 61 if vim.fn.has("mac") == 1 then
62 62 system_name = "macOS"
74 74 neovim_lua_library[lua_path] = true
77 + local sumneko_home = "~/Workspace/sua-language-server"
78 + if system_name == "Windows" then
79 + sumneko_home = "W:/misc/lua-language-server"
80 + end
77 81 -- This loads the `lua` files from nvim into the runtime.
78 82 neovim_lua_library[vim.fn.expand("$VIMRUNTIME/lua")] = true
79 83 --TODO: How to switch this configuration based upon if we are editing neovim configuration or just any Lua file/project?

neovim/lua/plugins.lua

Modified
12 12 -- packer will be loaded into the optionals folder and loaded later on demand by `packadd packer.nvim`
13 13 -- glob will normalize the path with respect to path separators.
14 14 -- mixing those seems to sometimes trip up packer, though the reason is unknown.
15 - local packer_installation_path = vim.fn.glob(data_path .. "/site/pack/" .. plugin_package .. "/opt/packer.nvim")
16 - if vim.fn.empty(packer_installation_path) == 1 then
15 + local packer_installation_path = data_path .. "/site/pack/" .. plugin_package .. "/opt/packer.nvim"
16 + if vim.fn.empty(vim.fn.glob(packer_installation_path)) == 1 then
17 17 vim.cmd('!git clone https://github.com/wbthomason/packer.nvim "' .. packer_installation_path .. '"')
19 19 local packer = nil

nushell/config.toml

Added
new file mode 100644
1 +complete_from_path = true
2 +ctrlc_exit = false
3 +filesize_format = "kib"
4 +nonzero_exit_errors = true
5 +rm_always_trash = true
6 +table_mode = "light"
7 +pivot_mode = "auto"
8 +disable_table_indexes = false
9 +completion_match_method = "case-insensitive"
10 +prompt = "__zoxide_hook; starship prompt"
11 +skip_welcome_message = true
12 +startup = [
13 +"zoxide init nushell --hook prompt | save zoxide.nu",
14 +"source zoxide.nu",
15 + # loading of plugins in nu seems inconsistent.
16 + # the only get loaded in interactive nu session.
17 + # not for scripts and --commands.
18 + # see https://github.com/nushell/nushell/issues/3892
19 +"nu plugin --load ~/.cargo/bin",
20 +"source nurc",
23 +[color_config]
24 +primitive_int = "blue"
25 +primitive_decimal = "blue"
26 +primitive_filesize = "blue_dimmed"
27 +primitive_string = "blue"
28 +primitive_line = "yellow"
29 +primitive_columnpath = "cyan"
30 +primitive_pattern = "white"
31 +primitive_boolean = "blue"
32 +primitive_date = "blue_dimmed"
33 +primitive_duration = "blue_dimmed"
34 +primitive_range = "white_dimmed"
35 +primitive_path = "white_bold"
36 +primitive_binary = "cyan"
37 +separator_color = "purple"
38 +header_align = "left" # left|l, right|r, center|c
39 +header_color = "purple"
40 +header_bold = true
41 +index_color = "purple_dimmed"
42 +leading_trailing_space_bg = "purple_reverse"
44 +[line_editor]
45 +auto_add_history = true
46 +color_mode = "enabled"
47 +completion_type = "circular"
48 +edit_mode = "emacs"
49 +history_duplicates = "ignoreconsecutive"
50 +tab_stop = 2
52 +[textview]
53 +colored_output = true
54 +header = true
55 +line_numbers = false
56 +pager = "less"
57 +paging_mode = "quitifonescreen"
58 +tab_width = 2
59 +true_color = true
60 +use_italics = true
61 +vcs_modification_markers = true
62 +theme = "Nord"
64 +[env]
65 +STARSHIP_SHELL = "nushell"
66 +EDITOR = "nvim"
67 +BAT_THEME = "Nord"
68 +_ZO_ECHO = 1
69 +MANPAGER = "nvim -c 'set filetype=man' -"

nushell/nu/config/config.toml

Deleted
deleted file mode 100644
1 -complete_from_path = true
2 -ctrlc_exit = false
3 -filesize_format = "kib"
4 -nonzero_exit_errors = true
5 -rm_always_trash = true
6 -table_mode = "light"
7 -pivot_mode = "auto"
8 -disable_table_indexes = false
9 -completion_match_method = "case-insensitive"
10 -prompt = "__zoxide_hook; starship prompt"
11 -skip_welcome_message = true
12 -startup = [
13 -"zoxide init nushell --hook prompt | save zoxide.nu",
14 -"source zoxide.nu",
15 - # loading of plugins in nu seems inconsistent.
16 - # the only get loaded in interactive nu session.
17 - # not for scripts and --commands.
18 - # see https://github.com/nushell/nushell/issues/3892
19 -"nu plugin --load (build-string $nu.env.CARGO_HOME / bin)",
20 -"source nurc",
21 -]
23 -[color_config]
24 -primitive_int = "blue"
25 -primitive_decimal = "blue"
26 -primitive_filesize = "blue_dimmed"
27 -primitive_string = "blue"
28 -primitive_line = "yellow"
29 -primitive_columnpath = "cyan"
30 -primitive_pattern = "white"
31 -primitive_boolean = "blue"
32 -primitive_date = "blue_dimmed"
33 -primitive_duration = "blue_dimmed"
34 -primitive_range = "white_dimmed"
35 -primitive_path = "white_bold"
36 -primitive_binary = "cyan"
37 -separator_color = "purple"
38 -header_align = "left" # left|l, right|r, center|c
39 -header_color = "purple"
40 -header_bold = true
41 -index_color = "purple_dimmed"
42 -leading_trailing_space_bg = "purple_reverse"
44 -[line_editor]
45 -auto_add_history = true
46 -color_mode = "enabled"
47 -completion_type = "circular"
48 -edit_mode = "emacs"
49 -history_duplicates = "ignoreconsecutive"
50 -tab_stop = 2
52 -[textview]
53 -colored_output = true
54 -header = true
55 -line_numbers = false
56 -pager = "less"
57 -paging_mode = "quitifonescreen"
58 -tab_width = 2
59 -true_color = true
60 -use_italics = true
61 -vcs_modification_markers = true
62 -theme = "Nord"
64 -[env]
65 -STARSHIP_SHELL = "nushell"
66 -EDITOR = "nvim"
67 -BAT_THEME = "Nord"
68 -_ZO_ECHO = 1

nushell/nu/config/nurc

Deleted
deleted file mode 100644
1 -# This is an initial script for nushell
2 -# It is expected that it is sourced in the `config.toml`:
3 -# `startup = ["source ~/.config/nushell/nurc"]`
5 -# GLOBAL VARIABLES
6 -let-env NURC = (build-string (pwd) /nurc)
7 -let-env DOTFILES = ((build-string (pwd) /../../..) | path expand)
9 -# ALIASES
10 -alias cat = bat
11 -alias vim = nvim
12 -alias edit = nvim
13 -alias sudo = gsudo
14 -alias doas = sudo
15 -alias grep = rg
16 -alias todo = glow (build-string $nu.env.DOTFILES / TODO.md)
17 -alias nurc = nvim $nu.env.NURC
19 -# CUSTOM LITTLE JAVA COMMANDS
20 -alias sha = java (build-string $nu.env.DOTFILES /tools/ sha.java)
21 -alias aes = java (build-string $nu.env.DOTFILES /tools/ aes.java)
22 -alias uuid = java (build-string $nu.env.DOTFILES /tools/ random_uuid.java)
23 -alias download = java (build-string $nu.env.DOTFILES /tools/ download.java)
24 -alias download_jar = java (build-string $nu.env.DOTFILES /tools/ download_jar.java)
26 -# FUNCTIONS
28 -# Uploads a PUBLIC ssh key to GitHub.
29 -# Will prompt for the AES encryption password of my dotfiles.
30 -def github-upload-key [
31 - title: string # Name the key, so you will remember what it is used for
32 - key: path # Path to the PUBLIC key
33 -] {
34 - if ($key | path exists) {
35 - echo (build-string "uploading ssh public key " (ansi gi) $key (ansi reset) " with title " (ansi gb) $title (ansi reset) " to GitHub.")
36 - echo (char newline)
37 - let encrypted_token_path = (build-string $nu.env.DOTFILES / tresor / 4cef0ce3-da3a-4f16-9412-2d094b4f7445)
38 - let decrypted_token_path = (build-string $nu.env.DOTFILES / tresor / gh_token)
39 - aes decrypt $encrypted_token_path $decrypted_token_path
40 - let token = (open --raw $decrypted_token_path)
41 - let key_content = (open --raw $key)
42 - rm -f $decrypted_token_path
43 - let result = (do -i { xh --bearer $token https://api.github.com/user/keys (build-string title = $title) (build-string key = $key_content) | from json})
44 - if ($result | has-column? errors) {
45 - let message = ($result | get message)
46 - let url = ($result | get documentation_url)
47 - let errors = ($result | get errors)
48 - echo (build-string (ansi rb) $message (ansi reset) (char newline))
49 - echo (char newline)
50 - $errors | each {
51 - let resource = ($it | get resource)
52 - let code = ($it | get code)
53 - let field = ($it | get field)
54 - let message = ($it | get message)
55 - echo (build-string (ansi ui) $resource : $code : $field ": " (ansi rb) $message (ansi reset) (char newline))
56 - }
57 - echo (build-string "Further information: " (ansi yi) $url (ansi reset) (char newline))
58 - } {
59 - let id = ($result | get id)
60 - let key = ($result | get key)
61 - let title = ($result | get title)
62 - let created_at = ($result | get created_at)
63 - echo (build-string "[" ID : $id "]" " key with title " (ansi gb) $title (ansi reset) " was created at " (ansi yi) $created_at (ansi reset) "." (char newline) )
64 - echo (build-string (ansi wu) "PUBLIC SSH KEY:" (ansi reset))
65 - echo (char newline)
66 - echo ($key | ansi gradient --fgstart 0xaefe9f --fgend 0xfefefe)
67 - echo (char newline)
68 - }
69 - } {
70 - echo (build-string "key " (ansi rb) $key (ansi reset) " not found!")
71 - echo (char newline)
72 - }
75 -# Shows git log in a pretty table
76 -def glog [
77 - ...rest: string # Extra arguments to git log
78 -] {
79 - git log --pretty=%h»¦«%s»¦«%aN»¦«%aE»¦«%aD -n 25 $rest | lines | split column "»¦«" commit subject name email date | update date { get date | str to-datetime} | sort-by date
82 -def man [
83 - program: string
84 -] {
85 - if (sys).host.name == "Windows" {
86 - start (build-string https://man.cx/ $program)
87 - } {
88 - exec man $program
89 - }
92 -# Search the given query on the web with the default browser in DuckDuckGo.
93 -def web [
94 - query:string # The search query
95 -] {
96 - # There seems to be an issue with the nu start command on windows: It does not handle URLs
97 - # Using windows command for now:
98 - start (build-string "https://duckduckgo.com/?q=" $query)
101 -# Check whether table in pipeline has a column with given name
102 -def "has-column?" [
103 - name: string # Name of the column to check for
104 -] {
105 - pivot | any? Column0 == $name
108 -# Prints out a list of stuff.
109 -# Appends a newline at the end.
110 -def print [
111 - ...rest: any # list of stuff to echo out
112 -] {
113 - echo (build-string ($rest | flatten | into string | str collect) )
114 - echo (char newline)

nushell/nu/config/zoxide.nu

Deleted
deleted file mode 100644
1 -# Code generated by zoxide. DO NOT EDIT.
3 -# =============================================================================
4 -#
5 -# Utility functions for zoxide.
6 -#
8 -# Default prompt for Nushell.
9 -def __zoxide_prompt [] {
10 - let git = $'(do -i {git rev-parse --abbrev-ref HEAD} | str trim)'
11 - let git = (if (echo $git | str length) == 0 {
12 - ''
13 - } {
14 - build-string (char lparen) (ansi cb) $git (ansi reset) (char rparen)
15 - })
16 - build-string (ansi gb) (pwd) (ansi reset) $git '> '
17 -}
19 -# =============================================================================
20 -#
21 -# Hook configuration for zoxide.
22 -#
24 -# Hook to add new entries to the database.
25 -def __zoxide_hook [] {
26 - shells | where active == $true && name == filesystem | get path | each { zoxide add -- $it }
27 -}
29 -# =============================================================================
30 -#
31 -# When using zoxide with --no-aliases, alias these internal functions as
32 -# desired.
33 -#
35 -# Jump to a directory using only keywords.
36 -def __zoxide_z [...rest:string] {
37 - if (shells | where active == $true | get name) != filesystem {
38 - if (echo $rest | length) > 1 {
39 - $'zoxide: can only jump directories on filesystem(char nl)'
40 - } {
41 - cd (echo $rest)
42 - }
43 - } {
44 - let arg0 = (echo $rest | append '~' | first 1);
45 - if (echo $rest | length) <= 1 && ($arg0 == '-' || (echo $arg0 | path expand | path exists)) {
46 - cd $arg0
47 - } {
48 - cd $'(zoxide query --exclude (pwd) -- $rest | str trim)'
49 - }
50 - }
51 -}
53 -# Jump to a directory using interactive search.
54 -def __zoxide_zi [...rest:string] {
55 - if (shells | where active == $true | get name) != filesystem {
56 - $'zoxide: can only jump directories on filesystem(char nl)'
57 - } {
58 - cd $'(zoxide query -i -- $rest | str trim)'
59 - }
60 -}
62 -# =============================================================================
63 -#
64 -# Convenient aliases for zoxide. Disable these using --no-aliases.
65 -#
67 -alias z = __zoxide_z
68 -alias zi = __zoxide_zi
70 -# =============================================================================
71 -#
72 -# To initialize zoxide, add this to your configuration (find it by running
73 -# `config path` in Nushell):
74 -#
75 -# prompt = '__zoxide_hook;__zoxide_prompt'
76 -# startup = ['zoxide init nushell --hook prompt | save ~/.zoxide.nu', 'source ~/.zoxide.nu']
77 -#
78 -# You can replace __zoxide_prompt with a custom prompt.

nushell/nurc

Added
new file mode 100644
1 +# This is an initial script for nushell
2 +# It is expected that it is sourced in the `config.toml`:
3 +# `startup = ["source ~/.config/nushell/nurc"]`
5 +# GLOBAL VARIABLES
6 +let-env NURC = (build-string (pwd) /nurc)
7 +let-env DOTFILES = ((build-string (pwd) /..) | path expand)
9 +# ALIASES
10 +alias cat = bat
11 +alias vim = nvim
12 +alias edit = nvim
13 +alias doas = sudo
14 +alias grep = rg
15 +alias todo = glow (build-string $nu.env.DOTFILES / TODO.md)
16 +alias nurc = nvim $nu.env.NURC
18 +# CUSTOM LITTLE JAVA COMMANDS
19 +alias sha = java (build-string $nu.env.DOTFILES /tools/ sha.java)
20 +alias aes = java (build-string $nu.env.DOTFILES /tools/ aes.java)
21 +alias uuid = java (build-string $nu.env.DOTFILES /tools/ random_uuid.java)
22 +alias download = java (build-string $nu.env.DOTFILES /tools/ download.java)
23 +alias download_jar = java (build-string $nu.env.DOTFILES /tools/ download_jar.java)
25 +# FUNCTIONS
27 +# Uploads a PUBLIC ssh key to GitHub.
28 +# Will prompt for the AES encryption password of my dotfiles.
29 +def github-upload-key [
30 + title: string # Name the key, so you will remember what it is used for
31 + key: path # Path to the PUBLIC key
32 +] {
33 + if ($key | path exists) {
34 + echo (build-string "uploading ssh public key " (ansi gi) $key (ansi reset) " with title " (ansi gb) $title (ansi reset) " to GitHub.")
35 + echo (char newline)
36 + let encrypted_token_path = (build-string $nu.env.DOTFILES / tresor / 4cef0ce3-da3a-4f16-9412-2d094b4f7445)
37 + let decrypted_token_path = (build-string $nu.env.DOTFILES / tresor / gh_token)
38 + aes decrypt $encrypted_token_path $decrypted_token_path
39 + let token = (open --raw $decrypted_token_path)
40 + let key_content = (open --raw $key)
41 + rm -f $decrypted_token_path
42 + let result = (do -i { xh --bearer $token https://api.github.com/user/keys (build-string title = $title) (build-string key = $key_content) | from json})
43 + if ($result | has-column? errors) {
44 + let message = ($result | get message)
45 + let url = ($result | get documentation_url)
46 + let errors = ($result | get errors)
47 + echo (build-string (ansi rb) $message (ansi reset) (char newline))
48 + echo (char newline)
49 + $errors | each {
50 + let resource = ($it | get resource)
51 + let code = ($it | get code)
52 + let field = ($it | get field)
53 + let message = ($it | get message)
54 + echo (build-string (ansi ui) $resource : $code : $field ": " (ansi rb) $message (ansi reset) (char newline))
55 + }
56 + echo (build-string "Further information: " (ansi yi) $url (ansi reset) (char newline))
57 + } {
58 + let id = ($result | get id)
59 + let key = ($result | get key)
60 + let title = ($result | get title)
61 + let created_at = ($result | get created_at)
62 + echo (build-string "[" ID : $id "]" " key with title " (ansi gb) $title (ansi reset) " was created at " (ansi yi) $created_at (ansi reset) "." (char newline) )
63 + echo (build-string (ansi wu) "PUBLIC SSH KEY:" (ansi reset))
64 + echo (char newline)
65 + echo ($key | ansi gradient --fgstart 0xaefe9f --fgend 0xfefefe)
66 + echo (char newline)
67 + }
68 + } {
69 + echo (build-string "key " (ansi rb) $key (ansi reset) " not found!")
70 + echo (char newline)
71 + }
74 +# Shows git log in a pretty table
75 +def glog [
76 + ...rest: string # Extra arguments to git log
77 +] {
78 + git log --pretty=%h»¦«%s»¦«%aN»¦«%aE»¦«%aD -n 25 $rest | lines | split column "»¦«" commit subject name email date | update date { get date | str to-datetime} | sort-by date
81 +def man [
82 + program: string
83 +] {
84 + if (sys).host.name == "Windows" {
85 + start (build-string https://man.cx/ $program)
86 + } {
87 + exec man $program
88 + }
91 +# Search the given query on the web with the default browser in DuckDuckGo.
92 +def web [
93 + query:string # The search query
94 +] {
95 + # There seems to be an issue with the nu start command on windows: It does not handle URLs
96 + # Using windows command for now:
97 + start (build-string "https://duckduckgo.com/?q=" $query)
100 +# Check whether table in pipeline has a column with given name
101 +def "has-column?" [
102 + name: string # Name of the column to check for
103 +] {
104 + pivot | any? Column0 == $name
107 +# Prints out a list of stuff.
108 +# Appends a newline at the end.
109 +def print [
110 + ...rest: any # list of stuff to echo out
111 +] {
112 + echo (build-string ($rest | flatten | into string | str collect) )
113 + echo (char newline)

pop-os.symlinks

Added
new file mode 100644
1 +git/gitconfig
2 +~/.config/git/config
4 +git/gitconfig.linux
5 +~/.config/git/.gitconfig.include
7 +alacritty/alacritty.linux.yml
8 +~/.config/alacritty/alacritty.yml
10 +alacritty/alacritty_common.yml
11 +~/.config/alacritty/alacritty_common.yml
13 +alacritty/Alacritty.desktop
14 +~/.local/share/applications/Alacritty.desktop
16 +alacritty/alacritty-simple.svg
17 +~/.local/share/icons/hicolor/scalable/apps/Alacritty.svg
19 +cargo/config.toml
20 +~/.cargo/config.toml
22 +nushell
23 +~/.config/nu
25 +neovim
26 +~/.config/nvim
28 +stackoverflow/so
29 +~/.config/so
31 +starship/starship.toml
32 +~/.config/starship.toml
34 +alacritty
35 +~/.config/alacritty
37 +topgrade/topgrade.linux.toml
38 +~/.config/topgrade.toml

topgrade/topgrade.linux.toml

Added
new file mode 100644
1 +# Disable specific steps - same options as the command line flag
2 +# Siehe command -> Windows
3 +disable = ["tldr", "vim"]
5 +# Run specific steps - same options as the command line flag
6 +#only = ["system", "emacs"]
8 +# Do not ask to retry failed steps (default: false)
9 +no_retry = true
11 +# Do not set the terminal title
12 +set_title = true
14 +# Cleanup temporary or old files
15 +cleanup = true
17 +[git]
18 +# Additional git repositories to pull
19 +repos = ["~/Workspace"]
21 +pull_predefined= false
23 +# Arguments to pass Git when pulling Repositories
24 +arguments = "--rebase --autostash"
26 +# Commands to run before anything
27 +#[pre_commands]
28 +#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
30 +# Custom commands
31 +[commands]
33 +# Leider scheint der eingebaute "tldr" step von topgrade nicht für meine Version von TLDR funktionieren
34 +"TLDR" = "tldr --update"
36 +# Update NeoVim-Plugins
37 +"NeoVim Plugins" = "Write-Host 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless '+PluginsSync' '+autocmd User PackerComplete :qa'"
39 +# Dateisystem-Indexer ix erfrischen
40 +"Indexa Update" = "ix --update"

topgrade/topgrade.toml

Deleted
deleted file mode 100644
1 -# Disable specific steps - same options as the command line flag
2 -# Siehe command -> Windows
3 -disable = ["tldr", "vim"]
5 -# Run specific steps - same options as the command line flag
6 -#only = ["system", "emacs"]
8 -# Do not ask to retry failed steps (default: false)
9 -no_retry = true
11 -# Do not set the terminal title
12 -set_title = true
14 -# Cleanup temporary or old files
15 -cleanup = true
17 -[git]
18 -# Additional git repositories to pull
19 -repos = ["W:/apm.web", "W:/misc/*/"]
21 -pull_predefined= false
23 -# Arguments to pass Git when pulling Repositories
24 -arguments = "--rebase --autostash"
26 -# Commands to run before anything
27 -#[pre_commands]
28 -#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
30 -# Custom commands
31 -[commands]
33 -# Leider scheint der eingebaute "tldr" step von topgrade nicht für meine Version von TLDR funktionieren
34 -"TLDR" = "tldr --update"
36 -# Diese Skripte beziehen APM und MeMate aus dem Transfer.
37 -"Advantage-PM Client" = ". D:/Tools/update_apm_client.ps1"
38 -"MeMate" = ". D:/Tools/update_memate.ps1"
40 -# Force update of fresh nightly neovim
41 -"NeoVim Nightly" = "scoop update --force neovim-nightly"
43 -# Update NeoVim-Plugins
44 -"NeoVim Plugins" = "Write-Host 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless '+PluginsSync' '+autocmd User PackerComplete :qa'"
46 -# Dateisystem-Indexer ix erfrischen
47 -"Indexa Update" = "ix --update"

topgrade/topgrade.windows.toml

Added
new file mode 100644
1 +# Disable specific steps - same options as the command line flag
2 +# Siehe command -> Windows
3 +disable = ["tldr", "vim"]
5 +# Run specific steps - same options as the command line flag
6 +#only = ["system", "emacs"]
8 +# Do not ask to retry failed steps (default: false)
9 +no_retry = true
11 +# Do not set the terminal title
12 +set_title = true
14 +# Cleanup temporary or old files
15 +cleanup = true
17 +[git]
18 +# Additional git repositories to pull
19 +repos = ["W:/apm.web", "W:/misc/*/"]
21 +pull_predefined= false
23 +# Arguments to pass Git when pulling Repositories
24 +arguments = "--rebase --autostash"
26 +# Commands to run before anything
27 +#[pre_commands]
28 +#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
30 +# Custom commands
31 +[commands]
33 +# Leider scheint der eingebaute "tldr" step von topgrade nicht für meine Version von TLDR funktionieren
34 +"TLDR" = "tldr --update"
36 +# Diese Skripte beziehen APM und MeMate aus dem Transfer.
37 +"Advantage-PM Client" = ". D:/Tools/update_apm_client.ps1"
38 +"MeMate" = ". D:/Tools/update_memate.ps1"
40 +# Force update of fresh nightly neovim
41 +"NeoVim Nightly" = "scoop update --force neovim-nightly"
43 +# Update NeoVim-Plugins
44 +"NeoVim Plugins" = "Write-Host 'Updating Plugins (packer) in headless neovim instance.' ; nvim --headless '+PluginsSync' '+autocmd User PackerComplete :qa'"
46 +# Dateisystem-Indexer ix erfrischen
47 +"Indexa Update" = "ix --update"

x230.symlinks

Added
new file mode 100644
1 +icc/thinkpad_x230.icc
2 +~/.config/icc/thinkpad_x230.icc