mirror of
https://github.com/rwinkhart/artix-install-script.git
synced 2026-09-02 23:17:32 -04:00
Added wayland-protocols, moved environment variabes to bash_profile
This commit is contained in:
+2
-2
@@ -122,12 +122,12 @@ chmod 755 /home/"$username"/{.config,.local/share}
|
|||||||
|
|
||||||
# installing desktop environment and addons + utilities
|
# installing desktop environment and addons + utilities
|
||||||
if [ "$desktop" != 0 ]; then
|
if [ "$desktop" != 0 ]; then
|
||||||
pacman -S pipewire pipewire-pulse pipewire-jack pipewire-alsa wireplumber polkit micro bluez-openrc --needed --noconfirm
|
pacman -S pipewire pipewire-pulse pipewire-jack pipewire-alsa wireplumber wayland-protocols polkit micro bluez-openrc --needed --noconfirm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## KDE Plasma
|
## KDE Plasma
|
||||||
if [ "$desktop" == 1 ]; then
|
if [ "$desktop" == 1 ]; then
|
||||||
pacman -S plasma-desktop plasma-wayland-session kscreen kdeplasma-addons spectacle gwenview plasma-nm plasma-pa breeze-gtk kde-gtk-config kio-extras khotkeys kwalletmanager yakuake ark kate bluedevil pcmanfm-qt --needed --noconfirm
|
pacman -S plasma-desktop plasma-wayland-session plasma-wayland-protocols kscreen kdeplasma-addons spectacle gwenview plasma-nm plasma-pa breeze-gtk kde-gtk-config kio-extras khotkeys kwalletmanager yakuake ark kate bluedevil pcmanfm-qt --needed --noconfirm
|
||||||
echo -e "if [ -z \$DISPLAY ] && [ "\$\(tty\)" = "/dev/tty1" ]; then exec dbus-run-session startplasma-wayland; fi" >> /home/"$username"/.bash_profile
|
echo -e "if [ -z \$DISPLAY ] && [ "\$\(tty\)" = "/dev/tty1" ]; then exec dbus-run-session startplasma-wayland; fi" >> /home/"$username"/.bash_profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
#
|
||||||
|
# ~/.bash_profile
|
||||||
|
#
|
||||||
|
|
||||||
|
#[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
#if [ -z ${DISPLAY} ] && [ ${XDG_VTNR} -eq 1 ]; then exec startx; fi
|
||||||
|
|
||||||
|
# WAYLAND ENV
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
export WAYLAND_PROTOCOLS_DATADIR="/usr/share/wayland-protocols"
|
||||||
|
|
||||||
|
# XDG ENV
|
||||||
|
export XDG_DATA_HOME="$HOME"/.local/share
|
||||||
|
export XDG_CONFIG_HOME="$HOME"/.config
|
||||||
|
export XDG_STATE_HOME="$HOME"/.local/state
|
||||||
|
export XDG_CACHE_HOME="$HOME"/.cache
|
||||||
|
|
||||||
|
# DOTFILE MANAGEMENT
|
||||||
|
export HISTFILE="${XDG_STATE_HOME}"/bash/history
|
||||||
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
||||||
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
|
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
|
||||||
|
|
||||||
|
export EDITOR=micro
|
||||||
|
export BUILDDIR=/tmp/makepkg
|
||||||
|
export HISTSIZE=10000
|
||||||
|
export HISTFILESIZE=100000
|
||||||
@@ -15,20 +15,3 @@ alias poweroff='doas /usr/bin/poweroff'
|
|||||||
alias reboot='doas /usr/bin/reboot'
|
alias reboot='doas /usr/bin/reboot'
|
||||||
|
|
||||||
PS1='\[\e[36m\]\u\[\e[0m\]@\[\e[36m\]\h:\[\e[0m\]\W\[\e[36m\]|$\[\e[0m\] '
|
PS1='\[\e[36m\]\u\[\e[0m\]@\[\e[36m\]\h:\[\e[0m\]\W\[\e[36m\]|$\[\e[0m\] '
|
||||||
|
|
||||||
# XDG EXPORT
|
|
||||||
export XDG_DATA_HOME="$HOME"/.local/share
|
|
||||||
export XDG_CONFIG_HOME="$HOME"/.config
|
|
||||||
export XDG_STATE_HOME="$HOME"/.local/state
|
|
||||||
export XDG_CACHE_HOME="$HOME"/.cache
|
|
||||||
|
|
||||||
# DOTFILE MANAGEMENT
|
|
||||||
export HISTFILE="${XDG_STATE_HOME}"/bash/history
|
|
||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
|
|
||||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
|
||||||
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
|
|
||||||
|
|
||||||
export EDITOR=micro
|
|
||||||
export BUILDDIR=/tmp/makepkg
|
|
||||||
export HISTSIZE=10000
|
|
||||||
export HISTFILESIZE=100000
|
|
||||||
|
|||||||
Reference in New Issue
Block a user