diff options
| author | Pavel Egorov <[email protected]> | 2025-12-16 05:03:05 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-12-16 05:03:05 +0300 |
| commit | 4cae51308aa8625dc2b482e5c36c58d6168b9fc1 (patch) | |
| tree | 41e39409e76498200a3554f92e0854fc94a6b8d3 /.config/niri/config.kdl | |
| parent | a3f41d2e86fc079717ba63b6f86239db6d044650 (diff) | |
| parent | 2db38a695fc0483056d59fdc772c277a54303fe7 (diff) | |
| download | dotfiles-4cae51308aa8625dc2b482e5c36c58d6168b9fc1.tar.gz dotfiles-4cae51308aa8625dc2b482e5c36c58d6168b9fc1.zip | |
Merge branch 'niri'
Diffstat (limited to '.config/niri/config.kdl')
| -rw-r--r-- | .config/niri/config.kdl | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl new file mode 100644 index 0000000..cc2efef --- /dev/null +++ b/.config/niri/config.kdl | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | // This config is in the KDL format: https://kdl.dev | ||
| 2 | // "/-" comments out the following node. | ||
| 3 | // Check the wiki for a full description of the configuration: | ||
| 4 | // https://yalter.github.io/niri/Configuration:-Introduction | ||
| 5 | |||
| 6 | include "input.kdl" | ||
| 7 | include "output.kdl" | ||
| 8 | include "layout.kdl" | ||
| 9 | include "binds.kdl" | ||
| 10 | include "windows.kdl" | ||
| 11 | |||
| 12 | |||
| 13 | // Add lines like this to spawn processes at startup. | ||
| 14 | // Note that running niri as a session supports xdg-desktop-autostart, | ||
| 15 | // which may be more convenient to use. | ||
| 16 | // See the binds section below for more spawn examples. | ||
| 17 | |||
| 18 | spawn-sh-at-startup "vicinae server" | ||
| 19 | spawn-sh-at-startup "gammastep" | ||
| 20 | |||
| 21 | // To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup: | ||
| 22 | // spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell" | ||
| 23 | |||
| 24 | hotkey-overlay { | ||
| 25 | skip-at-startup | ||
| 26 | hide-not-bound | ||
| 27 | } | ||
| 28 | |||
| 29 | // Uncomment this line to ask the clients to omit their client-side decorations if possible. | ||
| 30 | // If the client will specifically ask for CSD, the request will be honored. | ||
| 31 | // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. | ||
| 32 | // This option will also fix border/focus ring drawing behind some semitransparent windows. | ||
| 33 | // After enabling or disabling this, you need to restart the apps for this to take effect. | ||
| 34 | prefer-no-csd | ||
| 35 | |||
| 36 | // You can change the path where screenshots are saved. | ||
| 37 | // A ~ at the front will be expanded to the home directory. | ||
| 38 | // The path is formatted with strftime(3) to give you the screenshot date and time. | ||
| 39 | screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" | ||
| 40 | |||
| 41 | // You can also set this to null to disable saving screenshots to disk. | ||
| 42 | // screenshot-path null | ||
| 43 | |||
| 44 | // Animation settings. | ||
| 45 | // The wiki explains how to configure individual animations: | ||
| 46 | // https://yalter.github.io/niri/Configuration:-Animations | ||
| 47 | animations { | ||
| 48 | // Uncomment to turn off all animations. | ||
| 49 | // off | ||
| 50 | |||
| 51 | // Slow down all animations by this factor. Values below 1 speed them up instead. | ||
| 52 | // slowdown 3.0 | ||
| 53 | } | ||
| 54 | |||
| 55 | cursor { | ||
| 56 | xcursor-theme "breeze_cursors" | ||
| 57 | } | ||
| 58 | |||
