about summary refs log tree commit diff
path: root/pkgs/desktops/kde-5
diff options
context:
space:
mode:
authorPeter Hoeg <peter@speartail.com>2016-07-31 23:10:44 +0800
committerThomas Tuegel <ttuegel@gmail.com>2016-08-04 10:44:25 -0500
commitaded8e40c1f10b69616f2567eb4b2682bb7948b2 (patch)
treeb57666241b907b5b10855162de51b0fc1cb04537 /pkgs/desktops/kde-5
parent5b008e30b44923e8eff5dbe470b000de58f07021 (diff)
downloadnixlib-aded8e40c1f10b69616f2567eb4b2682bb7948b2.tar
nixlib-aded8e40c1f10b69616f2567eb4b2682bb7948b2.tar.gz
nixlib-aded8e40c1f10b69616f2567eb4b2682bb7948b2.tar.bz2
nixlib-aded8e40c1f10b69616f2567eb4b2682bb7948b2.tar.lz
nixlib-aded8e40c1f10b69616f2567eb4b2682bb7948b2.tar.xz
nixlib-aded8e40c1f10b69616f2567eb4b2682bb7948b2.tar.zst
nixlib-aded8e40c1f10b69616f2567eb4b2682bb7948b2.zip
startkde: default to breeze instead of plastik on a fresh login
Diffstat (limited to 'pkgs/desktops/kde-5')
-rwxr-xr-xpkgs/desktops/kde-5/plasma/startkde/startkde.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/desktops/kde-5/plasma/startkde/startkde.sh b/pkgs/desktops/kde-5/plasma/startkde/startkde.sh
index 18cf08081c4b..c0d5f6dbf59a 100755
--- a/pkgs/desktops/kde-5/plasma/startkde/startkde.sh
+++ b/pkgs/desktops/kde-5/plasma/startkde/startkde.sh
@@ -71,11 +71,14 @@ fi
 configDir=$(qtpaths --writable-path GenericConfigLocation)
 mkdir -p "$configDir"
 
+THEME=org.kde.breeze
 #This is basically setting defaults so we can use them with kstartupconfig5
+#We cannot set the equivilant of THEME here as it will generate an
+#invalid variable name (with dots)
 cat >$configDir/startupconfigkeys <<EOF
 kcminputrc Mouse cursorTheme 'breeze_cursors'
 kcminputrc Mouse cursorSize ''
-ksplashrc KSplash Theme Breeze
+ksplashrc KSplash Theme ${THEME}.desktop
 ksplashrc KSplash Engine KSplashQML
 kdeglobals KScreen ScreenScaleFactors ''
 kcmfonts General forceFontDPI 0
@@ -144,6 +147,8 @@ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize"
     fi
 fi
 
+unset THEME
+
 # Set a left cursor instead of the standard X11 "X" cursor, since I've heard
 # from some users that they're confused and don't know what to do. This is
 # especially necessary on slow machines, where starting KDE takes one or two