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
2023-05-12 01:08:14 -05:00

14 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"