niri: swap roles for ghostty and kitty & ghostty: ghostty-capture
This commit is contained in:
@@ -162,6 +162,9 @@ spawn-at-startup "hypridle"
|
||||
// QuickShell
|
||||
spawn-at-startup "quickshell"
|
||||
|
||||
// According to (https://ghostty.org/docs/linux/systemd#starting-ghostty-at-login)
|
||||
spawn-sh-at-startup "systemctl start --user app-com.mitchellh.ghostty.service"
|
||||
|
||||
/************************Envs************************/
|
||||
|
||||
environment {
|
||||
@@ -209,16 +212,16 @@ window-rule {
|
||||
|
||||
// FLoating terminal
|
||||
window-rule {
|
||||
match app-id="com.mitchellh.ghostty"
|
||||
match app-id="kitty"
|
||||
open-floating true
|
||||
default-column-width { proportion 0.5; }
|
||||
}
|
||||
|
||||
// Normal terminal
|
||||
// window-rule {
|
||||
// match app-id="kitty"
|
||||
// default-column-width { proportion 0.3; }
|
||||
// }
|
||||
window-rule {
|
||||
match app-id="com.mitchellh.ghostty"
|
||||
default-column-width { proportion 0.3; }
|
||||
}
|
||||
|
||||
// Scrcpy
|
||||
window-rule {
|
||||
@@ -315,11 +318,11 @@ binds {
|
||||
Mod+E { spawn "dolphin" "--new-window"; }
|
||||
Mod+W { spawn-sh "zen || zen-browser"; }
|
||||
Mod+X { spawn "gnome-text-editor" "--new-window"; }
|
||||
Mod+B { spawn-sh "pkill -x -n btop || ghostty -e btop"; }
|
||||
Mod+T { spawn "kitty"; }
|
||||
Mod+Return { spawn "kitty"; }
|
||||
Mod+Shift+T { spawn "ghostty"; }
|
||||
Mod+Shift+Return { spawn "ghostty"; }
|
||||
Mod+B { spawn-sh "pkill -x -n btop || kitty -e btop"; }
|
||||
Mod+T { spawn "ghostty" "+new-window"; }
|
||||
Mod+Return { spawn "ghostty" "+new-window"; }
|
||||
Mod+Shift+T { spawn "kitty"; }
|
||||
Mod+Shift+Return { spawn "kitty"; }
|
||||
Mod+Shift+W { spawn "wallpaper-carousel"; }
|
||||
Mod+O { spawn-sh "pkill -x -n pwvucontrol || pwvucontrol"; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user