Update 2026-01-27

This commit is contained in:
2026-01-27 20:50:06 +02:00
parent 8c606045e1
commit 2424bd8153
34 changed files with 2632 additions and 5066 deletions

View File

@@ -4,19 +4,19 @@
// https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
workspace "browser" {
open-on-output "DP-1"
open-on-output "DP-2"
}
workspace "terminal" {
open-on-output "DP-1"
open-on-output "DP-2"
}
workspace "chat" {
open-on-output "HDMI-A-1"
open-on-output "DP-1"
}
workspace "music" {
open-on-output "HDMI-A-1"
open-on-output "DP-1"
}
environment {
@@ -81,7 +81,7 @@ cursor {
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
output "DP-1" {
output "DP-2" {
// Uncomment this line to disable this output.
// off
@@ -91,7 +91,7 @@ output "DP-1" {
// 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@74.973"
mode "2560x1440@180.002"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 1
@@ -111,20 +111,21 @@ output "DP-1" {
// automatically.
position x=0 y=0
variable-refresh-rate on-demand=false
focus-at-startup
variable-refresh-rate on-demand=true
background-color "#000"
backdrop-color "#000"
}
output "HDMI-A-1" {
// off
mode "1920x1080@60.000"
output "DP-1" {
mode "1920x1080@74.973"
scale 1
transform "normal"
position x=-1920 y=0
position x=-1920 y=180
variable-refresh-rate on-demand=false
focus-at-startup
background-color "#000"
backdrop-color "#000"
}
@@ -467,8 +468,8 @@ binds {
// Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked.
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume $(get-spotify-id) 0.01+"; }
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume $(get-spotify-id) 0.01-"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume $(get-spotify-id) 0.02+"; }
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume $(get-spotify-id) 0.02-"; }
XF86AudioMute allow-when-locked=true { spawn "sp" "play"; }
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
Page_Down allow-when-locked=true {spawn "sp" "next"; }