fix laptop setup

- adds auto-mounting of external drives with udiskie
- disables suspend, replaces it with hibernation
- disables alt+arrow keys switching between tty sessions
- other misc changes to rice + configs
This commit is contained in:
greyweather committed 2026-07-11 11:57:35 +01:00
1 parent 988e5664ef
commit acc0712fcb
6 files changed
+107 -37

No files matched your search

+11 -4
View File
@@ -70,16 +70,19 @@ binds {
Mod+B { spawn "floorp"; }
Mod+C { spawn "gnome-calculator"; }
Mod+D { spawn "noctalia" "msg" "panel-toggle" "launcher"; }
Mod+E { spawn "nautilus"; }
Mod+E { spawn "nautilus" "-w"; }
Mod+Return { spawn "kitty"; }
Mod+O { spawn "obsidian"; }
Mod+Z { spawn "kitty" "nh" "os" "switch" "./nixos"; }
Mod+Space { toggle-overview; }
Mod+Q { close-window; }
Mod+F { fullscreen-window; }
Mod+F { maximize-window-to-edges; }
Mod+Shift+F { fullscreen-window; }
Mod+Shift+E { quit; }
Mod+L { spawn "noctalia" "msg" "session" "lock"; }
Mod+Shift+D { spawn "noctalia" "msg" "desktop-widgets-edit"; }
Mod+Shift+B { spawn "noctalia" "msg" "settings-open" "bar"; }
Mod+Shift+S { spawn "noctalia" "msg" "settings-open"; }
@@ -113,6 +116,7 @@ binds {
XF86WLAN { spawn-sh "rfkill toggle 0 || rfkill toggle 1"; }
XF86NotificationCenter { spawn "noctalia" "msg" "panel-toggle" "control-center" "notifications"; }
XF86Display { toggle-overview; }
Print { screenshot; }
}
spawn-at-startup "noctalia"
window-rule {
@@ -124,10 +128,13 @@ window-rule {
match app-id="^floorp$"
match app-id="^code$"
match app-id="^obsidian$"
default-column-width { proportion 1.000000; }
open-maximized-to-edges true
}
window-rule {
match app-id="^kitty$"
default-column-width { proportion 0.660000; }
default-column-width { proportion 0.7; }
}
gestures { hot-corners { off; }; }
switch-events {
lid-close { spawn "bash" "-c" "noctalia msg session lock && systemctl hibernate"; }
}