Skip to content

Instantly share code, notes, and snippets.

@rickybrent
rickybrent / chromebook.yaml
Created January 25, 2018 07:35
Remap the assistant key on a chromebook with evdevremapkeys. This will unfortunately also remap it in Chrome OS. Run "evdevremapkeys -f chromebook.yaml" before
devices:
- input_name: 'AT Translated Set 2 keyboard'
input_phys: 'isa0060/serio0/input0'
output_name: remap-pixelbook-kbd
remappings:
KEY_ASSISTANT:
- KEY_COMPOSE
@rickybrent
rickybrent / chromebook.yaml
Created January 25, 2018 07:35
Remap the assistant key on a chromebook with evdevremapkeys. This will unfortunately also remap it in Chrome OS. Run "evdevremapkeys -f chromebook.yaml" before
devices:
- input_name: 'AT Translated Set 2 keyboard'
input_phys: 'isa0060/serio0/input0'
output_name: remap-pixelbook-kbd
remappings:
KEY_ASSISTANT:
- KEY_COMPOSE
@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
--- 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
/* ==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 */
/* ==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,
@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",
@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 / 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 / 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;