Compare commits
No commits in common. "ae904436f0614a0b3e289b5b506d6c034592e859" and "f79128b1a6707407af14e29900529fcdae91b7a1" have entirely different histories.
ae904436f0
...
f79128b1a6
@ -1,11 +1,9 @@
|
||||
# ABOUTME: greetd-Konfiguration fuer Moonarch.
|
||||
# ABOUTME: Startet Niri als Compositor fuer den Moongreet-Greeter.
|
||||
# ABOUTME: Startet moongreet als Wayland-Greeter via gtk4-layer-shell.
|
||||
|
||||
[terminal]
|
||||
vt = 1
|
||||
|
||||
[default_session]
|
||||
# Moongreet braucht einen Wayland-Compositor — niri stellt diesen bereit.
|
||||
# Siehe niri-greeter.kdl fuer die Compositor-Konfiguration.
|
||||
command = "niri -c /etc/greetd/niri-greeter.kdl"
|
||||
command = "moongreet"
|
||||
user = "greeter"
|
||||
|
||||
@ -1,59 +0,0 @@
|
||||
// ABOUTME: Niri-Konfiguration fuer den Moongreet Login-Greeter.
|
||||
// ABOUTME: Wird von greetd gestartet — minimale Config ohne Keybinds fuer Sicherheit.
|
||||
|
||||
input {
|
||||
keyboard {
|
||||
xkb {
|
||||
layout "de"
|
||||
}
|
||||
numlock
|
||||
}
|
||||
|
||||
touchpad {
|
||||
tap
|
||||
natural-scroll
|
||||
}
|
||||
|
||||
mouse {
|
||||
accel-profile "flat"
|
||||
}
|
||||
}
|
||||
|
||||
cursor {
|
||||
xcursor-theme "Sweet-cursors"
|
||||
}
|
||||
|
||||
layout {
|
||||
gaps 0
|
||||
|
||||
focus-ring {
|
||||
off
|
||||
}
|
||||
|
||||
border {
|
||||
off
|
||||
}
|
||||
}
|
||||
|
||||
// Moongreet starten und niri beenden, sobald moongreet sich schliesst.
|
||||
// Retry-Loop stellt sicher, dass niri auch bei fruehen Crashes von moongreet beendet wird.
|
||||
spawn-sh-at-startup "moongreet; while ! niri msg action quit --skip-confirmation 2>/dev/null; do sleep 0.5; done"
|
||||
|
||||
// Greeter-Fenster maximiert darstellen
|
||||
window-rule {
|
||||
open-maximized true
|
||||
}
|
||||
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
}
|
||||
|
||||
prefer-no-csd
|
||||
|
||||
animations {
|
||||
off
|
||||
}
|
||||
|
||||
binds {
|
||||
// Keine Keybinds — verhindert Zugriff auf Terminals oder andere Aktionen
|
||||
}
|
||||
@ -1,78 +0,0 @@
|
||||
# Stasis idle manager configuration for Moonarch
|
||||
# Manages screen dimming, DPMS, lock, and suspend timers
|
||||
|
||||
@author "Moonarch"
|
||||
@description "Idle management for Moonarch (Niri + moonlock)"
|
||||
|
||||
default:
|
||||
# Media playback inhibits idle (non-browser only, browser uses D-Bus inhibit)
|
||||
monitor_media true
|
||||
ignore_remote_media true
|
||||
|
||||
# App/process inhibit patterns (apps that don't use D-Bus idle-inhibit)
|
||||
inhibit_apps [
|
||||
"vlc"
|
||||
"mpv"
|
||||
"celluloid"
|
||||
r"steam_app_.*"
|
||||
"gamescope"
|
||||
"virt-manager"
|
||||
"qemu"
|
||||
"obs"
|
||||
"kdenlive"
|
||||
"handbrake"
|
||||
"blender"
|
||||
]
|
||||
|
||||
# Lid actions (laptop only)
|
||||
lid_close_action "moonlock"
|
||||
lid_open_action ""
|
||||
|
||||
# AC power plan (relaxed)
|
||||
ac:
|
||||
brightness:
|
||||
timeout 300
|
||||
command "brightnessctl set 50%"
|
||||
end
|
||||
|
||||
dpms:
|
||||
timeout 120
|
||||
command "niri msg action power-off-monitors"
|
||||
resume_command "niri msg action power-on-monitors"
|
||||
end
|
||||
|
||||
lock_screen:
|
||||
timeout 180
|
||||
command "moonlock"
|
||||
end
|
||||
|
||||
suspend:
|
||||
timeout 600
|
||||
command "systemctl suspend"
|
||||
end
|
||||
end
|
||||
|
||||
# Battery plan (aggressive)
|
||||
battery:
|
||||
brightness:
|
||||
timeout 60
|
||||
command "brightnessctl set 30%"
|
||||
end
|
||||
|
||||
dpms:
|
||||
timeout 30
|
||||
command "niri msg action power-off-monitors"
|
||||
resume_command "niri msg action power-on-monitors"
|
||||
end
|
||||
|
||||
lock_screen:
|
||||
timeout 60
|
||||
command "moonlock"
|
||||
end
|
||||
|
||||
suspend:
|
||||
timeout 120
|
||||
command "systemctl suspend"
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user