summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_system_start.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2022-11-21 23:55:54 (GMT)
committerBritney Fransen <brfransen@gmail.com>2022-11-21 23:55:54 (GMT)
commit486d378d01d90b22eecb8973317046f78a78dafd (patch)
treeb58acd18fe78f272a1fc220c9fde5d3e65d38a0f /linhes/linhes-system/lh_system_start.sh
parentf5b1d6dd7ade04eddd4ce85856efb30ef1072466 (diff)
downloadlinhes_pkgbuild-486d378d01d90b22eecb8973317046f78a78dafd.zip
linhes_pkgbuild-486d378d01d90b22eecb8973317046f78a78dafd.tar.gz
linhes_pkgbuild-486d378d01d90b22eecb8973317046f78a78dafd.tar.bz2
linhes-system: rename startup
Diffstat (limited to 'linhes/linhes-system/lh_system_start.sh')
-rwxr-xr-xlinhes/linhes-system/lh_system_start.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh
new file mode 100755
index 0000000..887edd8
--- /dev/null
+++ b/linhes/linhes-system/lh_system_start.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