1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-03-22 09:59:26 +00:00

Qute/Setup: update for school; rofi: fix theme

This commit is contained in:
Phantop 2021-09-07 14:31:45 -04:00
parent 425a754b25
commit 637ab73684
6 changed files with 190 additions and 10 deletions

View file

@ -32,6 +32,7 @@ mpv = 'spawn -m -d -v mpv --ytdl-raw-options=write-sub=,write-auto-sub=,embed-su
c.aliases['mpv'] = mpv
c.aliases['mpv4'] = mpv + ' --ytdl-format=bestvideo[vcodec^=avc1]+bestaudio'
c.aliases['remove-sticky'] = 'jseval -q !function(){var e,o=document.querySelectorAll("body *");for(e=0;e<o.length;e++)["sticky","fixed"].includes(getComputedStyle(o[e]).position)&&o[e].parentNode.removeChild(o[e])}();'
c.aliases['re'] = 'restart'
c.content.blocking.method = "both"
host = c.content.blocking.hosts.lists.append
@ -54,3 +55,12 @@ config.set('content.register_protocol_handler', False, 'https://mail.google.com?
#import dracula.draw
#dracula.draw.blood(c, {'spacing': {'vertical': 1,'horizontal': 0}})
import socket
if socket.gethostname() == "wheatley":
c.qt.highdpi = True
c.zoom.default = 125
c.url.start_pages = "covid19.rpi.edu/dailycheckin"
c.url.searchengines['y'] = "vid.puffyan.us/search?q={}"
c.fonts.default_size = "11pt"
c.aliases['mpv'] = mpv + ' --ytdl-format=bestvideo[vcodec^=avc1]+bestaudio'

View file

@ -2,3 +2,8 @@ discord https://discord.com/app
drop https://drop.lol
hn https://news.ycombinator.com
tuta https://mail.tutanota.com
webex https://rensselaer.webex.com/
lms https://lms.rpi.edu/ultra/stream
submitty https://submitty.cs.rpi.edu/home
dial https://covid19.rpi.edu/dailycheckin
nands https://docs.google.com/document/d/1ALeMlvv5nxz0vYsVRf47wvGEjt8pdO6Y55ncptBg-Ng

View file

@ -2,7 +2,7 @@ from qutebrowser.api import interceptor
import operator, typing
invid = 'vid.puffyan.us'
nitter = 'nitter.database.red'
nitter = 'nitter.snopyta.org'
reddit = 'teddit.net'
o = operator.methodcaller

View file

@ -2,10 +2,174 @@ configuration {
show-icons: true;
run-command: "fish -c '{cmd}'";
run-list-command: "'fish -c functions'";
separator-style: "none";
color-normal: "argb:2c263238, #c4cbd4, argb:2c263238, #5294E2, #f9f9f9";
color-urgent: "argb:2c263238, #cc6666, argb:e54b5160, #a54242, #f9f9f9";
color-active: "argb:2c263238, #65acff, argb:e44b5160, #4491ed, #f9f9f9";
color-window: "argb:f2263238, #7c8389, #263238";
}
* {
red: rgba ( 220, 50, 47, 100 % );
selected-active-foreground: rgba ( 249, 249, 249, 100 % );
lightfg: rgba ( 88, 104, 117, 100 % );
separatorcolor: rgba ( 38, 50, 56, 100 % );
urgent-foreground: rgba ( 204, 102, 102, 100 % );
alternate-urgent-background: rgba ( 75, 81, 96, 90 % );
lightbg: rgba ( 238, 232, 213, 100 % );
background-color: rgba ( 0, 0, 0, 0 % );
border-color: rgba ( 124, 131, 137, 100 % );
normal-background: rgba ( 38, 50, 56, 17 % );
selected-urgent-background: rgba ( 165, 66, 66, 100 % );
alternate-active-background: rgba ( 75, 81, 96, 89 % );
spacing: 2;
blue: rgba ( 38, 139, 210, 100 % );
alternate-normal-foreground: var(foreground);
urgent-background: rgba ( 38, 50, 56, 17 % );
selected-normal-foreground: rgba ( 249, 249, 249, 100 % );
active-foreground: rgba ( 101, 172, 255, 100 % );
background: rgba ( 38, 50, 56, 95 % );
selected-active-background: rgba ( 68, 145, 237, 100 % );
active-background: rgba ( 38, 50, 56, 17 % );
selected-normal-background: rgba ( 82, 148, 226, 100 % );
alternate-normal-background: rgba ( 38, 50, 56, 17 % );
foreground: rgba ( 196, 203, 212, 100 % );
selected-urgent-foreground: rgba ( 249, 249, 249, 100 % );
normal-foreground: var(foreground);
alternate-urgent-foreground: var(urgent-foreground);
alternate-active-foreground: var(active-foreground);
}
element {
padding: 1px ;
spacing: 5px ;
border: 0;
}
element normal.normal {
background-color: var(normal-background);
text-color: var(normal-foreground);
}
element normal.urgent {
background-color: var(urgent-background);
text-color: var(urgent-foreground);
}
element normal.active {
background-color: var(active-background);
text-color: var(active-foreground);
}
element selected.normal {
background-color: var(selected-normal-background);
text-color: var(selected-normal-foreground);
}
element selected.urgent {
background-color: var(selected-urgent-background);
text-color: var(selected-urgent-foreground);
}
element selected.active {
background-color: var(selected-active-background);
text-color: var(selected-active-foreground);
}
element alternate.normal {
background-color: var(alternate-normal-background);
text-color: var(alternate-normal-foreground);
}
element alternate.urgent {
background-color: var(alternate-urgent-background);
text-color: var(alternate-urgent-foreground);
}
element alternate.active {
background-color: var(alternate-active-background);
text-color: var(alternate-active-foreground);
}
element-text {
background-color: rgba ( 0, 0, 0, 0 % );
highlight: inherit;
text-color: inherit;
}
element-icon {
background-color: rgba ( 0, 0, 0, 0 % );
size: 1.0000em ;
text-color: inherit;
}
window {
padding: 5;
background-color: var(background);
border: 1;
}
mainbox {
padding: 0;
border: 0;
}
message {
padding: 1px ;
border-color: var(separatorcolor);
border: 0px ;
}
textbox {
text-color: var(foreground);
}
listview {
padding: 2px 0px 0px ;
scrollbar: true;
border-color: var(separatorcolor);
spacing: 2px ;
fixed-height: 0;
border: 0px ;
}
scrollbar {
width: 4px ;
padding: 0;
handle-width: 8px ;
border: 0;
handle-color: var(normal-foreground);
}
sidebar {
border-color: var(separatorcolor);
border: 2px dash 0px 0px ;
}
button {
spacing: 0;
text-color: var(normal-foreground);
}
button selected {
background-color: var(selected-normal-background);
text-color: var(selected-normal-foreground);
}
num-filtered-rows {
expand: false;
text-color: rgba ( 128, 128, 128, 100 % );
}
num-rows {
expand: false;
text-color: rgba ( 128, 128, 128, 100 % );
}
textbox-num-sep {
expand: false;
str: "/";
text-color: rgba ( 128, 128, 128, 100 % );
}
inputbar {
padding: 1px ;
spacing: 0px ;
text-color: var(normal-foreground);
children: [ prompt,textbox-prompt-colon,entry,num-filtered-rows,textbox-num-sep,num-rows,case-indicator ];
}
case-indicator {
spacing: 0;
text-color: var(normal-foreground);
}
entry {
text-color: var(normal-foreground);
spacing: 0;
placeholder-color: rgba ( 128, 128, 128, 100 % );
placeholder: "Type to filter";
}
prompt {
spacing: 0;
text-color: var(normal-foreground);
}
textbox-prompt-colon {
margin: 0px 0.3000em 0.0000em 0.0000em ;
expand: false;
str: ":";
text-color: inherit;
}
mode-switcher {
border: 0px ;
}
//@import "dracula"

View file

@ -8,7 +8,7 @@ a bax 'source (which bax) && bax'
a cd 'cd (realpath $argv 2> /dev/null);:'
a clip 'xclip -sel clip'
a cpugov 's cpupower frequency-set -g performance'
a dirdl 'wget -r -k -p --no-parent --no-clobber -e robots=off'
a dirdl 'wget -r -k -p --no-parent --no-clobber -e robots=off -R "index.html*"'
a dl 'not test "$argv" && cd ~/Downloads || aria2c -c -x16 -s16'
a dot 'cd ~/.dotfiles'
a ff 'fd -HILi -Edosdevices -E.git'

7
.setup
View file

@ -7,13 +7,14 @@ sudo eopkg it -y -c system.devel
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig tor upx"
gui="bleachbit caja gmic-gimp engrampa ifuse keepassx kitty lutris vorta"
gui="abiword bleachbit caja gmic-gimp engrampa ifuse keepassx kitty lutris vorta"
media="avidemux gaupol jpegoptim mpv playerctl rsync usbmuxd viewnior zathura-poppler"
rice="adapta-gtk-theme ant-dracula-gtk-theme font-ubuntu-ttf rofi starship stow"
term="advancecomp autojump fd fish fzf innoextract most ncdu p7zip ranger ripgrep rsync tmux"
web="arcanist aria2 deluge qutebrowser openssh-server speedtest-cli subliminal"
sys="linux-tools-cpupower tlp"
web="arcanist aria2 deluge nicotine-plus qutebrowser openssh-server speedtest-cli subliminal"
sudo eopkg it -y $audio $dev $gui $media $rice $term $web
sudo eopkg it -y $audio $dev $gui $media $rice $sys $term $web
sudo eopkg rm -y --ignore-dependency tracker
parallel pip3 install -U ::: adblock pipipxx readability-lxml sh
parallel pipx install ::: deemix soundscrape tldr