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 eventcal-weekview.diff
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
@Zren
Zren / DarkMonokai.qss
Last active Sep 19, 2019
Dark Monokai - Quassel Theme (qss)
View DarkMonokai.qss
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
@Zren
Zren / DarkSolarized.qss
Last active Sep 14, 2019
Dark Solarized - Quassel Theme (qss)
View DarkSolarized.qss
/**
** ______ _ _____ _ _ _
** | _ \ | | / ___| | | (_) | |
** | | | |__ _ _ __| | __ \ `--. ___ | | __ _ _ __ _ _______ __| |
** | | | / _` | '__| |/ / `--. \/ _ \| |/ _` | '__| |_ / _ \/ _` |
** | |/ / (_| | | | < /\__/ / (_) | | (_| | | | |/ / __/ (_| |
** |___/ \__,_|_| |_|\_\ \____/ \___/|_|\__,_|_| |_/___\___|\__,_|
**
** Quassel Theme
**
@Zren
Zren / userChrome.css
Last active Sep 4, 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");
/* Hide menubar (it's visible in global menu widget) */
@media (-moz-gtk-csd-available) {
:root[shellshowingmenubar="true"] #toolbar-menubar[autohide="true"],
:root[shellshowingmenubar="true"][sizemode="normal"] #toolbar-menubar[autohide="true"] {
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 URL Schemes.md

Custom URL Schemes

This will tell you how to have browsers run command line commands when visiting urls with custom schemes custom://.

Steps

  1. Tell the browser how to handle the url scheme
  2. Tell the OS how to handle the url scheme
  3. Parse the url
  4. Run your command
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 kmake.sh
#!/bin/bash
# To install this script, save to /usr/local/bin/kmake
# Don't forget to make it executable with:
# sudo chmod +x /usr/local/bin/kmake
doClean=false
doInstall=false
buildDir="build"
buildPrefix=/usr
You can’t perform that action at this time.