Assorted changes
This commit is contained in:
parent
f94fd70f07
commit
98075810bf
17 changed files with 206 additions and 191 deletions
|
|
@ -1,21 +1,8 @@
|
|||
include "colours.kdl"
|
||||
include "host-specific.kdl"
|
||||
|
||||
input {
|
||||
keyboard {
|
||||
xkb {
|
||||
// You can set rules, model, layout, variant and options.
|
||||
// For more information, see xkeyboard-config(7).
|
||||
|
||||
// For example:
|
||||
// layout "us,ru"
|
||||
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
|
||||
|
||||
// If this section is empty, niri will fetch xkb settings
|
||||
// from org.freedesktop.locale1. You can control these using
|
||||
// localectl set-x11-keymap.
|
||||
}
|
||||
|
||||
// Enable numlock on startup, omitting this setting disables it.
|
||||
numlock
|
||||
}
|
||||
|
||||
|
|
@ -63,46 +50,7 @@ input {
|
|||
focus-follows-mouse max-scroll-amount="100%"
|
||||
}
|
||||
|
||||
// You can configure outputs by their name, which you can find
|
||||
// by running `niri msg outputs` while inside a niri instance.
|
||||
// The built-in laptop monitor is usually called "eDP-1".
|
||||
// Find more information on the wiki:
|
||||
// https://yalter.github.io/niri/Configuration:-Outputs
|
||||
// Remember to uncomment the node by removing "/-"!
|
||||
/-output "eDP-1" {
|
||||
// Uncomment this line to disable this output.
|
||||
// off
|
||||
|
||||
// Resolution and, optionally, refresh rate of the output.
|
||||
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
|
||||
// If the refresh rate is omitted, niri will pick the highest refresh rate
|
||||
// for the resolution.
|
||||
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
|
||||
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
|
||||
mode "1920x1080@120.030"
|
||||
|
||||
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
|
||||
scale 2
|
||||
|
||||
// Transform allows to rotate the output counter-clockwise, valid values are:
|
||||
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
|
||||
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
|
||||
}
|
||||
|
||||
// Settings that influence how windows are positioned and sized.
|
||||
// Find more information on the wiki:
|
||||
// https://yalter.github.io/niri/Configuration:-Layout
|
||||
layout {
|
||||
// Set gaps around windows in logical pixels.
|
||||
gaps 16
|
||||
|
|
@ -113,13 +61,14 @@ layout {
|
|||
//
|
||||
// Certain apps that support the KDE blur protocol may blur themselves as well.
|
||||
blur {
|
||||
on
|
||||
noise 0.1
|
||||
passes 2
|
||||
radius 6
|
||||
|
||||
// Sensible default, gets applied to blurred layer surfaces, as most of the
|
||||
// time, the actual surface is bigger than what is rendered on screen.
|
||||
ignore-alpha 0.8
|
||||
// ignore-alpha 0.8
|
||||
}
|
||||
|
||||
// When to center a column when changing focus, options are:
|
||||
|
|
@ -259,9 +208,11 @@ layout {
|
|||
// Note that running niri as a session supports xdg-desktop-autostart,
|
||||
// which may be more convenient to use.
|
||||
// See the binds section below for more spawn examples.
|
||||
|
||||
environment {
|
||||
QT_QPA_PLATFORMTHEME "qt5ct"
|
||||
}
|
||||
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||
spawn-sh-at-startup "/home/ceres/.caelestia/niri/random-wallpaper.sh"
|
||||
spawn-sh-at-startup "/home/ceres/.dots/niri/random-wallpaper.sh"
|
||||
spawn-sh-at-startup "qs -c shell"
|
||||
spawn-sh-at-startup "echo start | sudo tee /sys/class/remoteproc/remoteproc0/state"
|
||||
|
||||
|
|
@ -358,6 +309,9 @@ window-rule {
|
|||
draw-border-with-background false
|
||||
blur {
|
||||
on
|
||||
noise 0.1
|
||||
passes 2
|
||||
radius 6
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -523,11 +477,11 @@ binds {
|
|||
// Toggle tabbed tile display mode.
|
||||
// Windows can be moved into or out of this tile using the
|
||||
// `move-window-into-or-out-of-group` action; example:
|
||||
Mod+G { toggle-group; }
|
||||
Mod+Alt+H { move-window-into-or-out-of-group "left"; }
|
||||
Mod+Alt+L { move-window-into-or-out-of-group "right"; }
|
||||
Mod+Alt+K { move-window-into-or-out-of-group "up"; }
|
||||
Mod+Alt+J { move-window-into-or-out-of-group "down"; }
|
||||
// Mod+G { toggle-group; }
|
||||
// Mod+Alt+H { move-window-into-or-out-of-group "left"; }
|
||||
// Mod+Alt+L { move-window-into-or-out-of-group "right"; }
|
||||
// Mod+Alt+K { move-window-into-or-out-of-group "up"; }
|
||||
// Mod+Alt+J { move-window-into-or-out-of-group "down"; }
|
||||
|
||||
// Actions to switch layouts.
|
||||
// Note: if you uncomment these, make sure you do NOT have
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue