Skip to content

Instantly share code, notes, and snippets.

@rickybrent
rickybrent / google-meet-thin.user.css
Created April 14, 2020 17:05
Invert and shrink the giant white bottom bar on Google Meet
@-moz-document domain("meet.google.com") {
div.rG0ybd,
div.LCXT6 {
max-height: 42px;
filter: invert(100%);
}
}
@rickybrent
rickybrent / minimal-scrollbar.user.css
Last active March 27, 2020 20:03
Minimal scrollbar for Vivaldi
/* ==UserStyle==
@name minimal-scrollbar
@version 1.0.0
@description Minimal scrollbar for Vivaldi.
@namespace rickybrent
@author rickybrent
@license BSD-2-clause
@updateURL https://gist.githubusercontent.com/rickybrent/fa28b17e77adb20ca744160a7ad7d334/raw/minimal-scrollbar.user.css
==/UserStyle== */
::-webkit-scrollbar-track {
@rickybrent
rickybrent / userChrome.css
Created March 1, 2020 04:04
Firefox userChrome vivaldi hidden navbar style.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* hide navigation bar when it is not focused; use Ctrl+L to get focus.
Adds a slight border and offset when it appears, similar to vivaldi.
*/
#nav-bar {
min-height:0px !important;
}
#navigator-toolbox:not(:focus-within) #nav-bar:not([customizing="true"]):not([inFullscreen]) >* {
max-height:0px !important;
@rickybrent
rickybrent / thin-no-scrollbar-firefox.user.css
Last active July 22, 2019 02:44
hide-scrollbars.user.css
/* ==UserStyle==
@name Thin/No Scrollbars for Firefox
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Scrolantana as a user style.
@updateURL https://gist.githubusercontent.com/rickybrent/5f043b18a7369485dd60f083f88dd6a6/raw/thin-no-scrollbar-firefox.user.css
==/UserStyle== */
html {
scrollbar-width: none;
}
@rickybrent
rickybrent / j-novel-club-reader-blackout.user.css
Last active June 23, 2019 09:12
J-Novel Club Reader Blackout
/* ==UserStyle==
@name J-Novel Club Reader Blackout
@namespace github.com/rickybrent
@version 1.0.1
@license unlicense
@updateURL https://gist.github.com/rickybrent/f5eb6db2e5b440b1b9baadf1699cd7d7/raw/j-novel-club-reader-blackout.user.css
==/UserStyle== */
@-moz-document regexp("https://j-novel\\.club/.*/read") {
div#root div:first-child {
color: white !important;
@rickybrent
rickybrent / devilspie2.lua
Last active January 15, 2019 00:26 — forked from mjyut/devilspie2.lua
Devilspie2 config file (undecorate some window)
--[[ Debug
local debug_funcs = {
"get_window_name",
"get_window_has_name",
"get_application_name",
"get_window_geometry",
"get_window_client_geometry",
"get_window_is_maximized",
"get_window_is_maximized_vertically",
/* ==UserStyle==
@name Sidebars Toggle Standard Notes
@namespace github.com/rickybrent
@version 1.0.0
@license unlicense
@updateURL https://gist.github.com/rickybrent/2410626bca1662d94bd7820c906b8e79/raw//sidebars.toggle.standard.notes.user.css
==/UserStyle== */
@-moz-document domain("app.standardnotes.org") {
@media only screen and (max-width: 600px) {
#notes-title-bar .filter-section,
/* ==UserStyle==
@name Discord App Narrower
@namespace github.com/rickybrent
@version 1.0.0
@license unlicense
@updateURL https://gist.github.com/rickybrent/325295a1ab7c03552bd7777924e67e07/raw/discordapp.narrow.user.css
==/UserStyle== */
@-moz-document domain("discordapp.com") {
/* .channels-Ie216A */
--- dsdt.dsl 2018-03-04 16:00:00.866484238 -0800
+++ dsdt.dsl 2018-03-04 16:28:07.933272752 -0800
@@ -18,9 +18,8 @@
* Compiler ID "INTL"
* Compiler Version 0x20160527 (538314023)
*/
-DefinitionBlock ("", "DSDT", 2, "LENOVO", "SKL ", 0x00000000)
+DefinitionBlock ("", "DSDT", 2, "LENOVO", "SKL ", 0x00000001)
{
- External (_GPE.TBNF, MethodObj) // 0 Arguments
@rickybrent
rickybrent / chromebook.yaml
Last active January 26, 2018 21:08
Remap the assistant key on a chromebook with evdevremapkeys. This will unfortunately also remap it in Chrome OS.
devices:
- input_name: 'AT Translated Set 2 keyboard'
input_phys: 'isa0060/serio0/input0'
output_name: 'AT Translated Set 2 keyboard'
remappings:
KEY_ASSISTANT:
- KEY_COMPOSE
KEY_CONTROLPANEL:
- KEY_KPDOT