Skip to content

Instantly share code, notes, and snippets.

@mppfiles
mppfiles / regex.txt
Created March 28, 2019 12:21
Exclude sites regex
// replace moz-extension://xxxx with Stylus extension id (check about:debugging#addons)
^(?!(moz-extension://054c7f10-731c-4ff8-8c19-053f1d5bbf96|https://drive.google.com|https://accounts\.google\.com|https://docs\.google\.com|https://feedly\.com|https://github\.com)).*
@mppfiles
mppfiles / gtk.css
Last active December 14, 2020 06:16
GtkTreeView navigation with arrow keys (GTK3+)
/*
* Left/right to expand/collapse node. Shift+left to select parent node.
* Place this in ~/.config/gtk-3.0
*
*/
@binding-set MyTreeViewBinding
{
bind "Left" { "expand-collapse-cursor-row" (0,0,0) };
bind "Right" { "expand-collapse-cursor-row" (0,1,0) };