Skip to content

Instantly share code, notes, and snippets.

supporting linux

Kanehekili kanehekili

supporting linux
  • Germany
View GitHub Profile
kanehekili /
Last active Apr 6, 2020
bash script to set multiple monitors with xrandr (generic approach)
# simple script that either connects or disconnects the external monitor
# the prime output is the local (laptop) screen
# the secondary is either discovered,but not connected or disconnected but not removed (screen size too big)
export DISPLAY=:0.0
#sleep 2
kanehekili / compton.conf
Last active May 10, 2019
compton config on Thinkpad R61i
View compton.conf
backend = "glx";
glx-no-stencil = true;
glx-swap-method = "buffer-age";
glx-use-copysubbuffermesa = true;
glx-no-rebind-pixmap = true;
xrender-sync-fence = true #seems to help against missing refresh
vsync = "opengl-swc"; #Works faster than mswc!
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
kanehekili / userChrome.css
Created Mar 8, 2019
Firefox round tabs and a colorful findbar
View userChrome.css
:root {
--tab-curve-width: 30px;
--tabs-border: transparent !important;
.tabbrowser-arrowscrollbox .arrowscrollbox-scrollbox {
padding-inline-start: 10px !important;
/* To be able to see the top border of the tab */
You can’t perform that action at this time.