Compare commits

..

17 Commits

3 changed files with 27 additions and 11 deletions

View File

@@ -60,6 +60,7 @@ mapfile -t tools < <(
mapfile -t extratools < <( mapfile -t extratools < <(
gum choose --header="Choose extra tools to install:" --no-limit \ gum choose --header="Choose extra tools to install:" --no-limit \
"General fonts" \
"Godot" \ "Godot" \
"Btop" \ "Btop" \
"Fuzzel" \ "Fuzzel" \
@@ -77,13 +78,15 @@ mapfile -t extratools < <(
## Applying configs ## ## Applying configs ##
###################### ######################
env_to_set=()
for choice in "${desktop[@]}"; do for choice in "${desktop[@]}"; do
case "$choice" in case "$choice" in
"Niri") "Niri")
sudo -v || exit 1 sudo -v || exit 1
yay -S --needed --noconfirm \ yay -S --needed --noconfirm \
niri \ niri \
nautilus \ dolphin \
gnome-keyring \ gnome-keyring \
brightnessctl \ brightnessctl \
cava \ cava \
@@ -101,16 +104,17 @@ for choice in "${desktop[@]}"; do
qt6-multimedia \ qt6-multimedia \
dms-shell-bin \ dms-shell-bin \
xwayland-satellite \ xwayland-satellite \
ly \ ly
noto-fonts-emoji
# greetd-dms-greeter-git # greetd-dms-greeter-git
stow niri qt6ct --adopt stow niri qt6ct --adopt
xdg-mime default org.gnome.nautilus.desktop inode/directory # xdg-mime default org.gnome.nautilus.desktop inode/directory
xdg-mime default org.kde.dolphin.desktop inode/directory
mkdir -p "$HOME"/.config/environment.d mkdir -p "$HOME"/.config/environment.d
echo "QT_QPA_PLATFORMTHEME=qt6ct" >>"$HOME"/.config/environment.d/90-qt.conf # echo "QT_QPA_PLATFORMTHEME=qt6ct" >>"$HOME"/.config/environment.d/90-qt.conf
env_to_set+=("QT_QPA_PLATFORMTHEME=qt6ct")
systemctl --user daemon-reload systemctl --user daemon-reload
systemctl --user enable dms systemctl --user enable dms
@@ -126,7 +130,7 @@ for choice in "${desktop[@]}"; do
yay -S --needed --noconfirm \ yay -S --needed --noconfirm \
hyprland \ hyprland \
uwsm \ uwsm \
nautilus \ dolphin \
gnome-keyring \ gnome-keyring \
brightnessctl \ brightnessctl \
cava \ cava \
@@ -145,15 +149,16 @@ for choice in "${desktop[@]}"; do
qt6-multimedia \ qt6-multimedia \
dms-shell-bin \ dms-shell-bin \
xwayland-satellite \ xwayland-satellite \
ly \ ly
noto-fonts-emoji
stow hyprland qt6ct --adopt stow hyprland qt6ct --adopt
xdg-mime default org.gnome.nautilus.desktop inode/directory # xdg-mime default org.gnome.nautilus.desktop inode/directory
xdg-mime default org.kde.dolphin.desktop inode/directory
mkdir -p "$HOME"/.config/environment.d mkdir -p "$HOME"/.config/environment.d
echo "QT_QPA_PLATFORMTHEME=qt6ct" >>"$HOME"/.config/environment.d/90-qt.conf # echo "QT_QPA_PLATFORMTHEME=qt6ct" >>"$HOME"/.config/environment.d/90-qt.conf
env_to_set+=("QT_QPA_PLATFORMTHEME=qt6ct")
systemctl --user daemon-reload systemctl --user daemon-reload
systemctl --user enable dms systemctl --user enable dms
@@ -221,6 +226,7 @@ for choice in "${tools[@]}"; do
wine \ wine \
protontricks \ protontricks \
protonup-qt \ protonup-qt \
protonplus \
goverlay \ goverlay \
vkbasalt \ vkbasalt \
vulkan-tools vulkan-tools
@@ -281,6 +287,9 @@ extrapkgs=()
for choice in "${extratools[@]}"; do for choice in "${extratools[@]}"; do
case "$choice" in case "$choice" in
"General Fonts")
extrapkgs+=("noto-fonts" "noto-fonts-cjk" "noto-fonts-emoji")
;;
"Godot") "Godot")
extrapkgs+=("godots-bin") extrapkgs+=("godots-bin")
stow godot --adopt stow godot --adopt
@@ -327,6 +336,12 @@ for choice in "${extratools[@]}"; do
esac esac
done done
mkdir -p "$HOME"/.config/environment.d
echo "$(
IFS=$'\n'
printf "%s\n" "${env_to_set[@]}" | sort -u
)" >"$HOME"/.config/environment.d/90-dots.conf
extpkgstr=$( extpkgstr=$(
IFS=" " IFS=" "
echo "${extrapkgs[*]}" echo "${extrapkgs[*]}"

View File

@@ -1,5 +1,5 @@
binds { binds {
Mod+E repeat=false { spawn "nautilus"; } Mod+E repeat=false { spawn "dolphin"; }
xF86AudioPlay { xF86AudioPlay {
spawn-sh "dms ipc call mpris playPause"; spawn-sh "dms ipc call mpris playPause";

View File

@@ -1 +1,2 @@
lazy-lock.json lazy-lock.json
dankcolors.lua