diff options
Diffstat (limited to 'niri/cfg')
| -rw-r--r-- | niri/cfg/input.kdl | 4 | ||||
| -rw-r--r-- | niri/cfg/layout.kdl | 9 | ||||
| -rw-r--r-- | niri/cfg/monitor.kdl | 17 |
3 files changed, 10 insertions, 20 deletions
diff --git a/niri/cfg/input.kdl b/niri/cfg/input.kdl index 415df3c..f743bfa 100644 --- a/niri/cfg/input.kdl +++ b/niri/cfg/input.kdl @@ -1,12 +1,14 @@ input { + focus-follows-mouse max-scroll-amount="95%" keyboard { xkb { layout "us" + options "caps:escape" // swap caps with escape key } } touchpad { - dwt // palm rejection while typing + dwt // palm rejection while typing tap natural-scroll } diff --git a/niri/cfg/layout.kdl b/niri/cfg/layout.kdl index 7b434b9..1def8da 100644 --- a/niri/cfg/layout.kdl +++ b/niri/cfg/layout.kdl @@ -1,5 +1,5 @@ layout { - gaps 4 + gaps 2 center-focused-column "never" preset-column-widths { @@ -9,11 +9,8 @@ layout { } default-column-width { proportion 0.5; } focus-ring { - width 4 - // active-color "#7fc8ff" - // inactive-color "#505050" - active-gradient from="#80c8ff" to="#c7ff7f" angle=45 - // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view" + width 2 + active-color "#7fc8ff" } border { diff --git a/niri/cfg/monitor.kdl b/niri/cfg/monitor.kdl index 59b9af3..a7e09cb 100644 --- a/niri/cfg/monitor.kdl +++ b/niri/cfg/monitor.kdl @@ -1,18 +1,9 @@ output "eDP-1" { mode "1920x1080@60" // To know the displays run `niri msg outputs` - scale 1.3 // Integer fractional scaling for percentage fractional scaling - // Transform allows to rotate the output counter-clockwise, valid values are: - // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270. + scale 1.25 // Integer fractional scaling for percentage fractional scaling transform "normal" +} - // Position of the output in the global coordinate space. - // This affects directional monitor actions like "focus-monitor-left", and cursor movement. - // The cursor can only move between directly adjacent outputs. - // Output scale and rotation has to be taken into account for positioning: - // outputs are sized in logical, or scaled, pixels. - // For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080, - // so to put another output directly adjacent to it on the right, set its x to 1920. - // If the position is unset or results in an overlap, the output is instead placed - // automatically. - position x=1280 y=0 +output "HDMI-A-1" { + mode "1920x1080@100" } |
