Skip to content

Instantly share code, notes, and snippets.

View xphir's full-sized avatar

Elliot Schot xphir

View GitHub Profile
@xphir
xphir / userChrome.css
Created June 29, 2025 09:41
Firefox hide native vertical tab bar if Sidebery is enabled
/*
Credit: https://gist.github.com/abhinav/00c2053b750b72e2d43bcf1652b5fb66
This is a userChrome.css for Firefox
that hides the vertical tab sidebar (used by Sidebery),
but only if Sidebery is enabled and the window title contains the "sidebery" preface.
Instructions:
1. Enable userChrome.css support and vertical tabs in Firefox:
1.1 Go to about:config
1.2 Set `toolkit.legacyUserProfileCustomizations.stylesheets` to `true`
#!/usr/bin/env bash
set -euo pipefail
cli_path="/Library/Developer/CommandLineTools"
flag_file="/tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress"
# Create install trigger file if CLI tools are not installed
if [[ ! -d "$cli_path" ]]; then
echo "🔍 Xcode Command Line Tools not found — preparing installation..."
touch "$flag_file"