Updated Plasma theme and plasmoid
変更後 幅: | 高さ: | サイズ: 208 KiB |
|
@ -14,7 +14,7 @@ X-KDE-PluginInfo-Email=mirkogen@hotmail.it
|
|||
X-KDE-PluginInfo-EnabledByDefault=True
|
||||
X-KDE-PluginInfo-License=GPL
|
||||
X-KDE-PluginInfo-Name=Seven Black
|
||||
X-KDE-PluginInfo-Version=1.0.52
|
||||
X-KDE-PluginInfo-Version=1.0.53
|
||||
X-KDE-PluginInfo-Website=http://www.techbulk.net
|
||||
X-Plasma-API=5.0
|
||||
|
||||
|
|
変更前 幅: | 高さ: | サイズ: 209 KiB 変更後 幅: | 高さ: | サイズ: 24 KiB |
変更後 幅: | 高さ: | サイズ: 209 KiB |
変更後 幅: | 高さ: | サイズ: 108 KiB |
変更後 幅: | 高さ: | サイズ: 11 KiB |
変更後 幅: | 高さ: | サイズ: 75 KiB |
変更後 幅: | 高さ: | サイズ: 152 KiB |
変更後 幅: | 高さ: | サイズ: 17 KiB |
変更後 幅: | 高さ: | サイズ: 16 KiB |
変更後 幅: | 高さ: | サイズ: 17 KiB |
変更後 幅: | 高さ: | サイズ: 17 KiB |
変更後 幅: | 高さ: | サイズ: 16 KiB |
変更後 幅: | 高さ: | サイズ: 17 KiB |
|
@ -71,16 +71,43 @@ Item {
|
|||
}
|
||||
|
||||
PlasmaCore.IconItem {
|
||||
id: buttonIcon
|
||||
|
||||
id: buttonIconHovered
|
||||
z: 1
|
||||
source: "/opt/AeroTheme/hovered.png"
|
||||
opacity: 0
|
||||
anchors.fill: parent
|
||||
|
||||
readonly property double aspectRatio: (vertical ? implicitHeight / implicitWidth
|
||||
: implicitWidth / implicitHeight)
|
||||
smooth: true
|
||||
|
||||
source: useCustomButtonImage ? plasmoid.configuration.customButtonImage : plasmoid.configuration.icon
|
||||
// A custom icon could also be rectangular. However, if a square, custom, icon is given, assume it
|
||||
// to be an icon and round it to the nearest icon size again to avoid scaling artefacts.
|
||||
roundToIconSize: !useCustomButtonImage || aspectRatio === 1
|
||||
|
||||
active: mouseArea.containsMouse
|
||||
onSourceChanged: updateSizeHints()
|
||||
}
|
||||
PlasmaCore.IconItem {
|
||||
id: buttonIcon
|
||||
anchors.fill: parent
|
||||
opacity: 1
|
||||
readonly property double aspectRatio: (vertical ? implicitHeight / implicitWidth
|
||||
: implicitWidth / implicitHeight)
|
||||
|
||||
|
||||
//source: useCustomButtonImage ? plasmoid.configuration.customButtonImage : plasmoid.configuration.icon
|
||||
source: dashWindow.visible ? "/opt/AeroTheme/selected.png" : "/opt/AeroTheme/normal.png"
|
||||
|
||||
states: State {
|
||||
name: "mouse-over"; when: mouseArea.containsMouse && !dashWindow.visible
|
||||
//PropertyChanges { target: buttonIcon; opacity: dashWindow.visible ? 1 : 0}
|
||||
PropertyChanges { target: buttonIconHovered; opacity: dashWindow.visible ? 0 : 1}
|
||||
}
|
||||
|
||||
transitions: Transition {
|
||||
NumberAnimation { properties: "opacity"; easing.type: Easing.InOutQuad; duration: 250 }
|
||||
}
|
||||
|
||||
//active: mouseArea.containsMouse
|
||||
|
||||
smooth: true
|
||||
|
||||
|
|
10
README.md
|
@ -68,6 +68,8 @@ there are any improvements to be made here, any and all effort would be greatly
|
|||
### Start Menu
|
||||
<img src="Screenshots/Start_Menu.png">
|
||||
|
||||
<img src="Screenshots/Orb.GIF">
|
||||
|
||||
### Dolphin
|
||||
<img src="Screenshots/Dolphin_2.png">
|
||||
|
||||
|
@ -220,7 +222,13 @@ To install it, simply move this to the following directory:
|
|||
|
||||
~/.local/share/plasma/plasmoids/
|
||||
|
||||
If needed, restart Plasma to see it installed. Set the launcher icon to "startmenuorb.png" to make it look more like Windows 7.
|
||||
If needed, restart Plasma to see it installed. This launcher features three Start Menu buttons, which are animated just like in Windows 7. To properly configure this plasmoid, move the following folder to /opt/.
|
||||
|
||||
./Plasma Widgets/AeroTheme
|
||||
|
||||
Then restart Plasma in order to see the effect.
|
||||
(This is because compact representations of plasmoids seem to only accept absolute file paths. This only serves as a quick workaround. A more sophisticated solution should come out in later releases)
|
||||
|
||||
|
||||
NOTE: This Start menu is a WIP. I have not tested this plasmoid on other machines or distributions, and I haven't tested it on
|
||||
HiDPI monitors because I do not own one, or on other DPI scalings. The only DPI scaling I've tested this on is 96. For any issues
|
||||
|
|
変更前 幅: | 高さ: | サイズ: 645 KiB 変更後 幅: | 高さ: | サイズ: 1.0 MiB |
変更前 幅: | 高さ: | サイズ: 164 KiB 変更後 幅: | 高さ: | サイズ: 248 KiB |
変更前 幅: | 高さ: | サイズ: 34 KiB 変更後 幅: | 高さ: | サイズ: 114 KiB |
変更後 幅: | 高さ: | サイズ: 13 MiB |
変更前 幅: | 高さ: | サイズ: 98 KiB 変更後 幅: | 高さ: | サイズ: 224 KiB |
変更前 幅: | 高さ: | サイズ: 288 KiB 変更後 幅: | 高さ: | サイズ: 461 KiB |
変更前 幅: | 高さ: | サイズ: 50 KiB 変更後 幅: | 高さ: | サイズ: 33 KiB |
変更前 幅: | 高さ: | サイズ: 49 KiB |