mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-03 19:24:00 +01:00
feat!: replace zellij with tuios, default to ghostty + kitty (#349)
* feat!: replace zellij with tuios and switch to ghostty + kitty Terminal environment overhaul: - add the tuios flake input (upstream 0.8.5; nixpkgs has 0.8.1) and link the checked-in config out-of-store; auto-start tuios in nushell instead of zellij - remove zellij entirely: both modules, config, README and nushell completions - remove foot and alacritty, which lack the Kitty graphics protocol;
This commit is contained in:
1 parent
a1ec97d3a2
commit
42641e2fdf
33 files changed
+920
-745
No files matched your search
@@ -5,6 +5,5 @@
|
||||
# misc
|
||||
libnotify
|
||||
wireguard-tools # manage wireguard vpn manually, via wg-quick
|
||||
tuios # terminal window manager / multiplexer (trial)
|
||||
];
|
||||
}
|
||||
@@ -13,9 +13,8 @@
|
||||
xdg.autostart.enable = true;
|
||||
# This fixes nixpak sandboxed apps (like firefox) accessing mapped folders correctly
|
||||
xdg.autostart.entries = [
|
||||
"${pkgs.foot}/share/applications/foot.desktop"
|
||||
"${pkgs.alacritty}/share/applications/Alacritty.desktop"
|
||||
"${pkgs.ghostty}/share/applications/com.mitchellh.ghostty.desktop"
|
||||
"${pkgs.kitty}/share/applications/kitty.desktop"
|
||||
|
||||
"${pkgs-master.clash-verge-rev}/share/applications/clash-verge.desktop"
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ binds {
|
||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+Return { spawn "foot"; }
|
||||
Mod+Shift+Return { spawn "alacritty"; }
|
||||
Mod+Return { spawn "ghostty"; }
|
||||
Mod+Shift+Return { spawn "kitty"; }
|
||||
|
||||
// Launcher
|
||||
Mod+D { spawn "noctalia" "msg" "panel-toggle" "launcher"; }
|
||||
|
||||
@@ -2,31 +2,24 @@
|
||||
// Find more information on the wiki:
|
||||
// https://yalter.github.io/niri/Configuration:-Window-Rules
|
||||
|
||||
// Terminal applications - open in workspace 1, with blur
|
||||
// Draw the focus ring as an outline for every window, never as a solid
|
||||
// rectangle behind it. Niri's default paints a `#7fc8ff` block behind the
|
||||
// focused window, which shows through any semitransparent window (e.g. the
|
||||
// terminals) as a solid cyan fill.
|
||||
window-rule {
|
||||
match app-id="foot"
|
||||
open-on-workspace "1terminal"
|
||||
open-maximized true
|
||||
// foot >= 1.26 uses native blur via ext-background-effect,
|
||||
// no compositor-side blur needed
|
||||
draw-border-with-background false
|
||||
}
|
||||
|
||||
// Terminal applications - open in workspace 1
|
||||
window-rule {
|
||||
match app-id="Alacritty"
|
||||
match app-id="kitty"
|
||||
open-on-workspace "1terminal"
|
||||
open-maximized true
|
||||
background-effect {
|
||||
blur true
|
||||
}
|
||||
}
|
||||
window-rule {
|
||||
match app-id="com.mitchellh.ghostty"
|
||||
open-on-workspace "1terminal"
|
||||
open-maximized true
|
||||
// Ghostty native blur via ext-background-effect coming in v1.4;
|
||||
// use compositor-side blur until then
|
||||
background-effect {
|
||||
blur true
|
||||
}
|
||||
}
|
||||
|
||||
// Web browsers - open in workspace 2
|
||||
|
||||
Reference in new issue
Block a user