This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/bin/wm

15 lines
269 B
Bash
Executable File

#!/usr/bin/env sh
# exec "$(dirname "$0")/../sway/init"
c="$HOME/.config"
ev="$c/hypr/hyprland.conf"
ee="$c/lytedev-env"
for e in "host-desktop" "host-laptop"; do
f="$ee/$e/hyprland.d.conf"
[ -f "$f" ] && c="$f"
done
echo "Using config $c"
exec Hyprland -c "$c"