mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-28 07:06:37 +00:00
Clean font, autoload; add torrents-csv, acmus
This commit is contained in:
parent
062c9714b1
commit
9179b974df
|
|
@ -1,5 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Invidious
|
|
||||||
Description=
|
|
||||||
Exec=fish -c invid
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
||||||
<?xml version='1.0'?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
|
||||||
<fontconfig>
|
|
||||||
<match target="font">
|
|
||||||
<edit mode="assign" name="hinting">
|
|
||||||
<bool>true</bool>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
<match target="font">
|
|
||||||
<edit mode="assign" name="hintstyle">
|
|
||||||
<const>hintslight</const>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
<match target="font">
|
|
||||||
<edit mode="assign" name="antialias">
|
|
||||||
<bool>true</bool>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
<match target="font">
|
|
||||||
<edit mode="assign" name="rgba">
|
|
||||||
<const>rgb</const>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
<match target="font">
|
|
||||||
<edit mode="assign" name="lcdfilter">
|
|
||||||
<const>lcddefault</const>
|
|
||||||
</edit>
|
|
||||||
</match>
|
|
||||||
<dir>~/.fonts</dir>
|
|
||||||
<alias binding="strong">
|
|
||||||
<family>monospace</family>
|
|
||||||
<prefer>
|
|
||||||
<family>Hack</family>
|
|
||||||
<family>FontAwesome Regular></family>
|
|
||||||
<family>Noto Color Emoji</family>
|
|
||||||
</prefer>
|
|
||||||
</alias>
|
|
||||||
<alias binding="strong">
|
|
||||||
<family>serif</family>
|
|
||||||
<prefer>
|
|
||||||
<family>Clear Sans</family>
|
|
||||||
</prefer>
|
|
||||||
</alias>
|
|
||||||
<alias binding="strong">
|
|
||||||
<family>sans-serif</family>
|
|
||||||
<prefer>
|
|
||||||
<family>Clear Sans</family>
|
|
||||||
</prefer>
|
|
||||||
</alias>
|
|
||||||
</fontconfig>
|
|
||||||
|
|
@ -55,9 +55,6 @@ config.set('content.notifications.enabled', True, 'https://mail.tutanota.com')
|
||||||
config.set('content.register_protocol_handler', True, 'https://mail.tutanota.com')
|
config.set('content.register_protocol_handler', True, 'https://mail.tutanota.com')
|
||||||
config.set('content.register_protocol_handler', False, 'https://mail.google.com?extsrc=mailto&url=%25s')
|
config.set('content.register_protocol_handler', False, 'https://mail.google.com?extsrc=mailto&url=%25s')
|
||||||
|
|
||||||
#import dracula.draw
|
|
||||||
#dracula.draw.blood(c, {'spacing': {'vertical': 1,'horizontal': 0}})
|
|
||||||
|
|
||||||
import socket
|
import socket
|
||||||
if socket.gethostname() == "wheatley":
|
if socket.gethostname() == "wheatley":
|
||||||
c.qt.highdpi = True
|
c.qt.highdpi = True
|
||||||
|
|
@ -66,3 +63,6 @@ if socket.gethostname() == "wheatley":
|
||||||
c.url.searchengines['y'] = "vid.puffyan.us/search?q={}"
|
c.url.searchengines['y'] = "vid.puffyan.us/search?q={}"
|
||||||
c.fonts.default_size = "11pt"
|
c.fonts.default_size = "11pt"
|
||||||
c.aliases['mpv'] = mpv + ' --ytdl-format=bestvideo[vcodec^=avc1]+bestaudio'
|
c.aliases['mpv'] = mpv + ' --ytdl-format=bestvideo[vcodec^=avc1]+bestaudio'
|
||||||
|
|
||||||
|
#import dracula.draw
|
||||||
|
#dracula.draw.blood(c, {'spacing': {'vertical': 1,'horizontal': 0}})
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
|
dial https://covid19.rpi.edu/dailycheckin
|
||||||
discord https://canary.discord.com/app
|
discord https://canary.discord.com/app
|
||||||
drop https://drop.lol
|
drop https://drop.lol
|
||||||
hn https://news.ycombinator.com
|
hn https://news.ycombinator.com
|
||||||
tuta https://mail.tutanota.com
|
|
||||||
lms https://lms.rpi.edu/ultra/stream
|
lms https://lms.rpi.edu/ultra/stream
|
||||||
submitty https://submitty.cs.rpi.edu/home
|
submitty https://submitty.cs.rpi.edu/courses/f21/csci1200/polls
|
||||||
dial https://covid19.rpi.edu/dailycheckin
|
tuta https://mail.tutanota.com
|
||||||
nands https://docs.google.com/document/d/1ALeMlvv5nxz0vYsVRf47wvGEjt8pdO6Y55ncptBg-Ng
|
|
||||||
|
|
|
||||||
7
dot-local/bin/acmus
Executable file
7
dot-local/bin/acmus
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
source=https://d17orwheorv96d.cloudfront.net
|
||||||
|
hour=$(date +%-I%p|tr APM apm)
|
||||||
|
curl $source/$1/$hour.ogg -so/tmp/ac
|
||||||
|
|
||||||
|
loops=$(bc <<< "(3600 - $(date +%s) % 3600)/$(soxi -D /tmp/ac)")
|
||||||
|
mpv --vid=no --no-resume-playback --loop=$loops /tmp/ac
|
||||||
|
|
@ -46,6 +46,7 @@ a invid 'tmux new -s 0 -d "docker-compose -f ~/.config/invid.yml up --build"'
|
||||||
a launcher 'rofi -combi-modi "drun,run" -show combi -modi "combi,window"'
|
a launcher 'rofi -combi-modi "drun,run" -show combi -modi "combi,window"'
|
||||||
a listen 'pactl list | grep loop && pactl unload-module module-loopback || pactl load-module module-loopback'
|
a listen 'pactl list | grep loop && pactl unload-module module-loopback || pactl load-module module-loopback'
|
||||||
a symlinks 'fd -td -d1 . $D -x sh -c "rm ~/{/}; rmdir ~/{/}; ln -s {} ~/{/}"'
|
a symlinks 'fd -td -d1 . $D -x sh -c "rm ~/{/}; rmdir ~/{/}; ln -s {} ~/{/}"'
|
||||||
|
a tcsv 'curl -sL http://torrents-csv.ml/service/search?q="$argv"|jq ".[]|.name,.infohash,.seeders";:'
|
||||||
a ydl 'yt-dlp -ciw --write-sub --write-auto-sub --embed-subs --sub-lang=en -o "%(title)s.%(ext)s"'
|
a ydl 'yt-dlp -ciw --write-sub --write-auto-sub --embed-subs --sub-lang=en -o "%(title)s.%(ext)s"'
|
||||||
|
|
||||||
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
|
a compress '7z a -m0=flzma2 -mx9 -mmt=8 -mfb=273 -md=256m -ms=on (realpath $argv[1]).7z'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
alias s=sudo se="sudo eopkg -y" g=git
|
alias s=sudo se="sudo eopkg -y" g=git
|
||||||
|
|
||||||
gnome="$(echo eog file-roller gnome-{calendar,photos,mpv,terminal} nautilus rhythmbox)"
|
gnome="$(echo eog file-roller gnome-{photos,mpv,terminal} nautilus rhythmbox)"
|
||||||
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
|
audio="audacious audacious-plugins audacity opus-tools quodlibet spek"
|
||||||
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx"
|
dev="ccache docker-compose git-extras llvm-clang neovim parallel solbuild tig upx"
|
||||||
gui="bleachbit caja gmic-gimp engrampa keepassxc kitty lutris vorta"
|
gui="bleachbit caja gmic-gimp engrampa keepassxc kitty lutris vorta"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue