Skip to content

Instantly share code, notes, and snippets.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/*
** In order for userChrome.css to work, you need to open `about:config` and change
** `toolkit.legacyUserProfileCustomizations.stylesheets` to `true`.
*/
#!/bin/bash
# Download
git clone https://github.com/KDE/plasma-desktop.git
cd plasma-desktop/applets/kimpanel/backend/ibus/emojier
wget https://gist.githubusercontent.com/Zren/1d16e51199c9e47718ccfe41755d8ee2/raw/1-CMakeLists.txt
# Patch
echo "Edit PLASMA_DESKTOP_SRC in 1-CMakeLists.txt so it points to the plasma-desktop directory: "
read yn
// https://store.kde.org/p/1199292/
function isBorderlessFullscreen(client) {
var screenArea = workspace.clientArea(KWin.ScreenArea, client);
// Note that we use >= here.
// CS:GO appears to not remove the window decorations... or something.
// The window was 1920x1109 on a 1920x1080 screen.
return client.width >= screenArea.width && client.height >= screenArea.height;
}
import QtQuick 2.9
import org.kde.plasma.private.weather 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
Item {
id: root
readonly property string weatherSource: "envcan|weather|Toronto, ON"
readonly property int updateInterval: 30
PlasmaCore.DataSource {
diff --git a/package/contents/ui/AgendaListItem.qml b/package/contents/ui/AgendaListItem.qml
index e00e06f9..466815b1 100644
--- a/package/contents/ui/AgendaListItem.qml
+++ b/package/contents/ui/AgendaListItem.qml
@@ -49,7 +49,7 @@ GridLayout {
LinkRect {
visible: agendaModel.showDailyWeather
Layout.alignment: Qt.AlignTop
- Layout.column: weatherOnRight ? 2 : 0
+ Layout.row: weatherOnRight ? 2 : 0
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
set(QT_MIN_VERSION "5.4.0")
set(KF5_MIN_VERSION "5.0.0")
find_package(ECM 0.0.11 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
include(KDEInstallDirs)
include(KDECMakeSettings)
diff --git a/Changelog.md b/Changelog.md
index 8a92600c..139251cf 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,231 +1,4 @@
-## v30 - April 4 2019
+## v1 - July 21 2019
-* Fix sidebar menus not resizing to fix translated text (Issue #37).
-* Add support for a 2x1 Lutris game tile preset.
#!/usr/bin/python3
"""
Usage:
plasmasetconfig # List all widget namespaces
plasmasetconfig org.kde.plasma.digitalclock # List all config groups+keys
plasmasetconfig org.kde.plasma.digitalclock Appearance showSeconds true
Install:
chmod +x ~/Downloads/plasmasetconfig.py
sudo cp ~/Downloads/plasmasetconfig.py /usr/local/bin/plasmasetconfig
Uninstall:
diff --git a/src/kitemviews/kstandarditemlistwidget.cpp b/src/kitemviews/kstandarditemlistwidget.cpp
index 621587bf6..b730082e0 100644
--- a/src/kitemviews/kstandarditemlistwidget.cpp
+++ b/src/kitemviews/kstandarditemlistwidget.cpp
@@ -575,11 +575,11 @@ QRectF KStandardItemListWidget::selectionToggleRect() const
toggleSize = widgetHeight;
pos.setY(0);
}
- if (toggleSize + minMargin * 2 >= widgetWidth) {
+ // if (toggleSize + minMargin * 2 >= widgetWidth) {