update librewolf config to be ✨ fancy ✨
This commit is contained in:
parent
ee5e0b9e35
commit
d980f6831d
4 changed files with 94 additions and 7 deletions
|
@ -8,7 +8,6 @@ My dotfiles for:
|
|||
- nvim
|
||||
- gpg
|
||||
- Vencord Desktop (Vesktop)
|
||||
- i3
|
||||
- ~~sway~~ [SwayFX](https://github.com/WillPower3309/swayfx)
|
||||
- VS Code
|
||||
- Claws Mail
|
||||
|
@ -26,3 +25,8 @@ NOTE: Sway uses swayfx now, which has a bunch of effects
|
|||
---
|
||||
|
||||
![A screenshot of fastfetch (like neofetch) running with these dotfiles](/screenshot.png)
|
||||
|
||||
---
|
||||
|
||||
- NOTE: `librewolf/prefs.js` MUST end in a newline for `read` to work
|
||||
- [userChrome.css stolen from aagaming](https://git.catvibers.me/aa/nix/src/commit/42c4ee8d52538ee5f53045a90f528072e12c097c/desktop/apps/web/userChrome.css)
|
79
librewolf/chrome/userChrome.css
Normal file
79
librewolf/chrome/userChrome.css
Normal file
|
@ -0,0 +1,79 @@
|
|||
/* Title bar */
|
||||
.titlebar-buttonbox {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.titlebar-spacer {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Tab bar */
|
||||
:root {
|
||||
--tab-border-radius: 50px !important;
|
||||
--tabs-border-color: transparent !important;
|
||||
}
|
||||
#navigator-toolbox {
|
||||
border: 0px !important;
|
||||
}
|
||||
|
||||
#TabsToolbar {
|
||||
margin-left: 35vw !important;
|
||||
}
|
||||
|
||||
/* Nav bar*/
|
||||
#nav-bar {
|
||||
background: transparent !important;
|
||||
margin-top: -38px !important;
|
||||
margin-bottom: 3px !important;
|
||||
margin-right: 65vw !important;
|
||||
}
|
||||
|
||||
/* URL bar */
|
||||
/*
|
||||
#back-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#forward-button {
|
||||
display: none !important;
|
||||
}
|
||||
*/
|
||||
/*#tracking-protection-icon-container {
|
||||
display: none !important;
|
||||
}*/
|
||||
|
||||
#urlbar-container {
|
||||
width: unset !important;
|
||||
min-width: 0px !important;
|
||||
transition: min-width 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
|
||||
transition-property: min-width transform;
|
||||
}
|
||||
|
||||
#nav-bar[urlbar-exceeds-toolbar-bounds="true"] #urlbar-container {
|
||||
min-width: 100vw !important;
|
||||
border: 0px none !important;
|
||||
transform: translateX(-112px);
|
||||
z-index: 999999 !important;
|
||||
}
|
||||
|
||||
#urlbar-background, #searchbar {
|
||||
border: 0px none !important;
|
||||
}
|
||||
|
||||
#urlbar {
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
#page-action-buttons {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#PanelUI-button {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#nav-bar:not([tabs-hidden="true"]) {
|
||||
box-shadow: none !important;
|
||||
}
|
|
@ -3,4 +3,7 @@ user_pref("media.gmp-gmpopenh264.enabled", true);
|
|||
user_pref("widget.non-native-theme.scrollbar.size.override", 14);
|
||||
user_pref("widget.gtk.overlay-scrollbars.enabled", false);
|
||||
user_pref("privacy.sanitize.sanitizeOnShutdown", false);
|
||||
user_pref("privacy.override_rfp_for_color_scheme", true)
|
||||
user_pref("privacy.override_rfp_for_color_scheme", true);
|
||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||
user_pref("browser.compactmode.show", true);
|
||||
user_pref("privacy.sanitize.sanitizeOnShutdown", false);
|
||||
|
|
11
restore.sh
11
restore.sh
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
shopt -s extglob # used for not copying config.fish if it's nixos
|
||||
shopt -s extglob # used for not copying config.fish if it's nixos, and for librewolf
|
||||
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||
|
||||
command_exists() { type "$1" &>/dev/null; }
|
||||
|
@ -107,15 +107,16 @@ fi
|
|||
|
||||
cd ~/.librewolf
|
||||
for dir in $(find . -mindepth 1 -maxdepth 1 -type d -name "*.*"); do
|
||||
for line in $(cat $GIT_DIR/librewolf/prefs.js); do
|
||||
cp -r $GIT_DIR/librewolf/!(prefs.js) $dir
|
||||
while read line; do
|
||||
if ! grep -q "$line" $dir/prefs.js; then
|
||||
echo "$line" >>$dir/prefs.js
|
||||
echo "$line" | tee -a $dir/prefs.js
|
||||
fi
|
||||
done
|
||||
done <$GIT_DIR/librewolf/prefs.js
|
||||
done
|
||||
|
||||
# WezTerm
|
||||
wezterm shell-completion --shell fish > ~/.config/fish/completions/wezterm.fish
|
||||
wezterm shell-completion --shell fish >~/.config/fish/completions/wezterm.fish
|
||||
cp $GIT_DIR/wezterm.lua ~/.wezterm.lua
|
||||
gsettings set org.cinnamon.desktop.default-applications.terminal exec wezterm-gui
|
||||
|
||||
|
|
Loading…
Reference in a new issue