switch mpv theme add newsboat
parent
b96f043a5a
commit
bf3f32345a
|
@ -40,15 +40,15 @@ alias gaming='distrobox enter gaming'
|
||||||
|
|
||||||
note() {
|
note() {
|
||||||
NOTEFILE="$HOME/.cache/notes"
|
NOTEFILE="$HOME/.cache/notes"
|
||||||
if [ "$#" -lt 1 ]; then
|
if [ "$1" = "-l" ]; then
|
||||||
cat "$NOTEFILE"
|
cat "$NOTEFILE"
|
||||||
elif [ "$1" = "-e" ]; then
|
elif [ "$1" = "-e" ]; then
|
||||||
$EDITOR "$NOTEFILE"
|
$EDITOR "$NOTEFILE"
|
||||||
elif [ "$1" = "-h" ]; then
|
elif [ $# -lt 1 ]; then
|
||||||
echo " usage: note this is a note"
|
echo " usage: note this is a note"
|
||||||
echo " the line: \"this is a note\" is stored as a line in the file $NOTEFILE"
|
echo " the line: \"this is a note\" is stored as a line in the file $NOTEFILE"
|
||||||
echo ""
|
echo ""
|
||||||
echo " run this without arguments to view the contents of $NOTEFILE"
|
echo " -l -> to view the contents of $NOTEFILE"
|
||||||
echo " -e -> edit note file with \$EDITOR"
|
echo " -e -> edit note file with \$EDITOR"
|
||||||
echo " -h -> print this help menu"
|
echo " -h -> print this help menu"
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
hwdec=vaapi
|
hwdec=vaapi
|
||||||
gpu-context=wayland
|
gpu-context=wayland
|
||||||
osc=no
|
#osc=no
|
||||||
alang=jpn
|
alang=jpn
|
||||||
slang=eng
|
slang=eng
|
||||||
ao=pipewire,
|
ao=pipewire,
|
||||||
|
@ -21,7 +21,15 @@ loop-file=inf
|
||||||
loop-file=inf
|
loop-file=inf
|
||||||
|
|
||||||
#added for theme
|
#added for theme
|
||||||
[idle]
|
#[idle]
|
||||||
|
#profile-cond=p["idle-active"]
|
||||||
|
#profile-restore=copy-equal
|
||||||
|
#background=1
|
||||||
|
osc=no
|
||||||
|
[Auto.Idle]
|
||||||
profile-cond=p["idle-active"]
|
profile-cond=p["idle-active"]
|
||||||
profile-restore=copy-equal
|
profile-restore=copy-equal
|
||||||
background=1
|
osd-playing-msg=' '
|
||||||
|
title=' '
|
||||||
|
background=1.0
|
||||||
|
geometry=640
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
font=Consolas
|
||||||
|
logotext={\\1c&H00\\bord0\\fs30\\fn微软雅黑 light\\fscx125}MPV{\\fscx100} 播放器
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,55 @@
|
||||||
|
#show-read-feeds no
|
||||||
|
auto-reload yes
|
||||||
|
|
||||||
|
external-url-viewer "urlscan -dc -r 'linkhandler {}'"
|
||||||
|
|
||||||
|
bind-key j down
|
||||||
|
bind-key k up
|
||||||
|
bind-key j next articlelist
|
||||||
|
bind-key k prev articlelist
|
||||||
|
bind-key J next-feed articlelist
|
||||||
|
bind-key K prev-feed articlelist
|
||||||
|
bind-key G end
|
||||||
|
bind-key g home
|
||||||
|
bind-key d pagedown
|
||||||
|
bind-key u pageup
|
||||||
|
bind-key l open
|
||||||
|
bind-key h quit
|
||||||
|
bind-key a toggle-article-read
|
||||||
|
bind-key n next-unread
|
||||||
|
bind-key N prev-unread
|
||||||
|
bind-key D pb-download
|
||||||
|
bind-key U show-urls
|
||||||
|
bind-key x pb-delete
|
||||||
|
|
||||||
|
color listnormal cyan default
|
||||||
|
color listfocus black yellow standout bold
|
||||||
|
color listnormal_unread blue default
|
||||||
|
color listfocus_unread yellow default bold
|
||||||
|
color info red black bold
|
||||||
|
color article white default bold
|
||||||
|
|
||||||
|
browser linkhandler
|
||||||
|
macro , open-in-browser
|
||||||
|
macro t set browser "qndl" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro a set browser "tsp yt-dlp --embed-metadata -xic -f bestaudio/best --restrict-filenames" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro v set browser "setsid -f mpv" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro w set browser "lynx" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro d set browser "dmenuhandler" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro c set browser "echo %u | xclip -r -sel c" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro C set browser "youtube-viewer --comments=%u" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro p set browser "peertubetorrent %u 480" ; open-in-browser ; set browser linkhandler
|
||||||
|
macro P set browser "peertubetorrent %u 1080" ; open-in-browser ; set browser linkhandler
|
||||||
|
|
||||||
|
highlight all "---.*---" yellow
|
||||||
|
highlight feedlist ".*(0/0))" black
|
||||||
|
highlight article "(^Feed:.*|^Title:.*|^Author:.*)" cyan default bold
|
||||||
|
highlight article "(^Link:.*|^Date:.*)" default default
|
||||||
|
highlight article "https?://[^ ]+" green default
|
||||||
|
highlight article "^(Title):.*$" blue default
|
||||||
|
highlight article "\\[[0-9][0-9]*\\]" magenta default bold
|
||||||
|
highlight article "\\[image\\ [0-9]+\\]" green default bold
|
||||||
|
highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold
|
||||||
|
highlight article ":.*\\(link\\)$" cyan default
|
||||||
|
highlight article ":.*\\(image\\)$" blue default
|
||||||
|
highlight article ":.*\\(embedded flash\\)$" magenta default
|
|
@ -0,0 +1,11 @@
|
||||||
|
http://suckless.org/atom.xml
|
||||||
|
https://www.revolver.news/feed/
|
||||||
|
https://www.bitchute.com/feeds/rss/channel/liberum-arbitrium/
|
||||||
|
https://notrelated.xyz/rss
|
||||||
|
https://videos.lukesmith.xyz/feeds/videos.xml?accountId=3
|
||||||
|
https://lukesmith.xyz/rss.xml
|
||||||
|
https://stonetoss.com/index.php/comic/feed/
|
||||||
|
https://ctrlpew.com/feed
|
||||||
|
https://odysee.com/$/rss/@keithwoods:e
|
||||||
|
https://www.youtube.com/feeds/videos.xml?channel_id=UCeJFgNahi--FKs0oJyeRDEw
|
||||||
|
https://www.youtube.com/feeds/videos.xml?channel_id=UCIh_TPYPqjJuS_-nOfAIlfg
|
Binary file not shown.
Loading…
Reference in New Issue