mirror of
https://github.com/Phantop/dotfiles
synced 2025-04-01 15:24:55 +00:00
qute: cleaner css handling
This commit is contained in:
parent
da7f06940f
commit
49e4176334
20
bin/setup
20
bin/setup
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
alias s=sudo g=git
|
alias g=git s=sudo w=wget
|
||||||
|
|
||||||
s pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
|
s pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
|
||||||
s pacman-key --lsign-key 3056513887B78AEB
|
s pacman-key --lsign-key 3056513887B78AEB
|
||||||
|
@ -8,7 +8,7 @@ s pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.z
|
||||||
printf '[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n' | s tee -a /etc/pacman.conf
|
printf '[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n' | s tee -a /etc/pacman.conf
|
||||||
s pacman -Syu
|
s pacman -Syu
|
||||||
xargs -o sudo pacman -S --needed < ~/.dotfiles/archpkgs
|
xargs -o sudo pacman -S --needed < ~/.dotfiles/archpkgs
|
||||||
yay -S pandoc-bin shellcheck-bin nvimpager
|
yay -S pandoc-bin shellcheck-bin
|
||||||
chsh -s "$(which fish)"
|
chsh -s "$(which fish)"
|
||||||
|
|
||||||
echo kernel.core_pattern=/dev/null | s tee -a /etc/sysctl.d/50-coredump.conf
|
echo kernel.core_pattern=/dev/null | s tee -a /etc/sysctl.d/50-coredump.conf
|
||||||
|
@ -19,15 +19,17 @@ mkdir -p ~/.parallel/will-cite ~/.config/aria2
|
||||||
stow --no-folding -d ~/.dotfiles -t ~/.config .
|
stow --no-folding -d ~/.dotfiles -t ~/.config .
|
||||||
fish -c "aliases"
|
fish -c "aliases"
|
||||||
|
|
||||||
wget https://github.com/dracula/kitty/raw/master/dracula.conf -P ~/.config/kitty
|
w https://github.com/dracula/kitty/raw/master/dracula.conf -P ~/.config/kitty
|
||||||
wget https://github.com/dracula/musikcube/raw/main/dracula.json -P ~/.config/musikcube/themes
|
w https://github.com/dracula/musikcube/raw/main/dracula.json -P ~/.config/musikcube/themes
|
||||||
wget https://github.com/dracula/rofi/raw/main/theme/config2.rasi -P ~/.config/rofi
|
w https://github.com/dracula/rofi/raw/main/theme/config2.rasi -P ~/.config/rofi
|
||||||
wget https://github.com/zedeus/nitter/raw/master/public/css/themes/dracula.css -P ~/.config/qutebrowser
|
|
||||||
|
|
||||||
wget https://github.com/mrzool/bash-sensible/raw/master/sensible.bash -O ~/.bashrc
|
w https://github.com/redlib-org/redlib/raw/main/static/themes/laserwave.css -P ~/.config/qutebrowser
|
||||||
wget https://source.netsurf-browser.org/netsurf.git/plain/resources/adblock.css -P ~/.config/qutebrowser
|
sed -i s/laserwave/fixed_navbar/ ~/.config/qutebrowser/laserwave.css
|
||||||
|
w https://github.com/zedeus/nitter/raw/master/public/css/themes/twitter_dark.css -P ~/.config/qutebrowser
|
||||||
|
ln -s /usr/share/netsurf/adblock.css ~/.config/qutebrowser
|
||||||
|
|
||||||
wget https://github.com/savq/paq-nvim/raw/master/lua/paq.lua -P ~/.config/nvim/lua
|
w https://github.com/mrzool/bash-sensible/raw/master/sensible.bash -O ~/.bashrc
|
||||||
|
w https://github.com/savq/paq-nvim/raw/master/lua/paq.lua -P ~/.config/nvim/lua
|
||||||
nvim +PaqInstall +q
|
nvim +PaqInstall +q
|
||||||
|
|
||||||
mkdir -p ~/.config/mpv/scripts
|
mkdir -p ~/.config/mpv/scripts
|
||||||
|
|
|
@ -53,5 +53,5 @@ cc.webpage.darkmode.policy.images = 'never'
|
||||||
c.completion.open_categories = ["bookmarks","history"]
|
c.completion.open_categories = ["bookmarks","history"]
|
||||||
c.content.fullscreen.window = True
|
c.content.fullscreen.window = True
|
||||||
c.content.prefers_reduced_motion = True
|
c.content.prefers_reduced_motion = True
|
||||||
c.content.user_stylesheets = ['adblock.css', 'dracula.css', 'user.css']
|
c.content.user_stylesheets = ['adblock.css', 'laserwave.css', 'twitter_dark.css', 'user.css']
|
||||||
c.tabs.show = 'multiple'
|
c.tabs.show = 'multiple'
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
$aria: gift, Help, Inbox;
|
$aria: gift, Help, Inbox;
|
||||||
@each $i in $aria {[aria-label$="#{$i}"] {display: none}}
|
@each $i in $aria {[aria-label$="#{$i}"] {display: none}}
|
||||||
[class^="private"] [class^="search"], [href="/store"], [href="/shop"] {display: none}
|
[class^="private"] [class^="search"], [href="/store"], [href="/shop"] {display: none}
|
||||||
[aria-label="Servers"] + div { display: none; + div { display: none; + div + div { display: none; } } }
|
[aria-label="Servers"] ~ div { display: none }
|
||||||
}
|
}
|
||||||
|
|
||||||
div.doc-container div.doc div {max-width: 666pt !important; margin: auto} // better docs mobiles
|
div.doc-container div.doc div {max-width: 666pt !important; margin: auto} // better docs mobiles
|
||||||
|
@ -41,18 +41,6 @@ $id: ads, leaderboard, player-ads, rc-row-container;
|
||||||
|
|
||||||
div.container > div.conversation > div#r.replies { display: none } //nitter replies
|
div.container > div.conversation > div#r.replies { display: none } //nitter replies
|
||||||
body>nav:nth-child(1):not([class]) {position: absolute} // nitter/libreddit/librex
|
body>nav:nth-child(1):not([class]) {position: absolute} // nitter/libreddit/librex
|
||||||
body {
|
|
||||||
--bg_panel: #232531;
|
|
||||||
--bg_overlays: var(--bg_panel);
|
|
||||||
--background: var(--bg_color);
|
|
||||||
--foreground: var(--bg_hover);
|
|
||||||
--green: var(--accent);
|
|
||||||
--highlighted: var(--bg_hover);
|
|
||||||
--outside: var(--post);
|
|
||||||
--post: #333544;
|
|
||||||
--panel-border: var(--post);
|
|
||||||
--shadow: 0 1px 3px #00000055;
|
|
||||||
}
|
|
||||||
|
|
||||||
body>div#outer.wrapper { //ao3
|
body>div#outer.wrapper { //ao3
|
||||||
zoom: 110%;
|
zoom: 110%;
|
||||||
|
|
Loading…
Reference in a new issue