repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

fonts: adds coding fonts

6ee95cfde36ee14aca271fc16231ee845415a69d

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (17)

fedora.symlinks

Modified
67 67 neovim
68 68 ~/.config/nvim
70 +systemd/environment.d
71 +~/.config/systemd/environment.d
73 +hypr
74 +~/.config/hypr
76 +fonts
77 +~/.local/share/fonts

helix/config.toml

Modified
1 -theme = "nugu-light"
1 +theme = "nugu-dark"
3 3 [editor]
4 4 shell = ["nu", "--commands"]

hypr/hyprland.conf

Added
new file mode 100644
1 +# This is an example Hyprland config file.
2 +# Refer to the wiki for more information.
3 +# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
5 +# Please note not all available settings / options are set here.
6 +# For a full list, see the wiki
8 +# You can split this configuration into multiple files
9 +# Create your files separately and then link them to this file like this:
10 +# source = ~/.config/hypr/myColors.conf
13 +################
14 +### MONITORS ###
15 +################
17 +# See https://wiki.hyprland.org/Configuring/Monitors/
18 +monitor=,preferred,auto,auto
21 +###################
22 +### MY PROGRAMS ###
23 +###################
25 +# See https://wiki.hyprland.org/Configuring/Keywords/
27 +# Set programs that you use
28 +$terminal = wezterm
29 +$fileManager = wezterm start yazi
30 +$menu = wofi --show drun
31 +$browser = firefox
32 +$mail = wezterm start aerc
33 +$picker = hyprpicker
34 +$screenshooter = hyprshot
36 +#################
37 +### AUTOSTART ###
38 +#################
40 +# Autostart necessary processes (like notifications daemons, status bars, etc.)
41 +# Or execute your favorite apps at launch like this:
42 +# TODO: i would much rather prefer to manage such stuff with systemd
44 +# import envirnment.d into Hyprland
45 +exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP PATH
46 +exec-once = $terminal
47 +# exec-once = hyprpaper
48 +# exec-once = hypridle
49 +# exec-once = hyprdim
50 +# exec-once = hyprlock
51 +# exec-once=wlsunset -l -23 -L -46
52 +exec-once = mako
54 +# TODO: configure eww
55 +# exec-once = eww daemon
56 +# exec-once = eww open bar
58 +#############################
59 +### ENVIRONMENT VARIABLES ###
60 +#############################
62 +# See https://wiki.hyprland.org/Configuring/Environment-variables/
64 +env = XCURSOR_SIZE,48
65 +env = HYPRCURSOR_SIZE,48
68 +#####################
69 +### LOOK AND FEEL ###
70 +#####################
72 +# TODO: get those nugu colors in here
74 +# Refer to https://wiki.hyprland.org/Configuring/Variables/
76 +# https://wiki.hyprland.org/Configuring/Variables/#general
77 +general {
78 + gaps_in = 4
79 + gaps_out = 16
81 + border_size = 2
83 + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
84 + col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
85 + col.inactive_border = rgba(595959aa)
87 + # Set to true enable resizing windows by clicking and dragging on borders and gaps
88 + resize_on_border = true
90 + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
91 + allow_tearing = false
93 + layout = dwindle
96 +# https://wiki.hyprland.org/Configuring/Variables/#decoration
97 +decoration {
98 + rounding = 8
100 + # Change transparency of focused and unfocused windows
101 + active_opacity = 1.0
102 + inactive_opacity = 1.0
104 + drop_shadow = true
105 + shadow_range = 4
106 + shadow_render_power = 3
107 + col.shadow = rgba(1a1a1aee)
109 + # https://wiki.hyprland.org/Configuring/Variables/#blur
110 + blur {
111 + enabled = true
112 + size = 3
113 + passes = 1
115 + vibrancy = 0.1696
119 +# https://wiki.hyprland.org/Configuring/Variables/#animations
120 +animations {
121 + enabled = true
123 + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
125 + bezier = myBezier, 0.05, 0.9, 0.1, 1.05
127 + animation = windows, 1, 7, myBezier
128 + animation = windowsOut, 1, 7, default, popin 80%
129 + animation = border, 1, 10, default
130 + animation = borderangle, 1, 8, default
131 + animation = fade, 1, 7, default
132 + animation = workspaces, 1, 6, default
135 +# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
136 +dwindle {
137 + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
138 + preserve_split = true # You probably want this
141 +# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
142 +master {
143 + new_is_master = true
146 +# https://wiki.hyprland.org/Configuring/Variables/#misc
147 +misc {
148 + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
149 + disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
153 +#############
154 +### INPUT ###
155 +#############
157 +# https://wiki.hyprland.org/Configuring/Variables/#input
158 +input {
159 + kb_layout = us
160 + kb_variant =
161 + kb_model =
162 + kb_options = caps:none
163 + kb_rules =
165 + follow_mouse = 1
166 + accel_profile = flat
167 + natural_scroll = true
169 + sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
171 + touchpad {
172 + natural_scroll = true
175 + tablet {
176 + # TODO: configure when using wacom tablet
180 +# https://wiki.hyprland.org/Configuring/Variables/#gestures
181 +gestures {
182 + workspace_swipe = false
185 +# Example per-device config
186 +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
187 +device {
188 + name = epic-mouse-v1
189 + sensitivity = -0.5
193 +####################
194 +### KEYBINDINGSS ###
195 +####################
197 +# See https://wiki.hyprland.org/Configuring/Keywords/
198 +$mainMod = SUPER # Sets "Windows" key as main modifier
200 +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
201 +bind = $mainMod, T, exec, $terminal
202 +bind = $mainMod, E, exec, $fileManager
203 +bind = $mainMod, R, exec, $menu
204 +bind = $mainMod, B, exec, $browser
205 +bind = $mainMod, M, exec, $mail
207 +#bind = CTRL ALT SHIFT,backspace, exit,
208 +bind = CTRL ALT SHIFT,backspace, exec, notify-send exit
209 +bind = $mainMod, W, killactive,
210 +bind = $mainMod, P, pseudo, # dwindle
211 +bind = $mainMod, J, togglesplit, # dwindle
212 +bind = $mainMod, V, togglefloating,
214 +# Move focus with mainMod + arrow keys
215 +bind = $mainMod, H, movefocus, l
216 +bind = $mainMod, L, movefocus, r
217 +bind = $mainMod, K, movefocus, u
218 +bind = $mainMod, J, movefocus, d
220 +# Switch workspaces with mainMod + [0-9]
221 +bind = $mainMod, 1, workspace, 1
222 +bind = $mainMod, 2, workspace, 2
223 +bind = $mainMod, 3, workspace, 3
224 +bind = $mainMod, 4, workspace, 4
225 +bind = $mainMod, 5, workspace, 5
226 +bind = $mainMod, 6, workspace, 6
227 +bind = $mainMod, 7, workspace, 7
228 +bind = $mainMod, 8, workspace, 8
229 +bind = $mainMod, 9, workspace, 9
230 +bind = $mainMod, 0, workspace, 10
232 +# Move active window to a workspace with mainMod + SHIFT + [0-9]
233 +bind = $mainMod SHIFT, 1, movetoworkspace, 1
234 +bind = $mainMod SHIFT, 2, movetoworkspace, 2
235 +bind = $mainMod SHIFT, 3, movetoworkspace, 3
236 +bind = $mainMod SHIFT, 4, movetoworkspace, 4
237 +bind = $mainMod SHIFT, 5, movetoworkspace, 5
238 +bind = $mainMod SHIFT, 6, movetoworkspace, 6
239 +bind = $mainMod SHIFT, 7, movetoworkspace, 7
240 +bind = $mainMod SHIFT, 8, movetoworkspace, 8
241 +bind = $mainMod SHIFT, 9, movetoworkspace, 9
242 +bind = $mainMod SHIFT, 0, movetoworkspace, 10
244 +# Example special workspace (scratchpad)
245 +bind = $mainMod, S, togglespecialworkspace, magic
246 +bind = $mainMod SHIFT, S, movetoworkspace, special:magic
248 +# Scroll through existing workspaces with mainMod + scroll
249 +bind = $mainMod, mouse_down, workspace, e+1
250 +bind = $mainMod, mouse_up, workspace, e-1
252 +# Move/resize windows with mainMod + LMB/RMB and dragging
253 +bindm = $mainMod, mouse:272, movewindow
254 +bindm = $mainMod, mouse:273, resizewindow
256 +# fn buttons
257 +binde=,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
258 +binde=,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
259 +bind =,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
260 +bind =,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
261 +binde=,XF86MonBrightnessUp, exec, brightnessctl s 10%+
262 +binde=,XF86MonBrightnessDown, exec, brightnessctl s 10%-
263 +bind =,XF86AudioPlay, exec, playerctl play-pause
264 +bind =,XF86AudioPrev, exec, playerctl previous
265 +bind =,XF86AudioNext, exec, playerctl next
267 +# resize submap (mode)
268 +bind=SUPER,R,submap,resize
269 +submap=resize
270 +binde=,L,resizeactive,40 0
271 +binde=,H,resizeactive,-40 0
272 +binde=,K,resizeactive,0 -40
273 +binde=,J,resizeactive,0 40
274 +bind=,escape,submap,reset
275 +bind=,Return,submap,reset
276 +submap=reset
278 +##############################
279 +### WINDOWS AND WORKSPACES ###
280 +##############################
282 +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
283 +# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
285 +# Example windowrule v1
286 +# windowrule = float, ^(kitty)$
288 +# Example windowrule v2
289 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
291 +windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
294 +# firefox Picture-in-Picture
295 +windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
296 +windowrulev2 = pin,class:^(firefox)$,title:^(Picture-in-Picture)$
297 +windowrulev2 = fakefullscreen,class:^(firefox)$,title:^(Picture-in-Picture)$
298 +# firefox figma micro indicator
299 +windowrulev2 = fakefullscreen,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
300 +windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
302 +# common modals
303 +windowrule = float,title:^(Open)$
304 +windowrule = float,title:^(Choose Files)$
305 +windowrule = float,title:^(Save As)$
306 +windowrule = float,title:^(Confirm to replace files)$
307 +windowrule = float,title:^(File Operation Progress)$
308 +windowrulev2 = float,class:^(google-chrome)$,title:^(Open Files)$
309 +windowrulev2 = float,class:^(google-chrome)$,title:^(Open File)$
311 +# window rules to prevent screen from turning off
312 +windowrule = idleinhibit fullscreen,firefox
313 +windowrule = idleinhibit fullscreen,mpv

neovim/README.md

Modified
39 39 # todo
41 -* remove mason
42 -* warn if trying to load a lsp client, that has no command
41 +* check out vim-dadbod for sql workflows
43 42 * navic highlights do not fit winbar
44 43 * make highlights more visible when expanding snippets
45 44 * cursor restore position on (session?) load jumps one location to somewhere

neovim/lazy-lock.json

Modified
2 2 "Comment.nvim": { "branch": "master", "commit": "e51f2b142d88bb666dcaa77d93a07f4b419aca70" },
3 - "LuaSnip": { "branch": "master", "commit": "b152822e1a4bafb6bdf11a16cc26525cbd95ee00" },
4 - "actions-preview.nvim": { "branch": "master", "commit": "ceb6e06d1c8c30d8ddfe3afb03cd2c47b08b2798" },
3 + "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
4 + "actions-preview.nvim": { "branch": "master", "commit": "e8d41b608e24319548637685c7cfa66fadaff2b2" },
5 5 "better-escape.nvim": { "branch": "master", "commit": "7e86edafb8c7e73699e0320f225464a298b96d12" },
6 6 "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
7 - "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
7 + "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
8 8 "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
9 9 "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
10 10 "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
11 11 "colorizer.nvim": { "branch": "master", "commit": "107719885290366c893e1c1c58b7474cbeabfef6" },
12 - "conform.nvim": { "branch": "master", "commit": "12b3995537f52ba2810a9857e8ca256881febbda" },
13 - "diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" },
14 - "dressing.nvim": { "branch": "master", "commit": "5162edb1442a729a885c45455a07e9a89058be2f" },
15 - "fidget.nvim": { "branch": "main", "commit": "1ba38e4cbb24683973e00c2e36f53ae64da38ef5" },
12 + "conform.nvim": { "branch": "master", "commit": "00f9d91391b04b1935e2f15948bd96cc111e7d3a" },
13 + "diffview.nvim": { "branch": "main", "commit": "9bdd5537575c2ea7925b71ae06585b934beea13d" },
14 + "dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
15 + "fidget.nvim": { "branch": "main", "commit": "ef99df04a1c53a453602421bc0f756997edc8289" },
16 16 "flash.nvim": { "branch": "main", "commit": "7bb4a9c75d1e20cd24185afedeaa11681829ba23" },
17 17 "gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
18 18 "glow.nvim": { "branch": "main", "commit": "238070a686c1da3bccccf1079700eb4b5e19aea4" },
19 19 "heirline.nvim": { "branch": "master", "commit": "03cff30d7e7d3ba6fdc00925f015822f79cef908" },
20 - "indent-blankline.nvim": { "branch": "master", "commit": "3d08501caef2329aba5121b753e903904088f7e6" },
21 - "lazy.nvim": { "branch": "main", "commit": "3f13f080434ac942b150679223d54f5ca91e0d52" },
20 + "indent-blankline.nvim": { "branch": "master", "commit": "ece00d5fb44d196680a81fd2761062d2fa44663b" },
21 + "lazy.nvim": { "branch": "main", "commit": "0de782a6b0ffba599dbd332a4019d852564bf28c" },
22 22 "lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
23 23 "mini.bracketed": { "branch": "main", "commit": "65c7dfb51e832de9e279e5d5b0741e7af6755ab5" },
24 24 "mini.bufremove": { "branch": "main", "commit": "931a3bb514147d9e812767275c4beba6b779b1d3" },
25 25 "mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
26 26 "neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" },
27 - "neogen": { "branch": "main", "commit": "0daffcec249bf42275e322361fe55b89a05ff278" },
27 + "neogen": { "branch": "main", "commit": "6de0add4805165317ab7d3d36b5cef48b1b865f3" },
28 28 "nrpattern.nvim": { "branch": "master", "commit": "f862ce687761078ef3155688151c55f69d28453e" },
29 - "nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" },
30 - "nvim-autopairs": { "branch": "master", "commit": "4f41e5940bc0443fdbe5f995e2a596847215cd2a" },
29 + "nui.nvim": { "branch": "main", "commit": "b1b3dcd6ed8f355c78bad3d395ff645be5f8b6ae" },
30 + "nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
31 31 "nvim-cmp": { "branch": "main", "commit": "8f3c541407e691af6163e2447f3af1bd6e17f9a3" },
32 - "nvim-genghis": { "branch": "main", "commit": "01eeb090ea4947df6b6b9d8589b324b9f1aaf851" },
32 + "nvim-genghis": { "branch": "main", "commit": "046a03a0a2cdaa22d9f3456b6535ad8af567d409" },
33 33 "nvim-gomove": { "branch": "main", "commit": "2b44ae7ac0804f4e3959228122f7c85bef1964e3" },
34 34 "nvim-lastplace": { "branch": "main", "commit": "0bb6103c506315044872e0f84b1f736c4172bb20" },
35 - "nvim-lint": { "branch": "master", "commit": "861a04313501563bb1b11f125ae9b7237a517b9b" },
35 + "nvim-lint": { "branch": "master", "commit": "1f98d6c863f91706369d74aeb2eb3f02b2e96861" },
36 36 "nvim-lsp-file-operations": { "branch": "master", "commit": "223aca86b737dc66e9c51ebcda8788a8d9cc6cf2" },
37 - "nvim-navbuddy": { "branch": "master", "commit": "f34237e8a41ebc6e2716af2ebf49854d8c5289c8" },
37 + "nvim-navbuddy": { "branch": "master", "commit": "f22bac988f2dd073601d75ba39ea5636ab6e38cb" },
38 38 "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
39 39 "nvim-neoclip.lua": { "branch": "main", "commit": "798cd0592a81c185465db3a091a0ff8a21af60fd" },
40 - "nvim-spectre": { "branch": "master", "commit": "4651801ba37a9407b7257287aec45b6653ffc5e9" },
41 - "nvim-surround": { "branch": "main", "commit": "6d0dc3dbb557bcc6a024969da461df4ba803fc48" },
42 - "nvim-tree.lua": { "branch": "master", "commit": "76db7ed0da3027882dd0a72de18643c2e26956dc" },
43 - "nvim-treesitter": { "branch": "master", "commit": "440f177277e6049d665382a94ce1af602900b5c7" },
44 - "nvim-treesitter-context": { "branch": "master", "commit": "2650e6431f7daba5d9c2c64134fa5eb2312eb3d7" },
40 + "nvim-spectre": { "branch": "master", "commit": "50e96602153f14c913e1969aaf9720e080394eb3" },
41 + "nvim-surround": { "branch": "main", "commit": "79aaa42da1f698ed31bcbe7f83081f69dca7ba17" },
42 + "nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
43 + "nvim-treesitter": { "branch": "master", "commit": "7c9c5bed8340031f8a6dad47a58a26eaf15b9a56" },
44 + "nvim-treesitter-context": { "branch": "master", "commit": "55e29081e73d2e4b2d62fb4dc3eebe21bf66a1e2" },
45 45 "nvim-treesitter-endwise": { "branch": "master", "commit": "8b34305ffc28bd75a22f5a0a9928ee726a85c9a6" },
46 - "nvim-treesitter-textobjects": { "branch": "master", "commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" },
47 - "nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" },
48 - "nvim-ts-context-commentstring": { "branch": "main", "commit": "a6382f744f584bbf71d0a563af789af7190aabda" },
49 - "nvim-web-devicons": { "branch": "master", "commit": "794bba734ec95eaff9bb82fbd112473be2087283" },
50 - "nvim-window": { "branch": "main", "commit": "fad0dc96de265b0bdcb21d1071329e5ab1deb4af" },
51 - "oil.nvim": { "branch": "master", "commit": "bcfc0a2e01def5019aa14fac2fc6de20dedb6d3d" },
46 + "nvim-treesitter-textobjects": { "branch": "master", "commit": "5f9bf4b1ead7707e4e74e5319ee56bdc81fb73db" },
47 + "nvim-ts-autotag": { "branch": "main", "commit": "cb57b07803476ee902c89412aeff219a9a58be13" },
48 + "nvim-ts-context-commentstring": { "branch": "main", "commit": "cbab9ad88036915beebd13b47e100743ff2ed2d5" },
49 + "nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" },
50 + "nvim-window": { "branch": "main", "commit": "81f29840ac3aaeea6fc2153edfabebd00d692476" },
51 + "oil.nvim": { "branch": "master", "commit": "06a19f77f1a1da37b675635e6f9c5b5d50bcaacd" },
52 52 "pair-ls.nvim": { "branch": "master", "commit": "ccf3280d8cafec48e4947dd827abbc456435dfad" },
53 53 "playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
54 - "plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" },
55 - "qf_helper.nvim": { "branch": "master", "commit": "301cea47118ccfc91a7cc48e316f2abc1ec7c1c6" },
56 - "schemastore.nvim": { "branch": "main", "commit": "2ef728ff7e790431f1f71052bfd4c5568157e110" },
54 + "plenary.nvim": { "branch": "master", "commit": "b5c8de02a44ffeabff678090edd6a132ff8ab77d" },
55 + "qf_helper.nvim": { "branch": "master", "commit": "fa3c2f3f2706e2c9984409c9c14b5993302ddfa7" },
56 + "schemastore.nvim": { "branch": "main", "commit": "de73a884679a2461c53f96035894ef073a5a7f4f" },
57 57 "specs.nvim": { "branch": "main", "commit": "8a108c8b37dec1b184a1d3d76c6cf867bfbe9636" },
58 58 "speedtyper.nvim": { "branch": "main", "commit": "2d158eed4c753995b0501a3a7a72464fbb213e3d" },
59 59 "ssr.nvim": { "branch": "main", "commit": "bb323ba621ac647b4ac5638b47666e3ef3c279e1" },
62 62 "telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
63 63 "telescope-symbols.nvim": { "branch": "master", "commit": "a6d0127a53d39b9fc2af75bd169d288166118aec" },
64 64 "telescope-zoxide": { "branch": "main", "commit": "68966349aa1b8e9ade403e18479ecf79447389a7" },
65 - "telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" },
65 + "telescope.nvim": { "branch": "master", "commit": "d829aa64059001ee7b2c8c8aa9c4e6df0b17d893" },
66 66 "text-case.nvim": { "branch": "main", "commit": "d62c63a4e9a996c7321885937ab89920fca2c1c8" },
67 67 "tint.nvim": { "branch": "master", "commit": "02bd0527a315a80e4e25bb2dd7b6994fb0daae01" },
68 68 "todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
69 69 "tree-sitter-nu": { "branch": "main", "commit": "a58513279e98dc3ff9ed149e3b4310cbb7e11068" },
70 70 "treesj": { "branch": "main", "commit": "e1e82ab4237619d342c7102c9f13d4b9833bfd39" },
71 71 "twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },
72 - "venn.nvim": { "branch": "main", "commit": "a5430d75875acbe93e9685cdeb78c6eb2a329ed5" },
72 + "venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },
73 73 "vim-vscode-snippets": { "branch": "master", "commit": "812e60d1c648f889328761ec71daff09d1eb3177" },
74 74 "virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" },
75 75 "which-key.nvim": { "branch": "main", "commit": "ce741eb559c924d72e3a67d2189ad3771a231414" },

neovim/lua/bugabinga/options/behaviour.lua

Modified
57 57 -- integrate Nushell with nvim
58 58 vim.opt.shell = 'nu'
59 59 vim.opt.shellcmdflag = '--commands'
60 -vim.opt.shellpipe = '| save %s'
60 +vim.opt.shellpipe = 'out+err>| save %s'
61 61 vim.opt.shellredir = '| save %s'
62 62 vim.opt.shellquote = ''
63 63 vim.opt.shellxquote = ''
93 93 -- ask me to force failed commands
94 94 vim.opt.confirm = true
96 -auto 'load_project_if_available' {
97 - description = 'Loads the project root dir as cwd, if it can be determined from a file path.',
98 - events = { 'FileType', },
99 - pattern = '*',
100 - command = function ( event )
101 - local project = require 'std.project'
102 - local ignored = require 'std.ignored'
103 - local table = require 'std.table'
104 - local buffer = event.buf
105 - local file = event.file
106 - local filetype = vim.api.nvim_buf_get_option( buffer, 'filetype' )
107 - if table.contains( ignored.filetypes, filetype ) then return end
108 - local buftype = vim.api.nvim_buf_get_option( buffer, 'buftype' )
109 - if table.contains( ignored.buftypes, buftype ) then return end
110 - local project_root = project.find_root_by_filetype( file, filetype )
111 - if not project_root then return end
112 - local root = vim.fs.normalize( project_root )
113 - local cwd = vim.fs.normalize( vim.uv.cwd() )
114 - if root and cwd ~= root then
115 - vim.uv.chdir( root )
116 - vim.notify( 'Changed root directory to ' .. root .. ' from ' .. cwd )
117 - debug.print( buffer, file, vim.inspect( filetype ), vim.inspect( buftype ) )
118 - end
119 - end,

nushell/config.nu

Modified
5 5 use aliases.nu *
6 6 use todo.nu
7 7 use openssl.nu *
8 -use syncthing.nu
10 9 # for more information on themes see
11 10 # https://github.com/nushell/nushell/blob/main/docs/How_To_Coloring_and_Theming.md
77 76 use_grid_icons: true
78 77 footer_mode: "auto" # always, never, number_of_rows, auto
79 78 completions: {
81 79 quick: true # set this to false to prevent auto-selecting completions when only one remains
82 80 partial: true # set this to false to prevent partial filling of the prompt
82 + hooks: {
83 + pre_prompt: [{||
84 + if (which direnv | is-empty) {
85 + return
86 + }
87 + direnv export json | from json | default {} | load-env
88 + }]
89 + }
84 90 float_precision: 2
85 91 use_ansi_coloring: true
86 92 filesize: {

nushell/modules/aliases.nu

Modified
3 3 # Semantic aliases
4 4 export alias show = bat
5 5 export def list [] { ls --all --long --du --mime-type | where type == dir | append (ls --all --long --du --mime-type | where type != dir) }
6 6 export alias walk = yazi
7 7 export alias browse = firefox
8 -export alias code = nvim
8 +export alias vim = nvim
9 9 export alias edit = nvim --clean
10 10 # TODO ewrite bak command
11 11 export alias backup = bak
13 +export alias userctl = systemctl --user
13 15 # https://gist.github.com/mullnerz/9fff80593d6b442d5c1b
14 16 export alias archive = wget -mpck --html-extension --user-agent="" -e robots=off --wait 1 -P .
29 31 export alias nf = open-editor-with-file-search
31 -def fuzzy-kill [ query:string ] {
33 +export def fkill [ query:string ] {
32 34 let pid = (^ps -ef | sed 1d | fzf -m --query $query | awk '{print $2}')
33 35 if not ($pid | is-empty) {
34 36 kill ($pid | into int )
37 -export alias fkill = fuzzy-kill
40 +export def --env yy [...args] {
41 + let tmp = (mktemp -t "yazi-cwd.XXXXXX")
42 + yazi ...$args --cwd-file $tmp
43 + let cwd = (open $tmp)
44 + if $cwd != "" and $cwd != $env.PWD {
45 + cd $cwd
46 + }
47 + rm -fp $tmp
39 50 # TODO: HOST SPECIFIC ALIASES
40 51 # I do not see a way right now the have different aliases per host with nu.

systemd/environment.d/07_cargo.conf

Added
new file mode 100644
1 +CARGO_HOME=$HOME/.cargo

systemd/environment.d/99_path.conf

Added
new file mode 100644
1 +PATH=$CARGO_HOME/bin:$HOME/.local/bin:$PATH

tools/cargo-tools.nu

Modified
36 36 [ "taplo-cli" "taplo" [] ]
37 37 [ "lms" "lms" [] ]
38 38 [ "gitu" "gitu" [ "--locked" ] ]
39 + [ "yazi-fm" "yazi" [ "--locked" ] ]
40 + [ "yazi-cli" "ya" [ "--locked" ] ]
41 43 # install all my favorite crate, only if they are not already in PATH.

topgrade/topgrade.linux.toml

Modified
25 25 [git]
26 26 # Additional git repositories to pull
27 -repos = ["/home/oli/Workspace/*"]
27 +repos = ["/home/oli/Workspace/*", "/home/oli/Source/*"]
29 29 max_concurrency = 12

wezterm/bugabinga/auto_dark_mode.lua

Modified
20 +-- TODO: what is that good for?
20 21 -- wez.on('window-config-reloaded', function(window)
21 22 -- local overrides = window:get_config_overrides() or {}
22 23 -- local appearance = window:get_appearance()

wezterm/bugabinga/workspaces.lua

Modified
40 40 local code_ws = 'code'
41 - local code_cwd = wez.home_dir
41 + local code_cwd = WORKSPACE
42 42 local code_tab, code_pane, code_window = mux.spawn_window { cwd = code_cwd, workspace = code_ws }
43 - local code_top_pane = code_pane:split { cwd = code_cwd, direction = 'Top', size = 0.42 }
44 - code_pane:split { cwd = code_cwd, direction = 'Right', size = 0.42 }
45 - code_top_pane:split { cwd = code_cwd, direction = 'Right', size = 0.42 }
46 - code_window:spawn_tab { args = { 'nvim' } }
43 + local code_top_pane = code_pane:split { cwd = code_cwd, direction = 'Top', size = 0.69 }
44 + code_pane:split { cwd = code_cwd, direction = 'Right', size = 0.69 }
47 45 code_tab:set_title 'Code'
48 46 code_top_pane:activate()

wezterm/nerdfonts

Modified
19 19 iA Writer Mono V
20 20 Inconsolata
21 21 Intel One Mono
22 -Iosevka
23 22 JetBrainsMono
24 23 Lekton
25 24 Liberation Mono

wezterm/wezterm.lua

Modified
20 20 elseif hostname == 'NB-00718' then
21 21 font_size = 19
22 22 elseif hostname == 'fedora' then
23 - font_size = 16
23 + font_size = 13
24 24 local font_names = {}
25 25 local nerdfonts = io.open(wez.config_dir .. '/nerdfonts', 'r')
26 26 if nerdfonts then
34 34 window_decorations = 'NONE'
37 +-- Equivalent to POSIX basename(3)
38 +-- Given "/foo/bar" returns "bar"
39 +-- Given "c:\\foo\\bar" returns "bar"
40 +local function basename(s)
41 + return string.gsub(s, '(.*[/\\])(.*)', '%2')
42 +end
44 +local exec_domains = {
45 + -- Defines a domain called "scoped" that will run the requested
46 + -- command inside its own individual systemd scope.
47 + -- This defines a strong boundary for resource control and can
48 + -- help to avoid OOMs in one pane causing other panes to be
49 + -- killed.
50 + wez.exec_domain('scoped', function(cmd)
51 + -- The "cmd" parameter is a SpawnCommand object.
52 + -- You can log it to see what's inside:
53 + wez.log_info(cmd)
55 + -- Synthesize a human understandable scope name that is
56 + -- (reasonably) unique. WEZTERM_PANE is the pane id that
57 + -- will be used for the newly spawned pane.
58 + -- WEZTERM_UNIX_SOCKET is associated with the wezterm
59 + -- process id.
60 + local env = cmd.set_environment_variables
61 + local ident = 'wezterm-pane-'
62 + .. env.WEZTERM_PANE
63 + .. '-on-'
64 + .. basename(env.WEZTERM_UNIX_SOCKET)
66 + -- Generate a new argument array that will launch a
67 + -- program via systemd-run
68 + local wrapped = {
69 + '/usr/bin/systemd-run',
70 + '--user',
71 + '--scope',
72 + '--description=Shell started by wezterm',
73 + '--same-dir',
74 + '--collect',
75 + '--unit=' .. ident,
76 + }
78 + -- Append the requested command
79 + -- Note that cmd.args may be nil; that indicates that the
80 + -- default program should be used. Here we're using the
81 + -- shell defined by the SHELL environment variable.
82 + for _, arg in ipairs(cmd.args or { os.getenv 'SHELL' }) do
83 + table.insert(wrapped, arg)
84 + end
86 + -- replace the requested argument array with our new one
87 + cmd.args = wrapped
89 + -- and return the SpawnCommand that we want to execute
90 + return cmd
91 + end),
37 94 return {
38 95 -- logs key presses
39 96 -- debug_key_events = true,
42 99 default_prog = { 'nu', '--login' },
43 100 default_cursor_style = 'SteadyBlock',
102 + exec_domains = exec_domains,
45 103 unix_domains = {
47 105 name = 'mux'

wezterm/wezterm.service

Added
new file mode 100644
1 +[Unit]
2 +Description=Wezterm Multiplexing Server
3 +After=gnome-session.target
5 +[Service]
6 +ExecStart=/usr/bin/wezterm-mux-server
7 +Restart=on-failure
9 +[Install]
10 +WantedBy=gnome-session.target