Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Start KDE5 look and feel
  • Loading branch information
falkTX committed Mar 31, 2018
1 parent d1b3646 commit fb49166
Show file tree
Hide file tree
Showing 16 changed files with 152 additions and 0 deletions.
3 changes: 3 additions & 0 deletions INSTALL
Expand Up @@ -13,6 +13,9 @@ mkdir -p /usr/share/themes/
mkdir -p /usr/share/xfce4/backdrops/
mkdir -p /usr/share/wallpapers/

# KDE Look and Feel
cp -r -P look-and-feel/* /usr/share/plasma/look-and-feel/

# Generic themes (Gtk, Metacity and XFWM4)
cp -r themes/* /usr/share/themes/

Expand Down
20 changes: 20 additions & 0 deletions look-and-feel/org.linuxaudio.kxstudio.desktop/contents/defaults
@@ -0,0 +1,20 @@
[kdeglobals][KDE]
widgetStyle=qtcurve

[kdeglobals][General]
ColorScheme=KXStudio

[kdeglobals][Icons]
Theme=breeze-dark

[plasmarc][Theme]
name=default

[kcminputrc][Mouse]
cursorTheme=oxy-zion

[kwinrc][WindowSwitcher]
LayoutName=org.kde.breeze.desktop

[kwinrc][DesktopSwitcher]
LayoutName=org.kde.breeze.desktop
1 change: 1 addition & 0 deletions look-and-feel/org.linuxaudio.kxstudio.desktop/contents/osd
@@ -0,0 +1,102 @@
/*
* Copyright 2014 Marco Martin <mart@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* or (at your option) any later version, as published by the Free
* Software Foundation
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

import QtQuick 2.2

Image {
id: root
fillMode: Image.PreserveAspectCrop
source: "/usr/share/wallpapers/KXStudio-Stripes-Miku/contents/images/1920x1200.jpg"
//source: "/usr/share/wallpapers/KXStudio-Stripes/contents/images/1920x1200.jpg"

property int stage

onStageChanged: {
if (stage == 1) {
introAnimation.running = true
}
}
Rectangle {
id: topRect
width: parent.width
height: (root.height / 3) - bottomRect.height - 1
y: root.height
color: "#4C000000"
Image {
source: "images/kde.svgz"
anchors.centerIn: parent
sourceSize.height: 128
sourceSize.width: 128
}
}

Rectangle {
id: bottomRect
width: parent.width
y: -height
height: 50
color: "#4C000000"

Rectangle {
radius: 3
color: "#31363b"
anchors.centerIn: parent
height: 8
width: height*32
Rectangle {
radius: 3
anchors {
left: parent.left
top: parent.top
bottom: parent.bottom
}
width: (parent.width / 6) * (stage - 1)
color: "#3daee9"
Behavior on width {
PropertyAnimation {
duration: 250
easing.type: Easing.InOutQuad
}
}
}
}
}

ParallelAnimation {
id: introAnimation
running: false

YAnimator {
target: topRect
from: root.height
to: root.height / 3
duration: 1000
easing.type: Easing.InOutBack
easing.overshoot: 1.0
}
YAnimator {
target: bottomRect
from: -bottomRect.height
to: 2 * (root.height / 3) - bottomRect.height
duration: 1000
easing.type: Easing.InOutBack
easing.overshoot: 1.0
}
}
}
15 changes: 15 additions & 0 deletions look-and-feel/org.linuxaudio.kxstudio.desktop/metadata.desktop
@@ -0,0 +1,15 @@
[Desktop Entry]
Comment=KXStudio Desktop
Name=KXStudio
Type=Service

X-KDE-ServiceTypes=Plasma/LookAndFeel
X-KDE-ParentApp=
X-KDE-PluginInfo-Author=falkTX, KDE Visual Design Group
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Email=
X-KDE-PluginInfo-License=GPLv2+
X-KDE-PluginInfo-Name=org.linuxaudio.kxstudio.desktop
X-KDE-PluginInfo-Version=2.0
X-KDE-PluginInfo-Website=http://kxstudio.linuxaudio.org/
X-Plasma-MainScript=defaults

0 comments on commit fb49166

Please sign in to comment.