summaryrefslogtreecommitdiffstats
path: root/postinstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'postinstall.sh')
-rwxr-xr-xpostinstall.sh16
1 files changed, 8 insertions, 8 deletions
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<Desktops.length;i++) {
d = Desktops[i];
d.wallpaperPlugin = "org.kde.image";
@@ -22,13 +29,6 @@ for (i=0;i<Desktops.length;i++) {
d.writeConfig("Image", "file:///usr/src/theme/1518039301698.png");
}'
-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
-
# put panel on top and set thickness to 24 pixels
kwriteconfig5 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 3 --key location --type string 3
kwriteconfig5 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 8 --key location --type string 3