Skip to content

Instantly share code, notes, and snippets.

View dangh's full-sized avatar
🤖
I may be slow to respond.

Dang dangh

🤖
I may be slow to respond.
View GitHub Profile
<!--
Put this file in ~/Library/LaunchAgents/com.example.KeyRemapping.plist to
automatically remap your keys when macOS starts.
See https://developer.apple.com/library/archive/technotes/tn2450/_index.html for
the key "usage IDs". Take the usage ID and add 0x700000000 to it before putting it
into a source or destination (HIDKeyboardModifierMappingSrc and
HIDKeyboardModifierMappingDst respectively).
-->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@dangh
dangh / README.md
Last active June 19, 2026 05:13
Prominent tab color for Firefox container

firefox container tab color

  1. Go to about:config, enable these flags:
    • toolkit.legacyUserProfileCustomizations.stylesheets
    • layout.css.color-mix.enabled
  2. Go to about:support, look for profile folder.
  3. Add the CSS below to chrome/userChrome.css inside the profile folder.
@dangh
dangh / user.js
Last active March 26, 2026 07:48
Firefox config
user_pref('browser.aboutConfig.showWarning', false);
user_pref('browser.shell.checkDefaultBrowser', false);
user_pref('browser.bookmarks.restore_default_bookmarks', false);
user_pref('browser.bookmarks.showMobileBookmarks', false);
// compact tab bar
user_pref('browser.compactmode.show', true);
user_pref('browser.uidensity', 1);
@dangh
dangh / GruvboxLightSoft.colorscheme
Created May 20, 2026 12:24
Gruvbox Light Soft colorscheme for QTerminal
[General]
Description=Gruvbox Light Soft
Opacity=1
[Background]
Color=242,229,188
[BackgroundIntense]
Color=251,241,199