summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_systemstart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-system/lh_systemstart.sh')
-rwxr-xr-xlinhes/linhes-system/lh_systemstart.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/linhes/linhes-system/lh_systemstart.sh b/linhes/linhes-system/lh_systemstart.sh
new file mode 100755
index 0000000..cd32cdf
--- /dev/null
+++ b/linhes/linhes-system/lh_systemstart.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+. /etc/profile
+#. /etc/systemconfig
+
+function msg(){
+ /usr/bin/notify-send --app-name="LinHES" --icon=dialog-information "$1" "$2"
+}
+
+function applyUIsettings(){
+ plasma-apply-wallpaperimage /usr/share/linhes/templates/lights-bud-abstract-4k-cq.jpg &
+ plasma-apply-colorscheme BreezeDark &
+ kwriteconfig5 --group KDE --key SingleClick false
+ kwriteconfig5 --file ~/.config/kscreenlockerrc --group Daemon --key Autolock false
+ kwriteconfig5 --file ~/.config/kscreenlockerrc --group Daemon --key LockOnResume false
+ cp /usr/share/linhes/templates/plasma-org.kde.plasma.desktop-appletsrc ~/.config/
+ #restart plasma
+ kquitapp5 plasmashell
+ kstart5 plasmashell
+ #disable file indexing
+ balooctl disable &
+}
+
+
+
+#-------MAIN-------
+/usr/bin/enableIRWake.sh &
+msg "Welcome to LinHES 9!"
+applyUIsettings