Skip to content

Instantly share code, notes, and snippets.

# GLX backend
backend = "glx"
# vsync = "opengl"; # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc"
# glx-no-stencil = true;
# glx-no-rebind-pixmap = true;
# glx-swap-method = "undefined";
# Shadow
shadow = true;
no-dock-shadow = true;
@lassekongo83
lassekongo83 / .xinitrc
Last active October 9, 2019 08:54
.xinitrc for launching GNOME without GDM in VirtualBox
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?* ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh &
# Name: Nameless Openbox theme
# Author: lassekongo83
# License: GPL-3.0+
# Menu
menu.border.color: #37474F
menu.title.bg: flat solid
menu.title.bg.color: #212d33
@lassekongo83
lassekongo83 / dismiss-youtube-login-modal.user.js
Created September 15, 2020 16:37
Auto-click the dismiss button on YouTube's annoying login modal and then automatically start the video.
// ==UserScript==
// @name Dismiss YouTube login modal
// @namespace https://www.youtube.com/
// @match https://www.youtube.com/*
// @grant none
// @version 0.1
// @description Auto-click the dismiss button on YouTube's annoying login modal
// ==/UserScript==
(function() {
// ==UserScript==
// @name Twitch ad blackout
// @namespace Twitch ad blackout
// @match *://*.twitch.tv/*
// @grant none
// @version 1.0
// @author https://nitter.net/EthanShulman/
// ==/UserScript==
// Modified script from https://pastebin.com/HS9ukpRm
@lassekongo83
lassekongo83 / hide-youtube-guide.user.js
Last active February 17, 2023 08:56
Hides the app-drawer aka guide menu by default
// ==UserScript==
// @name Hide youtube guide menu
// @namespace Violentmonkey Scripts
// @match https://www.youtube.com/*
// @grant none
// @version 1.0
// @author -
// @description Hides the app-drawer aka guide menu by default
// ==/UserScript==
@lassekongo83
lassekongo83 / autoclose-youtube-miniplayer.user.js
Last active November 30, 2021 07:38
Auto-close the miniplayer and remove the miniplayer button on the player
// ==UserScript==
// @name Auto-close YouTube miniplayer
// @namespace Violentmonkey Scripts
// @match https://www.youtube.com/*
// @grant none
// @version 1.0
// @author Frellwit
// @description Auto-close the miniplayer and remove the miniplayer button on the player
// ==/UserScript==
@lassekongo83
lassekongo83 / youtube-load-more.user.js
Last active May 15, 2021 04:25
Replace infinite scrolling on the YouTube homepage grid with a "Load More" button
// ==UserScript==
// @name YouTube Load More
// @namespace Violentmonkey Scripts
// @match https://www.youtube.com/*
// @grant none
// @version 1.0
// @author https://github.com/lassekongo83
// @description Replace infinite scrolling on the homepage grid with a "Load More" button
// ==/UserScript==
@lassekongo83
lassekongo83 / restore-youtube-scrollbar.user.js
Last active July 10, 2023 07:02
Make YouTube use your browser's default scrollbar
// ==UserScript==
// @name Restore YouTube Scrollbar
// @namespace Violentmonkey Scripts
// @match https://www.youtube.com/*
// @grant none
// @version 1.0
// @author https://github.com/lassekongo83
// @description Make YouTube use your browser's default scrollbar
// ==/UserScript==