repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

wezterm: larger font, delete unused stuff niri: new config nushell: disable osc9

ea340ccecfca4ab137d4c8bf05218cfc915b2667

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (11)

fedora.symlinks

Modified
91 91 neovide
92 92 ~/.config/neovide
94 +niri
95 +~/.config/niri
94 97 environment.d
95 98 ~/.config/environment.d

justfile

Modified
6 6 # link dorkfiles into HOME
7 7 link:
8 8 java bootstripper.java
10 +# enable some user systemd services
11 +services:
9 12 nu enable_user_services.nu
11 14 # remove links to dorkfiles in HOME

niri/config.kdl

Added
new file mode 100644
1 +// This config is in the KDL format: https://kdl.dev
2 +// "/-" comments out the following node.
3 +// Check the wiki for a full description of the configuration:
4 +// https://yalter.github.io/niri/Configuration:-Introduction
6 +// Input device configuration.
7 +// Find the full list of options on the wiki:
8 +// https://yalter.github.io/niri/Configuration:-Input
9 +input {
10 + keyboard {
11 + xkb {
12 + // You can set rules, model, layout, variant and options.
13 + // For more information, see xkeyboard-config(7).
15 + // For example:
16 + // layout "us,ru"
17 + layout "us"
18 + variant "altgr-intl"
19 + options "caps:none"
21 + // If this section is empty, niri will fetch xkb settings
22 + // from org.freedesktop.locale1. You can control these using
23 + // localectl set-x11-keymap.
24 + }
26 + // Enable numlock on startup, omitting this setting disables it.
27 + numlock
28 + }
30 + // Next sections include libinput settings.
31 + // Omitting settings disables them, or leaves them at their default values.
32 + // All commented-out settings here are examples, not defaults.
33 + touchpad {
34 + // off
35 + tap
36 + // dwt
37 + // dwtp
38 + // drag false
39 + // drag-lock
40 + natural-scroll
41 + // accel-speed 0.2
42 + // accel-profile "flat"
43 + // scroll-method "two-finger"
44 + // disabled-on-external-mouse
45 + }
47 + mouse {
48 + // off
49 + natural-scroll
50 + // accel-speed 0.2
51 + accel-profile "flat"
52 + // scroll-method "no-scroll"
53 + }
55 + trackpoint {
56 + // off
57 + // natural-scroll
58 + // accel-speed 0.2
59 + // accel-profile "flat"
60 + // scroll-method "on-button-down"
61 + // scroll-button 273
62 + // scroll-button-lock
63 + // middle-emulation
64 + }
66 + // Uncomment this to make the mouse warp to the center of newly focused windows.
67 + // warp-mouse-to-focus
69 + // Focus windows and outputs automatically when moving the mouse into them.
70 + // Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
71 + // focus-follows-mouse max-scroll-amount="0%"
74 +// You can configure outputs by their name, which you can find
75 +// by running `niri msg outputs` while inside a niri instance.
76 +// The built-in laptop monitor is usually called "eDP-1".
77 +// Find more information on the wiki:
78 +// https://yalter.github.io/niri/Configuration:-Outputs
79 +// Remember to uncomment the node by removing "/-"!
80 +/-output "eDP-1" {
81 + // Uncomment this line to disable this output.
82 + // off
84 + // Resolution and, optionally, refresh rate of the output.
85 + // The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
86 + // If the refresh rate is omitted, niri will pick the highest refresh rate
87 + // for the resolution.
88 + // If the mode is omitted altogether or is invalid, niri will pick one automatically.
89 + // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
90 + mode "1920x1080@120.030"
92 + // You can use integer or fractional scale, for example use 1.5 for 150% scale.
93 + scale 2
95 + // Transform allows to rotate the output counter-clockwise, valid values are:
96 + // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
97 + transform "normal"
99 + // Position of the output in the global coordinate space.
100 + // This affects directional monitor actions like "focus-monitor-left", and cursor movement.
101 + // The cursor can only move between directly adjacent outputs.
102 + // Output scale and rotation has to be taken into account for positioning:
103 + // outputs are sized in logical, or scaled, pixels.
104 + // For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
105 + // so to put another output directly adjacent to it on the right, set its x to 1920.
106 + // If the position is unset or results in an overlap, the output is instead placed
107 + // automatically.
108 + position x=1280 y=0
111 +// Settings that influence how windows are positioned and sized.
112 +// Find more information on the wiki:
113 +// https://yalter.github.io/niri/Configuration:-Layout
114 +layout {
115 + // Set gaps around windows in logical pixels.
116 + gaps 16
118 + // When to center a column when changing focus, options are:
119 + // - "never", default behavior, focusing an off-screen column will keep at the left
120 + // or right edge of the screen.
121 + // - "always", the focused column will always be centered.
122 + // - "on-overflow", focusing a column will center it if it doesn't fit
123 + // together with the previously focused column.
124 + center-focused-column "never"
126 + // You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
127 + preset-column-widths {
128 + // Proportion sets the width as a fraction of the output width, taking gaps into account.
129 + // For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
130 + // The default preset widths are 1/3, 1/2 and 2/3 of the output.
131 + proportion 0.33333
132 + proportion 0.5
133 + proportion 0.66667
135 + // Fixed sets the width in logical pixels exactly.
136 + // fixed 1920
139 + // You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
140 + // preset-window-heights { }
142 + // You can change the default width of the new windows.
143 + default-column-width { proportion 0.5; }
144 + // If you leave the brackets empty, the windows themselves will decide their initial width.
145 + // default-column-width {}
147 + // By default focus ring and border are rendered as a solid background rectangle
148 + // behind windows. That is, they will show up through semitransparent windows.
149 + // This is because windows using client-side decorations can have an arbitrary shape.
150 + //
151 + // If you don't like that, you should uncomment `prefer-no-csd` below.
152 + // Niri will draw focus ring and border *around* windows that agree to omit their
153 + // client-side decorations.
154 + //
155 + // Alternatively, you can override it with a window rule called
156 + // `draw-border-with-background`.
158 + // You can change how the focus ring looks.
159 + focus-ring {
160 + // Uncomment this line to disable the focus ring.
161 + // off
163 + // How many logical pixels the ring extends out from the windows.
164 + width 4
166 + // Colors can be set in a variety of ways:
167 + // - CSS named colors: "red"
168 + // - RGB hex: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa"
169 + // - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
171 + // Color of the ring on the active monitor.
172 + active-color "#812281"
174 + // Color of the ring on inactive monitors.
175 + //
176 + // The focus ring only draws around the active window, so the only place
177 + // where you can see its inactive-color is on other monitors.
178 + inactive-color "#8b8b8b"
180 + // You can also use gradients. They take precedence over solid colors.
181 + // Gradients are rendered the same as CSS linear-gradient(angle, from, to).
182 + // The angle is the same as in linear-gradient, and is optional,
183 + // defaulting to 180 (top-to-bottom gradient).
184 + // You can use any CSS linear-gradient tool on the web to set these up.
185 + // Changing the color space is also supported, check the wiki for more info.
186 + //
187 + active-gradient from="#9d299d" to="#812281" angle=45
189 + // You can also color the gradient relative to the entire view
190 + // of the workspace, rather than relative to just the window itself.
191 + // To do that, set relative-to="workspace-view".
192 + //
193 + inactive-gradient from="#9d9d9d" to="#8b8b8b" angle=45 relative-to="workspace-view"
196 + // You can also add a border. It's similar to the focus ring, but always visible.
197 + border {
198 + // The settings are the same as for the focus ring.
199 + // If you enable the border, you probably want to disable the focus ring.
200 + off
202 + width 4
203 + active-color "#9d299d"
204 + inactive-color "#6e6e6e"
206 + // Color of the border around windows that request your attention.
207 + urgent-color "#ac5a77"
209 + // Gradients can use a few different interpolation color spaces.
210 + // For example, this is a pastel rainbow gradient via in="oklch longer hue".
211 + //
212 + // active-gradient from="#e5989b" to="#ffb4a2" angle=45 relative-to="workspace-view" in="oklch longer hue"
214 + // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
217 + // You can enable drop shadows for windows.
218 + shadow {
219 + // Uncomment the next line to enable shadows.
220 + // on
222 + // By default, the shadow draws only around its window, and not behind it.
223 + // Uncomment this setting to make the shadow draw behind its window.
224 + //
225 + // Note that niri has no way of knowing about the CSD window corner
226 + // radius. It has to assume that windows have square corners, leading to
227 + // shadow artifacts inside the CSD rounded corners. This setting fixes
228 + // those artifacts.
229 + //
230 + // However, instead you may want to set prefer-no-csd and/or
231 + // geometry-corner-radius. Then, niri will know the corner radius and
232 + // draw the shadow correctly, without having to draw it behind the
233 + // window. These will also remove client-side shadows if the window
234 + // draws any.
235 + //
236 + // draw-behind-window true
238 + // You can change how shadows look. The values below are in logical
239 + // pixels and match the CSS box-shadow properties.
241 + // Softness controls the shadow blur radius.
242 + softness 30
244 + // Spread expands the shadow.
245 + spread 5
247 + // Offset moves the shadow relative to the window.
248 + offset x=0 y=5
250 + // You can also change the shadow color and opacity.
251 + color "#0007"
254 + // Struts shrink the area occupied by windows, similarly to layer-shell panels.
255 + // You can think of them as a kind of outer gaps. They are set in logical pixels.
256 + // Left and right struts will cause the next window to the side to always be visible.
257 + // Top and bottom struts will simply add outer gaps in addition to the area occupied by
258 + // layer-shell panels and regular gaps.
259 + struts {
260 + // left 64
261 + // right 64
262 + // top 64
263 + // bottom 64
267 +// Add lines like this to spawn processes at startup.
268 +// Note that running niri as a session supports xdg-desktop-autostart,
269 +// which may be more convenient to use.
270 +// See the binds section below for more spawn examples.
272 +// This line starts eww
273 +spawn-at-startup "eww open tray"
275 +// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
276 +// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
278 +hotkey-overlay {
279 + // Uncomment this line to disable the "Important Hotkeys" pop-up at startup.
280 + // skip-at-startup
283 +// Uncomment this line to ask the clients to omit their client-side decorations if possible.
284 +// If the client will specifically ask for CSD, the request will be honored.
285 +// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
286 +// This option will also fix border/focus ring drawing behind some semitransparent windows.
287 +// After enabling or disabling this, you need to restart the apps for this to take effect.
288 +prefer-no-csd
290 +// You can change the path where screenshots are saved.
291 +// A ~ at the front will be expanded to the home directory.
292 +// The path is formatted with strftime(3) to give you the screenshot date and time.
293 +screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
295 +// You can also set this to null to disable saving screenshots to disk.
296 +// screenshot-path null
298 +// Animation settings.
299 +// The wiki explains how to configure individual animations:
300 +// https://yalter.github.io/niri/Configuration:-Animations
301 +animations {
302 + // Uncomment to turn off all animations.
303 + // off
305 + // Slow down all animations by this factor. Values below 1 speed them up instead.
306 + slowdown 0.3
309 +// Window rules let you adjust behavior for individual windows.
310 +// Find more information on the wiki:
311 +// https://yalter.github.io/niri/Configuration:-Window-Rules
313 +// Work around WezTerm's initial configure bug
314 +// by setting an empty default-column-width.
315 +window-rule {
316 + // This regular expression is intentionally made as specific as possible,
317 + // since this is the default config, and we want no false positives.
318 + // You can get away with just app-id="wezterm" if you want.
319 + match app-id=r#"^org\.wezfurlong\.wezterm$"#
320 + default-column-width {}
323 +// Open the Firefox picture-in-picture player as floating by default.
324 +window-rule {
325 + // This app-id regular expression will work for both:
326 + // - host Firefox (app-id is "firefox")
327 + // - Flatpak Firefox (app-id is "org.mozilla.firefox")
328 + match app-id=r#"firefox$"# title="^Picture-in-Picture$"
329 + open-floating true
332 +// Example: block out two password managers from screen capture.
333 +// (This example rule is commented out with a "/-" in front.)
334 +/-window-rule {
335 + match app-id=r#"^org\.keepassxc\.KeePassXC$"#
336 + match app-id=r#"^org\.gnome\.World\.Secrets$"#
338 + block-out-from "screen-capture"
340 + // Use this instead if you want them visible on third-party screenshot tools.
341 + // block-out-from "screencast"
344 +// Example: enable rounded corners for all windows.
345 +// (This example rule is commented out with a "/-" in front.)
346 +/-window-rule {
347 + geometry-corner-radius 12
348 + clip-to-geometry true
351 +binds {
352 + // Keys consist of modifiers separated by + signs, followed by an XKB key name
353 + // in the end. To find an XKB name for a particular key, you may use a program
354 + // like wev.
355 + //
356 + // "Mod" is a special modifier equal to Super when running on a TTY, and to Alt
357 + // when running as a winit window.
358 + //
359 + // Most actions that you can bind here can also be invoked programmatically with
360 + // `niri msg action do-something`.
362 + // Mod-Shift-/, which is usually the same as Mod-?,
363 + // shows a list of important hotkeys.
364 + Mod+Shift+Slash { show-hotkey-overlay; }
366 + // Suggested binds for running programs: terminal, app launcher, screen locker.
367 + Mod+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm" "start" "--always-new-process"; }
368 + Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
369 + Super+Alt+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }
371 + // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
372 + // Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
373 + // For example, this is a standard bind to toggle the screen reader (orca).
374 + // Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
376 + // Example volume keys mappings for PipeWire & WirePlumber.
377 + // The allow-when-locked=true property makes them work even when the session is locked.
378 + // Using spawn-sh allows to pass multiple arguments together with the command.
379 + XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+"; }
380 + XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; }
381 + XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
382 + XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; }
384 + // Example brightness key mappings for brightnessctl.
385 + // You can use regular spawn with multiple arguments too (to avoid going through "sh"),
386 + // but you need to manually put each argument in separate "" quotes.
387 + XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; }
388 + XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; }
390 + // Open/close the Overview: a zoomed-out view of workspaces and windows.
391 + // You can also move the mouse into the top-left hot corner,
392 + // or do a four-finger swipe up on a touchpad.
393 + Mod+O repeat=false { toggle-overview; }
395 + Mod+Q repeat=false { close-window; }
397 + Mod+Left { focus-column-left; }
398 + Mod+Down { focus-window-down; }
399 + Mod+Up { focus-window-up; }
400 + Mod+Right { focus-column-right; }
401 + Mod+H { focus-column-left; }
402 + Mod+J { focus-window-down; }
403 + Mod+K { focus-window-up; }
404 + Mod+L { focus-column-right; }
406 + Mod+Ctrl+Left { move-column-left; }
407 + Mod+Ctrl+Down { move-window-down; }
408 + Mod+Ctrl+Up { move-window-up; }
409 + Mod+Ctrl+Right { move-column-right; }
410 + Mod+Ctrl+H { move-column-left; }
411 + Mod+Ctrl+J { move-window-down; }
412 + Mod+Ctrl+K { move-window-up; }
413 + Mod+Ctrl+L { move-column-right; }
415 + // Alternative commands that move across workspaces when reaching
416 + // the first or last window in a column.
417 + // Mod+J { focus-window-or-workspace-down; }
418 + // Mod+K { focus-window-or-workspace-up; }
419 + // Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
420 + // Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
422 + Mod+Home { focus-column-first; }
423 + Mod+End { focus-column-last; }
424 + Mod+Ctrl+Home { move-column-to-first; }
425 + Mod+Ctrl+End { move-column-to-last; }
427 + Mod+Shift+Left { focus-monitor-left; }
428 + Mod+Shift+Down { focus-monitor-down; }
429 + Mod+Shift+Up { focus-monitor-up; }
430 + Mod+Shift+Right { focus-monitor-right; }
431 + Mod+Shift+H { focus-monitor-left; }
432 + Mod+Shift+J { focus-monitor-down; }
433 + Mod+Shift+K { focus-monitor-up; }
434 + Mod+Shift+L { focus-monitor-right; }
436 + Mod+Shift+Ctrl+Left { move-column-to-monitor-left; }
437 + Mod+Shift+Ctrl+Down { move-column-to-monitor-down; }
438 + Mod+Shift+Ctrl+Up { move-column-to-monitor-up; }
439 + Mod+Shift+Ctrl+Right { move-column-to-monitor-right; }
440 + Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
441 + Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
442 + Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
443 + Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
445 + // Alternatively, there are commands to move just a single window:
446 + // Mod+Shift+Ctrl+Left { move-window-to-monitor-left; }
447 + // ...
449 + // And you can also move a whole workspace to another monitor:
450 + // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
451 + // ...
453 + Mod+Page_Down { focus-workspace-down; }
454 + Mod+Page_Up { focus-workspace-up; }
455 + Mod+U { focus-workspace-down; }
456 + Mod+I { focus-workspace-up; }
457 + Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
458 + Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
459 + Mod+Ctrl+U { move-column-to-workspace-down; }
460 + Mod+Ctrl+I { move-column-to-workspace-up; }
462 + // Alternatively, there are commands to move just a single window:
463 + // Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
464 + // ...
466 + Mod+Shift+Page_Down { move-workspace-down; }
467 + Mod+Shift+Page_Up { move-workspace-up; }
468 + Mod+Shift+U { move-workspace-down; }
469 + Mod+Shift+I { move-workspace-up; }
471 + // You can bind mouse wheel scroll ticks using the following syntax.
472 + // These binds will change direction based on the natural-scroll setting.
473 + //
474 + // To avoid scrolling through workspaces really fast, you can use
475 + // the cooldown-ms property. The bind will be rate-limited to this value.
476 + // You can set a cooldown on any bind, but it's most useful for the wheel.
477 + Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
478 + Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
479 + Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
480 + Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
482 + Mod+WheelScrollRight { focus-column-right; }
483 + Mod+WheelScrollLeft { focus-column-left; }
484 + Mod+Ctrl+WheelScrollRight { move-column-right; }
485 + Mod+Ctrl+WheelScrollLeft { move-column-left; }
487 + // Usually scrolling up and down with Shift in applications results in
488 + // horizontal scrolling; these binds replicate that.
489 + Mod+Shift+WheelScrollDown { focus-column-right; }
490 + Mod+Shift+WheelScrollUp { focus-column-left; }
491 + Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
492 + Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
494 + // Similarly, you can bind touchpad scroll "ticks".
495 + // Touchpad scrolling is continuous, so for these binds it is split into
496 + // discrete intervals.
497 + // These binds are also affected by touchpad's natural-scroll, so these
498 + // example binds are "inverted", since we have natural-scroll enabled for
499 + // touchpads by default.
500 + // Mod+TouchpadScrollDown { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+"; }
501 + // Mod+TouchpadScrollUp { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"; }
503 + // You can refer to workspaces by index. However, keep in mind that
504 + // niri is a dynamic workspace system, so these commands are kind of
505 + // "best effort". Trying to refer to a workspace index bigger than
506 + // the current workspace count will instead refer to the bottommost
507 + // (empty) workspace.
508 + //
509 + // For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
510 + // will all refer to the 3rd workspace.
511 + Mod+1 { focus-workspace 1; }
512 + Mod+2 { focus-workspace 2; }
513 + Mod+3 { focus-workspace 3; }
514 + Mod+4 { focus-workspace 4; }
515 + Mod+5 { focus-workspace 5; }
516 + Mod+6 { focus-workspace 6; }
517 + Mod+7 { focus-workspace 7; }
518 + Mod+8 { focus-workspace 8; }
519 + Mod+9 { focus-workspace 9; }
520 + Mod+Ctrl+1 { move-column-to-workspace 1; }
521 + Mod+Ctrl+2 { move-column-to-workspace 2; }
522 + Mod+Ctrl+3 { move-column-to-workspace 3; }
523 + Mod+Ctrl+4 { move-column-to-workspace 4; }
524 + Mod+Ctrl+5 { move-column-to-workspace 5; }
525 + Mod+Ctrl+6 { move-column-to-workspace 6; }
526 + Mod+Ctrl+7 { move-column-to-workspace 7; }
527 + Mod+Ctrl+8 { move-column-to-workspace 8; }
528 + Mod+Ctrl+9 { move-column-to-workspace 9; }
530 + // Alternatively, there are commands to move just a single window:
531 + // Mod+Ctrl+1 { move-window-to-workspace 1; }
533 + // Switches focus between the current and the previous workspace.
534 + // Mod+Tab { focus-workspace-previous; }
536 + // The following binds move the focused window in and out of a column.
537 + // If the window is alone, they will consume it into the nearby column to the side.
538 + // If the window is already in a column, they will expel it out.
539 + Mod+BracketLeft { consume-or-expel-window-left; }
540 + Mod+BracketRight { consume-or-expel-window-right; }
542 + // Consume one window from the right to the bottom of the focused column.
543 + Mod+Comma { consume-window-into-column; }
544 + // Expel the bottom window from the focused column to the right.
545 + Mod+Period { expel-window-from-column; }
547 + Mod+R { switch-preset-column-width; }
548 + // Cycling through the presets in reverse order is also possible.
549 + // Mod+R { switch-preset-column-width-back; }
550 + Mod+Shift+R { switch-preset-window-height; }
551 + Mod+Ctrl+R { reset-window-height; }
552 + Mod+F { maximize-column; }
553 + Mod+Shift+F { fullscreen-window; }
555 + // Expand the focused column to space not taken up by other fully visible columns.
556 + // Makes the column "fill the rest of the space".
557 + Mod+Ctrl+F { expand-column-to-available-width; }
559 + Mod+C { center-column; }
561 + // Center all fully visible columns on screen.
562 + Mod+Ctrl+C { center-visible-columns; }
564 + // Finer width adjustments.
565 + // This command can also:
566 + // * set width in pixels: "1000"
567 + // * adjust width in pixels: "-5" or "+5"
568 + // * set width as a percentage of screen width: "25%"
569 + // * adjust width as a percentage of screen width: "-10%" or "+10%"
570 + // Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0,
571 + // set-column-width "100" will make the column occupy 200 physical screen pixels.
572 + Mod+Minus { set-column-width "-10%"; }
573 + Mod+Equal { set-column-width "+10%"; }
575 + // Finer height adjustments when in column with other windows.
576 + Mod+Shift+Minus { set-window-height "-10%"; }
577 + Mod+Shift+Equal { set-window-height "+10%"; }
579 + // Move the focused window between the floating and the tiling layout.
580 + Mod+V { toggle-window-floating; }
581 + Mod+Shift+V { switch-focus-between-floating-and-tiling; }
583 + // Toggle tabbed column display mode.
584 + // Windows in this column will appear as vertical tabs,
585 + // rather than stacked on top of each other.
586 + Mod+W { toggle-column-tabbed-display; }
588 + // Actions to switch layouts.
589 + // Note: if you uncomment these, make sure you do NOT have
590 + // a matching layout switch hotkey configured in xkb options above.
591 + // Having both at once on the same hotkey will break the switching,
592 + // since it will switch twice upon pressing the hotkey (once by xkb, once by niri).
593 + // Mod+Space { switch-layout "next"; }
594 + // Mod+Shift+Space { switch-layout "prev"; }
596 + Print { screenshot; }
597 + Ctrl+Print { screenshot-screen; }
598 + Alt+Print { screenshot-window; }
600 + // Applications such as remote-desktop clients and software KVM switches may
601 + // request that niri stops processing the keyboard shortcuts defined here
602 + // so they may, for example, forward the key presses as-is to a remote machine.
603 + // It's a good idea to bind an escape hatch to toggle the inhibitor,
604 + // so a buggy application can't hold your session hostage.
605 + //
606 + // The allow-inhibiting=false property can be applied to other binds as well,
607 + // which ensures niri always processes them, even when an inhibitor is active.
608 + Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
610 + // The quit action will show a confirmation dialog to avoid accidental exits.
611 + Mod+Shift+E { quit; }
612 + Ctrl+Alt+Delete { quit; }
614 + // Powers off the monitors. To turn them back on, do any input like
615 + // moving the mouse or pressing any other key.
616 + Mod+Shift+P { power-off-monitors; }

nushell/config.nu

Modified
15 15 float_precision: 3
16 16 shell_integration: {
17 - osc9_9: true
17 + osc9_9: false
18 18 # unfortunatelly, this seems to be buggy on win32 with wezterm
19 19 osc133: ($nu.os-info.family | str contains "unix")

wezterm/bugabinga/dotfiles_workspace.lua

Modified
1 1 local wez = require 'wezterm'
3 3 local is_win32 = wez.target_triple:match 'windows'
4 -local dotfiles_path = is_win32 and 'W:/dotfiles' or wez.home_dir .. '/Workspace/dotfiles'
4 +local dotfiles_path = is_win32 and 'C:/Users/okr/Workspaces/dotfiles' or wez.home_dir .. '/Workspace/dotfiles'
6 6 return function ( _ )
7 7 wez.on( 'gui-startup', function ( cmd )

wezterm/bugabinga/fonts.lua

Modified
117 117 cfg.font = font
118 118 cfg.freetype_load_flags = 'NO_HINTING'
119 119 cfg.font_shaper = 'Harfbuzz'
120 - cfg.font_size = 12.0
120 + cfg.font_size = 13.0
121 121 cfg.font_rules = font_rules
122 122 cfg.underline_position = '142%'
123 123 cfg.warn_about_missing_glyphs = false

wezterm/bugabinga/neovim_zen_mode.lua

Deleted
deleted file mode 100644
1 -return function (_)
2 - local wez = require 'wezterm'
4 - wez.on( 'user-var-changed', function ( window, pane, name, value )
5 - local overrides = window:get_config_overrides() or {}
6 - if name == 'ZEN_MODE' then
7 - local incremental = value:find '+'
8 - local number_value = tonumber( value )
9 - if incremental ~= nil then
10 - while number_value > 0 do
11 - window:perform_action( wez.action.IncreaseFontSize, pane )
12 - number_value = number_value - 1
13 - end
14 - overrides.enable_tab_bar = false
15 - elseif number_value < 0 then
16 - window:perform_action( wez.action.ResetFontSize, pane )
17 - overrides.font_size = nil
18 - overrides.enable_tab_bar = true
19 - else
20 - overrides.font_size = number_value
21 - overrides.enable_tab_bar = false
22 - end
23 - end
24 - window:set_config_overrides( overrides )
25 - end )
26 -end

wezterm/bugabinga/nugu/init.lua

Modified
33 33 palette.content.minor, -- silver
35 35 brights = {
36 - palette.content.minor, -- grey
37 - palette.error, -- red
38 - palette.info, -- lime
39 - palette.warning, -- yellow
40 - palette.content.unfocus, -- blue
41 - palette.debug, -- fuchsia
42 - palette.content.accent, -- aqua
43 - palette.content.normal, -- white
36 + palette.content.minor, -- grey
37 + palette.error, -- red
38 + palette.info, -- lime
39 + palette.warning, -- yellow
40 + palette.content.unfocus, -- blue
41 + palette.debug, -- fuchsia
42 + palette.content.accent, -- aqua
43 + palette.content.normal, -- white
45 45 -- Arbitrary colors of the palette in the range from 16 to 255
46 46 indexed = {},

wezterm/selene.toml

Deleted
deleted file mode 100644
1 -std = "lua51"

wezterm/stylua.toml

Deleted
deleted file mode 100644
1 -column_width = 120
2 -line_endings = "Unix"
3 -indent_type = "Spaces"
4 -indent_width = 2
5 -quote_style = "AutoPreferSingle"
6 -call_parentheses = "None"

wezterm/wezterm.lua

Modified
11 11 require 'bugabinga.status' ( cfg )
12 12 require 'bugabinga.titles' ( cfg )
13 13 require 'bugabinga.launch' ( cfg )
14 -require 'bugabinga.neovim_zen_mode' ( cfg )
15 14 require 'bugabinga.dotfiles_workspace' ( cfg )
16 15 require 'bugabinga.hosts' ( cfg )