summaryrefslogtreecommitdiff
path: root/.config/niri/cfg
diff options
context:
space:
mode:
Diffstat (limited to '.config/niri/cfg')
-rw-r--r--.config/niri/cfg/input.kdl2
-rw-r--r--.config/niri/cfg/misc.kdl42
-rw-r--r--.config/niri/cfg/rules.kdl73
3 files changed, 61 insertions, 56 deletions
diff --git a/.config/niri/cfg/input.kdl b/.config/niri/cfg/input.kdl
index b897a22..721161c 100644
--- a/.config/niri/cfg/input.kdl
+++ b/.config/niri/cfg/input.kdl
@@ -8,7 +8,7 @@ input {
// uncomment the line below and change the layout accordingly.
layout "us,us"
variant "colemak_dh_iso,"
- options "grp:win_space_toggle"
+ options "grp:win_space_toggle,lv3:ralt_alt,caps:swapescape"
}
numlock // Enable numlock on startup
}
diff --git a/.config/niri/cfg/misc.kdl b/.config/niri/cfg/misc.kdl
index d29d093..0bd247e 100644
--- a/.config/niri/cfg/misc.kdl
+++ b/.config/niri/cfg/misc.kdl
@@ -1,25 +1,25 @@
- prefer-no-csd
- screenshot-path null
+prefer-no-csd
+screenshot-path null
- environment {
- ELECTRON_OZONE_PLATFORM_HINT "auto"
- QT_QPA_PLATFORM "wayland"
- QT_QPA_PLATFORMTHEME "gtk3"
- QT_WAYLAND_DISABLE_WINDOWDECORATION "1"
- XDG_CURRENT_DESKTOP "niri"
- XDG_SESSION_TYPE "wayland"
- }
+environment {
+ ELECTRON_OZONE_PLATFORM_HINT "auto"
+ QT_QPA_PLATFORM "wayland"
+ QT_QPA_PLATFORMTHEME "gtk3"
+ QT_WAYLAND_DISABLE_WINDOWDECORATION "1"
+ XDG_CURRENT_DESKTOP "niri"
+ XDG_SESSION_TYPE "wayland"
+}
- cursor {
- xcursor-theme "BreezeX-RosePine-Linux"
- xcursor-size 24
- }
+cursor {
+ xcursor-theme "BreezeX-RosePine-Linux"
+ xcursor-size 24
+}
- debug {
- // Allows notification actions and window activation from Noctalia.
- honor-xdg-activation-with-invalid-serial
- }
+debug {
+ // Allows notification actions and window activation from Noctalia.
+ honor-xdg-activation-with-invalid-serial
+}
- hotkey-overlay {
- skip-at-startup
- }
+hotkey-overlay {
+ skip-at-startup
+}
diff --git a/.config/niri/cfg/rules.kdl b/.config/niri/cfg/rules.kdl
index 61f9280..825bac4 100644
--- a/.config/niri/cfg/rules.kdl
+++ b/.config/niri/cfg/rules.kdl
@@ -1,42 +1,47 @@
- window-rule {
- open-maximized true
- geometry-corner-radius 12
- clip-to-geometry true
- }
+workspace "web"
+workspace "term"
- // if you use steam you will probably like these
- window-rule {
- match app-id="steam"
- exclude title=r#"^[Ss]team$"#
- open-floating true
- }
+window-rule {
+ open-maximized true
+ geometry-corner-radius 12
+ clip-to-geometry true
+}
- window-rule {
- match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
- default-floating-position x=10 y=10 relative-to="bottom-right"
- open-focused false
- }
+ // if you use steam you will probably like these
+window-rule {
+ match app-id="steam"
+ exclude title=r#"^[Ss]team$"#
+ open-floating true
+}
- workspace "web"
+window-rule {
+ match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
+ default-floating-position x=10 y=10 relative-to="bottom-right"
+ open-focused false
+}
- window-rule {
- match app-id="helium-browser"
- open-on-workspace "web"
- }
+window-rule {
+ match app-id="helium-browser"
+ open-on-workspace "web"
+}
- workspace "term"
+window-rule {
+ match app-id="kitty"
+ open-on-workspace "term"
+}
- window-rule {
- match app-id="kitty"
- open-on-workspace "term"
- }
+window-rule {
+ match app-id="foot"
+ open-on-workspace "term"
+}
- window-rule {
- match app-id="foot"
- open-on-workspace "term"
- }
+window-rule {
+ match app-id=r#"^org\.wezfurlong\.wezterm$"#
+ // default-column-width {}
+ open-on-workspace "term"
+}
- layer-rule {
- match namespace="^noctalia-wallpaper*"
- place-within-backdrop true
- }
+layer-rule {
+ match namespace="^noctalia-wallpaper*"
+ place-within-backdrop true
+}