Add kanshi for automatic monitor layouts

This commit is contained in:
Kay Türtscher 2026-04-17 14:50:42 +02:00
parent 4b313e62e1
commit 91e4602fa3
6 changed files with 28 additions and 1 deletions

View file

@ -28,6 +28,7 @@
- File Manager
- Wallpaper Tool
- Fonts / Nerd Fonts
- Automatisches Monitor-Profiling / Hotplug über `kanshi`
## Externe Referenz
ml4w App Launcher / Installer-Ideen:

View file

@ -11,6 +11,7 @@ Ziel: ein installierbares, reproduzierbares Hyprland Setup für Arch Linux.
- HHD-Stack statt power-profiles-daemon, mit `acpi_call-dkms` für ACPI-Calls
- Hyprland/GTK-Theme-Setup setzt GTK-Dateien, `xfconf` und `gsettings`, damit Apps wie Nemo konsistent dieselben Icons/Themes ziehen
- GTK-Basis aktuell: `Orchis-Dark` plus `Tela-circle-green-dark`
- Monitor-Hotplug aktuell über `kanshi`, damit externe Displays automatisch übernommen werden
- Oh My Posh
- forest cyber / emerald hacker / moody green minimal

View file

@ -1,5 +1,6 @@
exec-once = mako
exec-once = ~/.config/hypr-nepharius/scripts/start-shells.sh
exec-once = ~/.config/hypr-nepharius/scripts/apply-gtk-theme.sh
exec-once = kanshi
exec-once = swww-daemon
exec-once = bash -lc 'sleep 2; ~/.config/hypr-nepharius/scripts/set-animated-wallpaper.sh zelda-totk'

23
config/kanshi/config Normal file
View file

@ -0,0 +1,23 @@
# Generic kanshi baseline for hypr-nepharius.
# This gives automatic hotplug handling without requiring exact monitor names up front.
# Once monitor names are known, replace these generic profiles with host-specific output matches.
profile internal-only {
output eDP-1 enable mode preferred position 0,0 scale 1
}
profile dual-generic {
output eDP-1 enable mode preferred position 0,0 scale 1
output HDMI-A-1 enable mode preferred position 1920,0 scale 1
}
profile dual-generic-dp {
output eDP-1 enable mode preferred position 0,0 scale 1
output DP-1 enable mode preferred position 1920,0 scale 1
}
profile triple-generic {
output eDP-1 enable mode preferred position 0,0 scale 1
output HDMI-A-1 enable mode preferred position 1920,0 scale 1
output DP-1 enable mode preferred position 3840,0 scale 1
}

View file

@ -195,7 +195,7 @@ cleanup_old_shells() {
install_configs() {
log "[7/10] Kopiere Konfigurationen frisch nach ~/.config"
for dir in hypr hyprmod caelestia kitty mako launcher waybar; do
for dir in hypr hyprmod caelestia kitty mako launcher waybar kanshi; do
if [ -d "$REPO_DIR/config/$dir" ]; then
copy_dir "$REPO_DIR/config/$dir" "$CONFIG_DIR/$dir"
echo " copied: ~/.config/$dir"

View file

@ -1,4 +1,5 @@
hyprland
kanshi
kitty
hyprlock
hypridle