first pass of hyprland config

This commit is contained in:
2026-10-23 16:17:23 -06:00
parent 2f656c4a9e
commit 2a737ed6df
39 changed files with 1334 additions and 52 deletions
+47
View File
@@ -0,0 +1,47 @@
#
# shared by every desktop session (config/desktop/*/session)
#
case "${XDG_SESSION_TYPE}" in
( x11 | wayland ) ;;
( '' )
echo "ERROR : XDG_SESSION_TYPE must be set to one of 'x11' or 'wayland' (currently unset)" >&2
return 1
;;
( * )
echo "ERROR : XDG_SESSION_TYPE must be 'x11' or 'wayland' (got '${XDG_SESSION_TYPE}')" >&2
return 1
;;
esac
#####################################################################
for PREFERRED_TERMINAL in \
alacritty \
kitty \
;
do
command -v ${PREFERRED_TERMINAL} &>/dev/null \
&& export TERMINAL="$(which ${PREFERRED_TERMINAL})" \
&& break
done
unset PREFERRED_TERMINAL
#####################################################################
for PREFERRED_BROWSER in \
brave \
firefox \
google-chrome-stable \
google-chrome \
;
do
command -v ${PREFERRED_BROWSER} &>/dev/null \
&& export BROWSER="$(which ${PREFERRED_BROWSER})" \
&& break
done
unset PREFERRED_BROWSER
#####################################################################
source "${DOTWRYN}/config/desktop/server/${XDG_SESSION_TYPE}.zsh"
+5
View File
@@ -0,0 +1,5 @@
#
# currently empty; the previous server-level configurations are
# owned by the "Wayland Compositor" instead rather than the server
#
true
+25
View File
@@ -0,0 +1,25 @@
#####################################################################
for XINITRC_FILE in $(find /etc/X11/xinit/xinitrc.d | sort); do source "${XINITRC_FILE}"; done
unset XINITRC_FILE
[ -f "${XDG_CONFIG_HOME:=${HOME}/.config}/X11/xmodmap" ] \
&& xmodmap "${XDG_CONFIG_HOME}/X11/xmodmap"
[ -f "${XDG_CONFIG_HOME}/X11/xkeymap" ] \
&& xkbcomp "${XDG_CONFIG_HOME}/X11/xkeymap" ${DISPLAY}
#####################################################################
for BACKGROUND_APPLICATION in \
apps \
/usr/lib/xfce-polkit/xfce-polkit \
/usr/lib/xfce4/notifyd/xfce4-notifyd \
"${DOTWRYN}/config/local/$(hostnamectl --static)/bin/default" \
;
do
command -v ${BACKGROUND_APPLICATION} && exec ${BACKGROUND_APPLICATION} &
done
#####################################################################
true