This commit is contained in:
Never Gude 2025-11-04 23:36:39 +01:00
parent 65a5dfee85
commit 6a49608745
26 changed files with 286 additions and 55 deletions

View file

@ -11,6 +11,7 @@ window-rule {
clip-to-geometry true
}
/*
layer-rule {
match namespace="^quickshell-wallpaper$"
}
@ -21,6 +22,7 @@ layer-rule {
}
spawn-at-startup "qs" "-c" "noctalia-shell"
*/
input {
keyboard {
@ -85,7 +87,7 @@ input {
// Find more information on the wiki:
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
/-output "eDP-1" {
output "eDP-1" {
// Uncomment this line to disable this output.
// off
@ -95,14 +97,14 @@ input {
// 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"
// mode "1920x1080@120.030"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 2
scale 1.25
// 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"
// transform "normal"
// Position of the output in the global coordinate space.
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
@ -113,7 +115,11 @@ input {
// 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
position x=0 y=1081
}
output "HDMI-A-1" {
position x=0 y=0
}
// Settings that influence how windows are positioned and sized.
@ -284,7 +290,7 @@ spawn-at-startup "xwayland-satellite"
environment {
DISPLAY ":0"
GTK_USE_PORTAL "1"
QT_QPA_PLATFORMTHEME "qt6ct"
}
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
@ -375,10 +381,10 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; }
Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; }
Mod+D hotkey-overlay-title="Run an Application: noctalia" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "launcher" "toggle"
Mod+D hotkey-overlay-title="Run an Application: noctalia" { spawn "kitty"
// "--launch-prefix=bash -e /home/never/.config/fuzzel/wrapper.sh";
}
Super+Alt+L hotkey-overlay-title="Lock the Screen: noctalia" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "lockScreen" "toggle"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: noctalia" { spawn "cosmic-greeter"; }
Super+Alt+P hotkey-overlay-title="Open the Power Panel: noctalia" { spawn "qs" "-c" "noctalia-shell" "ipc" "call" "powerPanel" "toggle"; }
// You can also use a shell. Do this if you need pipes, multiple commands, etc.