Firefox userchrome script

This commit is contained in:
Daniel Flanagan 2022-03-03 10:44:25 -06:00
parent 4d937dd8b0
commit 3e4f318386
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
5 changed files with 38 additions and 3 deletions

View File

@ -0,0 +1,18 @@
#!/usr/bin/env fish
set profile_dirs ~/.mozilla/firefox/*.dev-edition-default
for p in $profile_dirs
mkdir -p $p/chrome
set user_chrome_css_file $p/chrome/userChrome.css
echo '/* Generated by '(status -f)' -- do not edit manually! */' > $user_chrome_css_file
cat $DOTFILES_PATH/common/firefox/userChrome.d.css >> $user_chrome_css_file
echo >> $user_chrome_css_file
for file_part in $ENV_PATH/*/firefox/userChrome.d.css
cat $file_part >> $user_chrome_css_file
echo >> $user_chrome_css_file
end
echo Built $user_chrome_css_file
end
echo Make sure you set 'toolkit.legacyUserProfileCustomizations.stylesheets' to true in about:config

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
tmux-lyte-session notes $NOTES_DIR -- fish -C "N _scratch"
N _scratch

View File

@ -2,5 +2,10 @@
set session_name $argv[1]
set dir (set -q argv[2] && echo $argv[2] || pwd)
tmux new-session -D -s "$session_name" -c "$dir" $argv[3..-1] || \
tmux attach-session -d -t "$session_name" -c "$dir"
if set -q TMUX
tmux switch -t $session_name
else
tmux new-session -D -s "$session_name" -c "$dir" $argv[3..-1] || \
tmux switch -d -t "$session_name" -c "$dir"
end

View File

@ -0,0 +1,3 @@
#webrtcIndiator {
display: none;
}

View File

@ -0,0 +1,9 @@
#main-window[tabsintitlebar="true"]:not([extradragspace="true"])
#TabsToolbar
> .toolbar-items {
opacity: 0;
pointer-events: none;
}
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse !important;
}