updates and stuff

This commit is contained in:
nora 2025-09-06 21:38:17 +02:00
parent 0700f17b90
commit b8dece5c02
3 changed files with 45 additions and 31 deletions

View file

@ -14,6 +14,7 @@ input {
// For example:
layout "ch"
options "compose:rctrl"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
}
}
@ -96,6 +97,10 @@ input {
position x=1280 y=0
}
output "Samsung Electric Company LC27G7xT H1AK500000" {
variable-refresh-rate
}
// Settings that influence how windows are positioned and sized.
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
@ -246,9 +251,7 @@ 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.
spawn-at-startup "xwayland-satellite"
environment {
DISPLAY ":0"
ELECTRON_OZONE_PLATFORM_HINT "auto"
}
@ -257,7 +260,7 @@ environment {
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
// This option will also fix border/focus ring drawing behind some semitransparent windows.
// After enabling or disabling this, you need to restart the apps for this to take effect.
// prefer-no-csd
prefer-no-csd
// You can change the path where screenshots are saved.
// A ~ at the front will be expanded to the home directory.
@ -320,6 +323,17 @@ window-rule {
clip-to-geometry true
}
window-rule {
match app-id="Spotify"
open-on-output "Samsung Electric Company SMS24A450/460 HVMBA01140"
}
window-rule {
match app-id="discord"
open-on-output "Lenovo Group Limited LEN G25-10 U4B30R14"
}
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

View file

@ -88,7 +88,7 @@
format = " {status}";
format-disabled = ""; # an empty format will hide the module
format-connected = " {num_connections} connected";
on-click = lib.getExe pkgs.blueberry;
on-click = lib.getExe' "blueberry" pkgs.blueberry;
};
pulseaudio = {
# "scroll-step": 1, // %, can be a float