diff --git a/Kvantum/ChromeOS-dark/ChromeOS-dark.kvconfig b/Kvantum/ChromeOS-dark/ChromeOS-dark.kvconfig index a179413..51e700f 100644 --- a/Kvantum/ChromeOS-dark/ChromeOS-dark.kvconfig +++ b/Kvantum/ChromeOS-dark/ChromeOS-dark.kvconfig @@ -245,19 +245,18 @@ frame.right=1 inherits=PanelButtonCommand frame.element=lineedit interior.element=lineedit -interior=false -frame.top=2 -frame.bottom=2 -frame.left=2 -frame.right=2 +frame.top=6 +frame.bottom=6 +frame.left=6 +frame.right=6 text.margin.top=2 text.margin.bottom=2 text.margin.left=2 text.margin.right=2 -frame.expansion=0 [ToolbarLineEdit] frame.element=lineedit +interior.element=lineedit [DropDownButton] inherits=PanelButtonCommand @@ -282,7 +281,7 @@ text.margin.top=2 text.margin.bottom=2 frame.element=tab indicator.element=tab -indicator.size=22 +indicator.size=16 frame.top=2 frame.bottom=2 frame.left=2 @@ -506,11 +505,10 @@ frame.expansion=0 inherits=PanelButtonCommand frame.element=combo interior.element=combo -interior=false -frame.top=2 -frame.bottom=2 -frame.left=2 -frame.right=2 +frame.top=6 +frame.bottom=6 +frame.left=6 +frame.right=6 text.margin.top=2 text.margin.bottom=2 text.margin.left=2 @@ -518,7 +516,6 @@ text.margin.right=2 text.focus.color=white text.press.color=#dfdfdf text.toggle.color=white -frame.expansion=0 [GroupBox] inherits=GenericFrame diff --git a/Kvantum/ChromeOS-dark/ChromeOS-dark.svg b/Kvantum/ChromeOS-dark/ChromeOS-dark.svg index b20fb57..8659ebb 100644 --- a/Kvantum/ChromeOS-dark/ChromeOS-dark.svg +++ b/Kvantum/ChromeOS-dark/ChromeOS-dark.svg @@ -13,7 +13,7 @@ height="1000" version="1" sodipodi:docname="ChromeOS-dark.svg" - inkscape:version="0.92.4 5da689c313, 2019-01-14"> + inkscape:version="1.0 (4035a4fb49, 2020-05-01)"> @@ -27,6 +27,7 @@ + inkscape:snap-nodes="false" + inkscape:document-rotation="0"> @@ -934,7 +936,8 @@ width="10" height="10" x="285" - y="92.5" /> + y="92.5" + style="fill:#000000;fill-opacity:1;opacity:0.15" /> - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -6972,4 +6823,756 @@ id="g4142" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/install.sh b/install.sh index 2a84c77..eb68abe 100755 --- a/install.sh +++ b/install.sh @@ -1,26 +1,37 @@ #!/bin/bash SRC_DIR=$(cd $(dirname $0) && pwd) - -AURORAE_DIR="$HOME/.local/share/aurorae/themes" -SCHEMES_DIR="$HOME/.local/share/color-schemes" -PLASMA_DIR="$HOME/.local/share/plasma/desktoptheme" -LOOKFEEL_DIR="$HOME/.local/share/plasma/look-and-feel" -LAYOUT_DIR="$HOME/.local/share/plasma/layout-templates" -KVANTUM_DIR="$HOME/.config/Kvantum" +ROOT_UID=0 + +# Destination directory +if [ "$UID" -eq "$ROOT_UID" ]; then + AURORAE_DIR="/usr/share/aurorae/themes" + SCHEMES_DIR="/usr/share/color-schemes" + PLASMA_DIR="/usr/share/plasma/desktoptheme" + LOOKFEEL_DIR="/usr/share/plasma/look-and-feel" + KVANTUM_DIR="/usr/share/Kvantum" + WALLPAPER_DIR="/usr/share/wallpapers" +else + AURORAE_DIR="$HOME/.local/share/aurorae/themes" + SCHEMES_DIR="$HOME/.local/share/color-schemes" + PLASMA_DIR="$HOME/.local/share/plasma/desktoptheme" + LOOKFEEL_DIR="$HOME/.local/share/plasma/look-and-feel" + KVANTUM_DIR="$HOME/.config/Kvantum" + WALLPAPER_DIR="$HOME/.local/share/wallpapers" +fi THEME_NAME=ChromeOS +[[ ! -d ${AURORAE_DIR} ]] && mkdir -p ${AURORAE_DIR} +[[ ! -d ${SCHEMES_DIR} ]] && mkdir -p ${SCHEMES_DIR} +[[ ! -d ${PLASMA_DIR} ]] && mkdir -p ${PLASMA_DIR} +[[ ! -d ${LOOKFEEL_DIR} ]] && mkdir -p ${LOOKFEEL_DIR} +[[ ! -d ${KVANTUM_DIR} ]] && mkdir -p ${KVANTUM_DIR} +[[ ! -d ${WALLPAPER_DIR} ]] && mkdir -p ${WALLPAPER_DIR} + install() { local name=${1} - mkdir -p ${AURORAE_DIR} - mkdir -p ${SCHEMES_DIR} - mkdir -p ${PLASMA_DIR} - mkdir -p ${LOOKFEEL_DIR} - mkdir -p ${LAYOUT_DIR} - mkdir -p ${KVANTUM_DIR} - cp -r ${SRC_DIR}/aurorae/* ${AURORAE_DIR} cp -r ${SRC_DIR}/color-schemes/*.colors ${SCHEMES_DIR} cp -r ${SRC_DIR}/Kvantum/* ${KVANTUM_DIR} @@ -29,6 +40,7 @@ install() { cp -r ${SRC_DIR}/color-schemes/${name}Dark.colors ${PLASMA_DIR}/${name}/colors cp -r ${SRC_DIR}/color-schemes/${name}Light.colors ${PLASMA_DIR}/${name}-light/colors cp -r ${SRC_DIR}/plasma/look-and-feel/* ${LOOKFEEL_DIR} + cp -r ${SRC_DIR}/wallpaper ${WALLPAPER_DIR}/${name} } echo "Installing '${THEME_NAME} kde themes'..." diff --git a/plasma/desktoptheme/ChromeOS-light/metadata.desktop b/plasma/desktoptheme/ChromeOS-light/metadata.desktop index 775d717..d1a9068 100644 --- a/plasma/desktoptheme/ChromeOS-light/metadata.desktop +++ b/plasma/desktoptheme/ChromeOS-light/metadata.desktop @@ -15,3 +15,9 @@ enabled=false contrast=0.2 intensity=0.4 saturation=1.7 + +[Wallpaper] +defaultWallpaperTheme=ChromeOS +defaultFileSuffix=.jpg +defaultWidth=1920 +defaultHeight=1080 diff --git a/plasma/desktoptheme/ChromeOS/metadata.desktop b/plasma/desktoptheme/ChromeOS/metadata.desktop index ab5760b..13c0927 100644 --- a/plasma/desktoptheme/ChromeOS/metadata.desktop +++ b/plasma/desktoptheme/ChromeOS/metadata.desktop @@ -15,3 +15,9 @@ enabled=false contrast=0.2 intensity=0.4 saturation=1.7 + +[Wallpaper] +defaultWallpaperTheme=ChromeOS +defaultFileSuffix=.jpg +defaultWidth=1920 +defaultHeight=1080 diff --git a/plasma/desktoptheme/ChromeOS/widgets/panel-background.svg b/plasma/desktoptheme/ChromeOS/widgets/panel-background.svg index 9039bce..2432d35 100644 --- a/plasma/desktoptheme/ChromeOS/widgets/panel-background.svg +++ b/plasma/desktoptheme/ChromeOS/widgets/panel-background.svg @@ -14,7 +14,7 @@ viewBox="0 0 173 56" id="svg200" sodipodi:docname="panel-background.svg" - inkscape:version="0.92.4 5da689c313, 2019-01-14"> + inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"> @@ -35,15 +35,15 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1366" - inkscape:window-height="700" + inkscape:window-width="1920" + inkscape:window-height="1018" id="namedview202" - showgrid="true" - inkscape:zoom="39.1075" - inkscape:cx="67.220531" - inkscape:cy="9.1960286" + showgrid="false" + inkscape:zoom="9.776875" + inkscape:cx="63.160531" + inkscape:cy="31.09856" inkscape:window-x="0" - inkscape:window-y="0" + inkscape:window-y="32" inkscape:window-maximized="1" inkscape:current-layer="svg200" showguides="true" @@ -398,7 +398,7 @@ + style="opacity:0.05"> + style="opacity:0.05"> + style="opacity:0.05"> + style="opacity:0.05"> + style="opacity:0.05"> + style="opacity:0.05"> + style="opacity:0.05"> + style="opacity:0.05"> + inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"> @@ -35,17 +35,19 @@ guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" - inkscape:window-width="1366" - inkscape:window-height="706" + inkscape:window-width="1920" + inkscape:window-height="1018" id="namedview204" - showgrid="true" - inkscape:zoom="2.3788217" - inkscape:cx="102.07455" - inkscape:cy="16.900673" + showgrid="false" + inkscape:zoom="4.7576434" + inkscape:cx="128.74436" + inkscape:cy="29.932773" inkscape:window-x="0" inkscape:window-y="32" inkscape:window-maximized="1" - inkscape:current-layer="svg202"> + inkscape:current-layer="svg202" + showguides="true" + inkscape:guide-bbox="true"> @@ -98,6 +100,51 @@ } + + + + + + + + + + + + + + + - + id="linearGradient4270"> + - - - - + x2="-8.0000019" + y2="932.36218" /> + gradientTransform="matrix(1,0,0,0.85714286,0,135.76602)" /> + + style="opacity:0.35"> + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - -