Skip to content

Instantly share code, notes, and snippets.

Chris Holland Zren

Block or report user

Report or block Zren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View CMakeLists.txt
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)
View tiledmenu_simple10menu.diff
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.
View plasmasetconfig.py
#!/bin/python3
import argparse
import dbus
import subprocess
parser = argparse.ArgumentParser()
parser.add_argument("widget", type=str, help="widget namespace eg: 'org.kde.plasma.digitalclock'")
parser.add_argument("key", type=str, help="config key to modify")
parser.add_argument("value", type=str, help="new value to store in config key")
parser.add_argument("--group", type=str, help="config group (use only when required)")
View dolphin-fullwidth-detailsview.diff
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) {
View ZrenChanges.diff
diff --git a/contents/ui/main.qml b/contents/ui/main.qml
index 0c01369..c91e935 100644
--- a/contents/ui/main.qml
+++ b/contents/ui/main.qml
@@ -23,20 +23,20 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.taskmanager 0.1 as TaskManager
-import org.kde.kwindowsystem 1.0 as KWindowSystem
+// import org.kde.kwindowsystem 1.0 as KWindowSystem
@Zren
Zren / userChrome.css
Last active Feb 13, 2019
Firefox userChrome.css
View userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/*
* Bookmarks toolbar is visible only on new tab page, just like Chrome.
*
* Screenshot: https://vimeo.com/235059188
* Video: https://vimeo.com/240436456
*
* Contributor(s): https://www.reddit.com/user/AJtfM7zT4tJdaZsm and Andrei Cristian Petcu
@Zren
Zren / CMakeLists.txt
Created Jan 10, 2019
A test of automatically generating bg tile colors based on Unity's implementation
View CMakeLists.txt
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)
@Zren
Zren / 0-SoloBuildTaskManager.sh
Last active Dec 29, 2018
Building plasma-desktop/applets/taskmanager by itself
View 0-SoloBuildTaskManager.sh
# Download
git clone git://anongit.kde.org/plasma-desktop
cd plasma-desktop
# Apply patch
git apply 1-taskmanager-cmakelist.diff
cd applets/taskmanager
# Build
mkdir -p build
View KDecorationButtonTest2.qml
import QtQuick 2.0
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kwin.private.kdecoration 1.0 as KDecoration
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
Item {
id: main
width: 400
height: 400
View Osd.qml
/*
* Copyright 2014 Martin Klapetek <mklapetek@kde.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
You can’t perform that action at this time.