5 Commits
6 changed files with 42 additions and 4 deletions
+12 -3
View File
@@ -23,6 +23,13 @@ input {
focus-follows-mouse max-scroll-amount="0%"
}
// The top-left hot corner toggles the overview by default; only Mod+O should.
gestures {
hot-corners {
off
}
}
// `niri msg outputs` lists names and modes.
output "eDP-1" {
scale 1.6
@@ -149,6 +156,8 @@ binds {
Mod+W repeat=false { close-window; }
Mod+Q repeat=false { close-window; }
// Mod+Left/Right also serve the MX Master 3's thumb buttons (logid):
// keyd rewrites Meta+arrows to Home/End on real keyboards.
Mod+Left { focus-column-left; }
Mod+Down { focus-window-down; }
Mod+Up { focus-window-up; }
@@ -157,6 +166,9 @@ binds {
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }
Mod+L { focus-column-right; }
// Also the MX Master thumb buttons (logid).
Mod+Page_Down { focus-column-right; }
Mod+Page_Up { focus-column-left; }
Mod+Ctrl+Left { move-column-left; }
Mod+Ctrl+Down { move-window-down; }
@@ -190,9 +202,6 @@ binds {
Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
// Mod+Page_Up/Down are also the MX Master thumb buttons (logid.cfg).
Mod+Page_Down { focus-workspace-down; }
Mod+Page_Up { focus-workspace-up; }
Mod+U { focus-workspace-down; }
Mod+I { focus-workspace-up; }
Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
+5
View File
@@ -29,3 +29,8 @@ enabled = true
action = "screen_off"
timeout = 630
enabled = true
# "clock" is the bar's built-in center widget; e.g. "Mon Nov 30 14:32".
# https://docs.noctalia.dev/noctalia/bar/widgets/clock/
[widget.clock]
format = "{:%a %b %d %H:%M}"
+5 -1
View File
@@ -29,7 +29,9 @@ After that:
## Keyboard (keyd)
`etc/keyd/default.conf` applies to every keyboard except YubiKeys (`etc/keyd/iqunix.conf` covers the IQUNIX MG75, which skips the Alt/Meta swap):
`etc/keyd/default.conf` applies to every keyboard except YubiKeys. The
IQUNIX MG75 (`etc/keyd/iqunix.conf`) skips the Alt/Meta swap; the Glove80
(`etc/keyd/glove80.conf`) keeps only the meta layer:
- Caps Lock and Left Control are swapped.
- Left Alt and Left Meta are swapped, so the key next to space is Meta.
@@ -37,6 +39,8 @@ After that:
Shift+Insert and Ctrl+X, the same as omarchy's Hyprland binds. These work
in GTK/Qt apps, browsers and Electron. Ghostty gets the matching bindings
in `home-modules/ghostty-config.nix`.
- Meta+Left/Right become Home/End, macOS-style. Niri's Mod+arrow binds
never fire as a result; use Mod+H/J/K/L.
To test keyd: `sudo keyd.rvaiya monitor`. To bypass a broken config: press Backspace+Escape+Enter together, which kills keyd.
+3
View File
@@ -21,3 +21,6 @@ leftmeta = layer(alt)
c = C-insert
v = S-insert
x = C-x
# Meta+Left/Right = Home/End, macOS-style.
left = home
right = end
+14
View File
@@ -0,0 +1,14 @@
# Managed by ~/nixos/ubuntu (bootstrap.sh etc). Local edits get overwritten.
# Glove80 over Bluetooth; docked over USB it enumerates with a different id.
# The layout lives in the board's ZMK firmware, so of default.conf keep
# only the meta layer.
[ids]
16c0:27db
# macOS-style clipboard and line navigation, see default.conf.
[meta]
c = C-insert
v = S-insert
x = C-x
left = home
right = end
+3
View File
@@ -14,3 +14,6 @@ leftcontrol = capslock
c = C-insert
v = S-insert
x = C-x
# Meta+Left/Right = Home/End, see default.conf.
left = home
right = end