Build the Panama Hyprland desktop
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# uwsm environment — Hyprland-specific (HYPR* and AQ_*)
|
||||
#
|
||||
# uwsm sources this only for the Hyprland session, after ./env. Keeping the
|
||||
# compositor-specific variables separate means the general env file stays
|
||||
# reusable if another compositor is ever added.
|
||||
#
|
||||
# See ./env for why these live here instead of in hypr/env.lua.
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
# ── GPU selection ────────────────────────────────────────────────────────────
|
||||
# Discrete RX 7800 XT first (it drives DP-2), integrated second so anything
|
||||
# plugged into its outputs still works.
|
||||
#
|
||||
# These are the colon-free stable symlinks created by the udev rule at
|
||||
# config/copy/etc/udev/rules.d/99-panama-gpu.rules -- /dev/dri/cardN numbering
|
||||
# is not stable across boots, and the /dev/dri/by-path/ names contain colons,
|
||||
# which AQ_DRM_DEVICES itself uses as a separator.
|
||||
#
|
||||
# Guarded, because pointing this at a device that does not exist stops Hyprland
|
||||
# from starting at all.
|
||||
if [ -e /dev/dri/amd-dgpu ]; then
|
||||
if [ -e /dev/dri/amd-igpu ]; then
|
||||
export AQ_DRM_DEVICES=/dev/dri/amd-dgpu:/dev/dri/amd-igpu
|
||||
else
|
||||
export AQ_DRM_DEVICES=/dev/dri/amd-dgpu
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user