diff --git a/niri/config.kdl b/niri/config.kdl index 215c72a..f5d94c3 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -14,7 +14,7 @@ input { // For example: // layout "us,ru" - // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" + options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" } // Enable numlock on startup, omitting this setting disables it. @@ -211,13 +211,13 @@ layout { // radius. It has to assume that windows have square corners, leading to // shadow artifacts inside the CSD rounded corners. This setting fixes // those artifacts. - // + // // However, instead you may want to set prefer-no-csd and/ors // geometry-corner-radius. Then, niri will know the corner radius and // draw the shadow correctly, without having to draw it behind the // window. These will also remove client-side shadows if the window // draws any. - // + // // draw-behind-window true // You can change how shadows look. The values below are in logical @@ -254,8 +254,8 @@ layout { // See the binds section below for more spawn examples. // This line starts waybar, a commonly used bar for Wayland compositors. -spawn-at-startup "ags run --gtk 3" - +spawn-at-startup "waybar" +spawn-at-startup "hyprpaper" // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. @@ -277,9 +277,8 @@ screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" animations { // Uncomment to turn off all animations. // off - // Slow down all animations by this factor. Values below 1 speed them up instead. - // slowdown 3.0 + // slowdown 2.0 } // Window rules let you adjust behavior for individual windows. @@ -317,6 +316,17 @@ window-rule { // block-out-from "screencast" } +window-rule { + match app-id=r#"kitty$"# + opacity 0.9 +} + +environment { + QT_QPA_PLATFORM "wayland" + DISPLAY ":0" + EDITOR "zed" +} + // Example: enable rounded corners for all windows. // (This example rule is commented out with a "/-" in front.) window-rule { @@ -324,6 +334,10 @@ window-rule { clip-to-geometry true } +hotkey-overlay { + skip-at-startup +} + binds { // Keys consist of modifiers separated by + signs, followed by an XKB key name // in the end. To find an XKB name for a particular key, you may use a program @@ -341,6 +355,7 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; } + Mod+T hotkey-overlay-title="Open a File Manager: Thunar" { spawn "thunar"; } Mod+D hotkey-overlay-title="Run an Application: rofi" { spawn "~/dotfiles/rofi/launcher/launcher.sh"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }