From 486d378d01d90b22eecb8973317046f78a78dafd Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 21 Nov 2022 18:55:54 -0500
Subject: linhes-system: rename startup

---
 linhes/linhes-system/PKGBUILD                   | 12 +++++-----
 linhes/linhes-system/lh_system_start.sh         | 29 +++++++++++++++++++++++++
 linhes/linhes-system/lh_system_start.sh.desktop |  7 ++++++
 linhes/linhes-system/lh_systemstart.sh          | 29 -------------------------
 linhes/linhes-system/lh_systemstart.sh.desktop  |  7 ------
 5 files changed, 42 insertions(+), 42 deletions(-)
 create mode 100755 linhes/linhes-system/lh_system_start.sh
 create mode 100644 linhes/linhes-system/lh_system_start.sh.desktop
 delete mode 100755 linhes/linhes-system/lh_systemstart.sh
 delete mode 100644 linhes/linhes-system/lh_systemstart.sh.desktop

diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD
index 1674c61..9d6814b 100755
--- a/linhes/linhes-system/PKGBUILD
+++ b/linhes/linhes-system/PKGBUILD
@@ -1,13 +1,13 @@
 pkgname=linhes-system
 pkgver=9.0.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 #install=$pkgname.install
 pkgdesc="Everything that makes LinHES a system"
 license=('GPL2')
 depends=('cronie' 'libnotify' 'linhes-templates' 'pacman-contrib' 'openssh' 'ttf-overlock')
 binfiles="add_storage.py balance_storage_groups.py empty_storage_groups.py remove_storage.py
-          checkXFSfrag.sh enableIRWake.sh idle.py lh_systemstart.sh jobqueue_helper.py
+          checkXFSfrag.sh enableIRWake.sh idle.py lh_system_start.sh jobqueue_helper.py
           find_orphans.py
           create_media_dirs.sh be_check.py
           myth2mkv myth2mp3"
@@ -17,7 +17,7 @@ source=($binfiles
     '79-cronie.hook' 'fstrim.hook' 'openssh.hook'
     '10-monitor.conf'
     'system-sudo.rules'
-    'lh_systemstart.sh.desktop')
+    'lh_system_start.sh.desktop')
 
 package() {
     cd $srcdir
@@ -32,7 +32,7 @@ package() {
     done
 
     #startup files
-    install -D -m600 "$srcdir/lh_systemstart.sh.desktop" "$pkgdir/home/mythtv/.config/autostart/lh_systemstart.sh.desktop"    
+    install -D -m600 "$srcdir/lh_system_start.sh.desktop" "$pkgdir/home/mythtv/.config/autostart/lh_system_start.sh.desktop"    
 
     #readme files
     install -m644 -D $srcdir/readme_is_xml $pkgdir/etc/gen_is_xml.d/readme_is_xml
@@ -67,7 +67,7 @@ sha256sums=('96f67b5428debb7dac909893c56a7637bf6545c068732822981d4080125c53d9'
             '11168c9cd3b117decaab6bc665c183b4aab917cf0a976bce4c1b5e4686a27bc9'
             'ae34515e144830f424d3bd3f6b1b446892d62beed20bca6f0fb19b0bbb779f27'
             '23358a7bff4968eccd469613b81b1415c2ae0ebe77f14f74426697333e4d88d7'
-            '2cb8d676abc3b848d579aff2fe8796ca280b96abe40be03bc30055ce50d98c02'
+            '78a13fe09338b1cfe63e992cc71737b63acc1afaad7dc3b2996b03aa22c92f5b'
             '91bdec992bb2c933e15625c181f2195c402060b879168ebf35944cb064c904b9'
             '76f023c0cde7fea269234f1b29c32b117b91769217d4b1b8a3922daceb25f9f8'
             'bffcc13e4b480f720feb2b3c781bc4247c63303250c3d885022c699573d45a33'
@@ -84,4 +84,4 @@ sha256sums=('96f67b5428debb7dac909893c56a7637bf6545c068732822981d4080125c53d9'
             '890482242434e333024c7819e8bf3c889dc16548d0a1745479c8523930fb32f7'
             'dead17906b33a7f9d66ad13bb1c083a23438f45ece9bd5ec41ff86eda01c132a'
             'a9d0a94ff442453f0bec0b2e8afd591cf17b2845b6ae45ff300530114efd30af'
-            '7016c4bff7275e8d625cec418928ddeab0573df785dbaeda4ac710ddf64e9770')
+            '0b9868a563036c81f8fdb8ab8bbad51934aca2a07e9d7634e24214791afda8e2')
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
diff --git a/linhes/linhes-system/lh_system_start.sh.desktop b/linhes/linhes-system/lh_system_start.sh.desktop
new file mode 100644
index 0000000..6dc353e
--- /dev/null
+++ b/linhes/linhes-system/lh_system_start.sh.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Exec=/usr/bin/lh_system_start.sh
+Icon=dialog-scripts
+Name=LinHES_Startup
+Path=
+Type=Application
+X-KDE-AutostartScript=true
diff --git a/linhes/linhes-system/lh_systemstart.sh b/linhes/linhes-system/lh_systemstart.sh
deleted file mode 100755
index cd32cdf..0000000
--- a/linhes/linhes-system/lh_systemstart.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/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
diff --git a/linhes/linhes-system/lh_systemstart.sh.desktop b/linhes/linhes-system/lh_systemstart.sh.desktop
deleted file mode 100644
index 478f3ab..0000000
--- a/linhes/linhes-system/lh_systemstart.sh.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Exec=/usr/bin/lh_systemstart.sh
-Icon=dialog-scripts
-Name=lh_systemstart.sh
-Path=
-Type=Application
-X-KDE-AutostartScript=true
-- 
cgit v0.12

