From 161bfa8ebbdae89ab846a0d43915dedb8fde375b Mon Sep 17 00:00:00 2001 From: Kyle K Date: Tue, 28 Apr 2020 13:04:56 -0500 Subject: prep for initial release --- install.sh | 1 + postinstall.sh | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index 4f8d738..f6a0841 100755 --- a/install.sh +++ b/install.sh @@ -166,6 +166,7 @@ sed -i -r "s/^NTHREADS=\"([^\"]*)\"$/NTHREADS=\"\$NCORES\"/g" /etc/portage/make. sed -i "s/gentoox/$hostname/g" /etc/conf.d/hostname sed -i "s/gentoox/$hostname/g" /etc/hosts +sed -i "s/haxx.dafuq/$domainname/g" /etc/hosts sed -i "s/haxx.dafuq/$domainname/g" /etc/conf.d/net yes $rootpassword | passwd root if [[ $username != "gentoox" ]]; then diff --git a/postinstall.sh b/postinstall.sh index 7656719..f47cc9e 100755 --- a/postinstall.sh +++ b/postinstall.sh @@ -10,9 +10,16 @@ ln -s /usr/share/applications/mpv.desktop ~/Desktop/ ln -s /usr/share/applications/steam.desktop ~/Desktop/ flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo +X_RES=$(xdpyinfo | awk '/dimensions/{print $2}' | tr 'x' ' ' | awk '{print $1}') +Y_RES=$(xdpyinfo | awk '/dimensions/{print $2}' | tr 'x' ' ' | awk '{print $2}') + +# install and apply GentooX theme +kpackagetool5 -i "/usr/src/theme/GentooX Breeze Dark Transparent.tar.gz" +lookandfeeltool --apply GentooX --resetLayout + # set wallpaper dbus-send --session --dest=org.kde.plasmashell --type=method_call /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string: -var Desktops = desktops(); +var Desktops = desktops(); for (i=0;i