This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (navigator.platform.match('Mac') !== null) { | |
const styleTag = document.createElement('style'); | |
styleTag.innerHTML = ` | |
/* MACOS SCROLLBAR FIX START | |
MacOS hides scrollbars by default. | |
This CSS forces to show scrollbar always. | |
It doesn't work in Firefox yet. */ | |
::-webkit-scrollbar { | |
-webkit-appearance: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tweak Ubuntu | |
- Set scaling for 4k monitor | |
sudo vim /usr/share/glib-2.0/schemas/90_hidpi.gschema.override | |
[org.gnome.desktop.interface] | |
scaling-factor=2 | |
sudo glib-compile-schemas /usr/share/glib-2.0/schemas | |
- Override Caps Lock to Ctrl |
OlderNewer