Skip to content

Instantly share code, notes, and snippets.

View SoundcloudStyled-Foobar2000-WaveformSeekbar-ReadMe.md

SoundCloud Theme for Foobar2000 Waveform Seekbar

Installation

  • Install the Waveform Seekbar for foobar2000.
  • Right click the Waveform Seekbar widget > Configure
  • Under Downmix Display choose Mix-down to mono.
  • Colors
View konsole.css
/* Scrollbar */
/* From Quassel Wiki: http://sprunge.us/iZGB */
QScrollBar {
background: #131313;
margin: 0;
}
QScrollBar:hover {
/* Optional: Subtle accent of scrolling area on hover */
background: #161616; /* base +2 */
}
@Zren
Zren / DarkMonokai.qss
Last active Jul 5, 2022
Dark Monokai - Quassel Theme (qss)
View DarkMonokai.qss
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
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
#!/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:
View splitqtd.py
#!/bin/python3
import os
import os.path
import re
import argparse
def formatSplitFilepath(filepath, splitIndex):
splitQtdFormat = filepath.replace('.qtd', '-{}{}.qtd')
assert splitIndex <= 26*26
a1 = chr(ord('a') + (splitIndex // 26))
View git-lsdir.sh
#!/bin/bash
# To run anywhere with "git lsdir"
# sudo mv ./git-lsdir.sh /usr/local/bin/git-lsdir
# sudo chmod +x /usr/local/bin/git-lsdir
Red='\033[0;31m'
Orange='\033[0;33m'
LightRed='\033[91m'
LightGreen='\033[92m'
Yellow='\033[93m'
View HackerNews-DarkMode.css
@-moz-document domain("hckrnews.com") {
html, body {
color: #c1c2c3; /* #333333 */
background-color: #111213; /* #ffffff */
}
a {
color: #aaaaaa; /* #333333 */
}
a:hover {
@Zren
Zren / DarkSolarized.qss
Last active Mar 22, 2022
Dark Solarized - Quassel Theme (qss)
View DarkSolarized.qss
/**
** ______ _ _____ _ _ _
** | _ \ | | / ___| | | (_) | |
** | | | |__ _ _ __| | __ \ `--. ___ | | __ _ _ __ _ _______ __| |
** | | | / _` | '__| |/ / `--. \/ _ \| |/ _` | '__| |_ / _ \/ _` |
** | |/ / (_| | | | < /\__/ / (_) | | (_| | | | |/ / __/ (_| |
** |___/ \__,_|_| |_|\_\ \____/ \___/|_|\__,_|_| |_/___\___|\__,_|
**
** Quassel Theme
**
View osc_tethys.lua
local assdraw = require 'mp.assdraw'
local msg = require 'mp.msg'
local opt = require 'mp.options'
local utils = require 'mp.utils'
print("get_script_name: ".. mp.get_script_name())
--
-- Parameters
--