smaller changes
This commit is contained in:
parent
61de6fb777
commit
66d3669b51
@ -1,11 +1,11 @@
|
|||||||
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||||
|
|
||||||
include "/home/luke/.gtkrc-2.0.mine"
|
include "/home/alex/.gtkrc-2.0.mine"
|
||||||
gtk-theme-name="Kripton"
|
gtk-theme-name="Kripton"
|
||||||
gtk-icon-theme-name="Adwaita"
|
gtk-icon-theme-name="Adwaita"
|
||||||
gtk-font-name="Sans 10"
|
gtk-font-name="Sans 10"
|
||||||
gtk-cursor-theme-name="Adwaita"
|
gtk-cursor-theme-name="Kripton"
|
||||||
gtk-cursor-theme-size=0
|
gtk-cursor-theme-size=0
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_TEXT
|
gtk-toolbar-style=GTK_TOOLBAR_TEXT
|
||||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
file:///home/alex/.config/openvpn/cfgs
|
||||||
file:///home/alex/Drive
|
file:///home/alex/Drive
|
||||||
|
@ -9,12 +9,26 @@ settings:
|
|||||||
bindings.commands:
|
bindings.commands:
|
||||||
global:
|
global:
|
||||||
normal:
|
normal:
|
||||||
|
',A': spawn -d catt add {url}
|
||||||
',C': spawn -d st castyt {url}
|
',C': spawn -d st castyt {url}
|
||||||
',S': spawn -d mpvallvids {url}
|
',S': spawn -d mpvallvids {url}
|
||||||
',V': spawn -d startmpv {url}
|
',V': spawn -d startmpv {url}
|
||||||
',X': spawn -d dmenuhandler {url}
|
',X': spawn -d dmenuhandler {url}
|
||||||
|
',a': hint links spawn -d catt add {hint-url}
|
||||||
|
',ap': config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/apprentice/apprentice-all-sites.css
|
||||||
|
""
|
||||||
',c': hint links spawn -d st castyt {hint-url}
|
',c': hint links spawn -d st castyt {hint-url}
|
||||||
|
',dd': config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/solarized-dark/solarized-dark-all-sites.css
|
||||||
|
""
|
||||||
|
',dr': config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/darculized/darculized-all-sites.css
|
||||||
|
""
|
||||||
|
',gv': config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/gruvbox/gruvbox-all-sites.css
|
||||||
|
""
|
||||||
|
',nd': config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/nord/nord.css
|
||||||
|
""
|
||||||
',s': hint links spawn -d mpvallvids {hint-url}
|
',s': hint links spawn -d mpvallvids {hint-url}
|
||||||
|
',tr': config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/dark/dark-all-sites.css
|
||||||
|
""
|
||||||
',v': hint links spawn -d startmpv {hint-url}
|
',v': hint links spawn -d startmpv {hint-url}
|
||||||
',x': hint links spawn -d dmenuhandler {hint-url}
|
',x': hint links spawn -d dmenuhandler {hint-url}
|
||||||
content.desktop_capture:
|
content.desktop_capture:
|
||||||
@ -66,12 +80,12 @@ settings:
|
|||||||
tabs.tabs_are_windows:
|
tabs.tabs_are_windows:
|
||||||
global: true
|
global: true
|
||||||
url.default_page:
|
url.default_page:
|
||||||
global: https://searx.bocken.org
|
global: https://searx.lukesmith.xyz/
|
||||||
url.open_base_url:
|
url.open_base_url:
|
||||||
global: true
|
global: true
|
||||||
url.searchengines:
|
url.searchengines:
|
||||||
global:
|
global:
|
||||||
DEFAULT: https://searx.bocken.org/?q={}&categories=general&language=en-US
|
DEFAULT: https://searx.lukesmith.xyz/?q={}
|
||||||
ddg: https://duckduckgo.com/?q={}
|
ddg: https://duckduckgo.com/?q={}
|
||||||
gg: https://linggle.com/?q={}
|
gg: https://linggle.com/?q={}
|
||||||
ling: https://www.linguee.com/english-german/search?source=auto&query={}
|
ling: https://www.linguee.com/english-german/search?source=auto&query={}
|
||||||
@ -79,6 +93,6 @@ settings:
|
|||||||
sx: https://searx.bocken.org/?q={}&categories=general&language=en-US
|
sx: https://searx.bocken.org/?q={}&categories=general&language=en-US
|
||||||
yt: https://www.youtube.com/results?search_query={}
|
yt: https://www.youtube.com/results?search_query={}
|
||||||
url.start_pages:
|
url.start_pages:
|
||||||
global: https://searx.bocken.org/
|
global: https://searx.lukesmith.xyz/
|
||||||
zoom.default:
|
zoom.default:
|
||||||
global: 160%
|
global: 160%
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
https://traditionalcatholicprayers.com/2019/11/12/how-to-pray-the-rosary-in-latin/ How to Pray the Rosary in Latin | Traditional Catholic Prayers
|
https://traditionalcatholicprayers.com/2019/11/12/how-to-pray-the-rosary-in-latin/ How to Pray the Rosary in Latin | Traditional Catholic Prayers
|
||||||
https://people.math.ethz.ch/~fdalio/ANALYSISIIIDMAVTDMATLHS20 Personal Homepage of Prof. Dr. Francesca Da Lio
|
https://people.math.ethz.ch/~fdalio/ANALYSISIIIDMAVTDMATLHS20 Personal Homepage of Prof. Dr. Francesca Da Lio
|
||||||
http://n.ethz.ch/~staerkr/ Roland Stärk
|
http://n.ethz.ch/~staerkr/ Roland Stärk
|
||||||
|
https://www.kath-flims-trin.ch/Pfarramt Pfarrer, Katholische Kirchgemeinde Flims-Trin
|
||||||
|
https://ostechnix.com/setup-japanese-language-environment-arch-linux/ How To Setup Japanese Language Environment In Arch Linux
|
||||||
|
https://www.localizingjapan.com/blog/2012/01/20/regular-expressions-for-japanese-text/ Regular Expressions for Japanese Text - Localizing Japan
|
||||||
|
@ -18,3 +18,4 @@ config.bind(',dr', 'config-cycle content.user_stylesheets ~/src/solarized-everyt
|
|||||||
config.bind(',ap', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/apprentice/apprentice-all-sites.css ""')
|
config.bind(',ap', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/apprentice/apprentice-all-sites.css ""')
|
||||||
config.bind(',gv', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/gruvbox/gruvbox-all-sites.css ""')
|
config.bind(',gv', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/gruvbox/gruvbox-all-sites.css ""')
|
||||||
config.bind(',dd', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/solarized-dark/solarized-dark-all-sites.css ""')
|
config.bind(',dd', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/solarized-dark/solarized-dark-all-sites.css ""')
|
||||||
|
config.bind(',nd', 'config-cycle content.user_stylesheets ~/src/solarized-everything-css/css/nord/nord.css ""')
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[FileDialog]
|
[FileDialog]
|
||||||
history=file:///home/alex/dox/encyclicals/piousX/1907-modernists, file:///home/alex/dox/encyclicals/piousXI/1937-sorge, file:///home/alex/eth/dynamics, file:///home/alex, file:///home/alex/dl
|
history=file:///home/alex/dox/encyclicals/piousXI/1937-sorge, file:///home/alex/eth/dynamics, file:///home/alex, file:///home/alex/dl, file:///home/alex/src/kanji
|
||||||
lastVisited=file:///home/alex
|
lastVisited=file:///home/alex
|
||||||
qtVersion=5.15.1
|
qtVersion=5.15.2
|
||||||
shortcuts=file:, file:///home/alex
|
shortcuts=file:, file:///home/alex
|
||||||
sidebarWidth=82
|
sidebarWidth=82
|
||||||
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xd9\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe5\0\0\0\x1\0\0\0\0\0\0\0O\0\0\0\x1\0\0\0\0\0\0\0O\0\0\0\x1\0\0\0\0\0\0\0V\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
|
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xd9\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe5\0\0\0\x1\0\0\0\0\0\0\0O\0\0\0\x1\0\0\0\0\0\0\0O\0\0\0\x1\0\0\0\0\0\0\0V\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
|
||||||
|
@ -166,7 +166,7 @@ ext djvu, has evince, X, flag f = evince -- "$@"
|
|||||||
ext djvu, has atril, X, flag f = atril -- "$@"
|
ext djvu, has atril, X, flag f = atril -- "$@"
|
||||||
ext djvu, has djview, X, flag f = djview -- "$@"
|
ext djvu, has djview, X, flag f = djview -- "$@"
|
||||||
|
|
||||||
ext epub, has zathura, X, flag f = zathura -- "$@"
|
ext epub|mobi|cbz, has zathura, X, flag f = zathura -- "$@"
|
||||||
ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
|
ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
@ -4,22 +4,23 @@ export XDG_VIDEOS_DIR=$HOME/vids
|
|||||||
DLARCHIVE=$XDG_VIDEOS_DIR/.downloaded
|
DLARCHIVE=$XDG_VIDEOS_DIR/.downloaded
|
||||||
DLLOC=$XDG_VIDEOS_DIR
|
DLLOC=$XDG_VIDEOS_DIR
|
||||||
CHANNELSFILE=$XDG_VIDEOS_DIR/.channels
|
CHANNELSFILE=$XDG_VIDEOS_DIR/.channels
|
||||||
|
BLACKLIST=$XDG_VIDEOS_DIR/.blacklist
|
||||||
|
|
||||||
# Required to display notifications if run as a cronjob:
|
# Required to display notifications if run as a cronjob:
|
||||||
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
||||||
export DISPLAY=:0.0
|
export DISPLAY=:0.0
|
||||||
|
|
||||||
range="now-40years"
|
range="now-40years"
|
||||||
notify-send "Channel Ripper" "Scanning for new Videos to download"
|
#notify-send "Channel Ripper" "Scanning for new Videos to download"
|
||||||
echo "Scanning for new Videos to download"
|
echo "Scanning for new Videos to download"
|
||||||
grep 'youtube' "$CHANNELSFILE" | xargs -L1 lynx --dump --listonly --nonumbers | grep 'videos.xml' | xargs lynx --dump | grep 'yt:video:' | perl -pe 's/^.*yt:video:([^ \t\s]*) .*$/https:\/\/www\.youtube\.com\/watch\?v=\1/' > /tmp/todownload
|
grep 'youtube' "$CHANNELSFILE" | xargs -L1 lynx --dump --listonly --nonumbers | grep 'videos.xml' | xargs lynx --dump | grep -oE 'yt:video:[^\s\t ]{11,15}' | perl -pe 's/^yt:video:([^ \t\s]*)$/https:\/\/www\.youtube\.com\/watch\?v=\1/' | grep -vf "$BLACKLIST" > /tmp/todownload
|
||||||
grep 'youtube' "$DLARCHIVE" | sed 's/youtube /https:\/\/www\.youtube\.com\/watch?v=/' > /tmp/alreadydownloaded
|
grep 'youtube' "$DLARCHIVE" | sed 's/youtube /https:\/\/www\.youtube\.com\/watch?v=/' > /tmp/alreadydownloaded
|
||||||
|
|
||||||
grep 'bitchute' "$CHANNELSFILE" | xargs -L1 lynx --dump --nonumbers -listonly $1 | grep 'bitchute\.com\/video' | sort -u >> /tmp/todownload
|
grep 'bitchute' "$CHANNELSFILE" | xargs -L1 lynx --dump --nonumbers -listonly $1 | grep 'bitchute\.com\/video' | sort -u | grep -vf "$BLACKLIST" >> /tmp/todownload
|
||||||
grep 'bitchute' "$DLARCHIVE" | sed 's/bitchute /https:\/\/www\.bitchute\.com\/video\//' >> /tmp/alreadydownloaded
|
grep 'bitchute' "$DLARCHIVE" | sed 's/bitchute /https:\/\/www\.bitchute\.com\/video\//' >> /tmp/alreadydownloaded
|
||||||
|
|
||||||
number=$(grep -vf /tmp/alreadydownloaded /tmp/todownload | sort -u | wc -l)
|
number=$(grep -vf /tmp/alreadydownloaded /tmp/todownload | grep -vf $BLACKLIST | sort -u | wc -l)
|
||||||
|
grep -vf /tmp/alreadydownloaded /tmp/todownload | sort -u
|
||||||
if [ $number -gt 0 ]; then
|
if [ $number -gt 0 ]; then
|
||||||
[ $number -eq 1 ] && ( notify-send "Channel Ripper" "1 new video available for download, downloading now." ) || ( notify-send "Channel Ripper" "$number new videos available for download, downloading now." )
|
[ $number -eq 1 ] && ( notify-send "Channel Ripper" "1 new video available for download, downloading now." ) || ( notify-send "Channel Ripper" "$number new videos available for download, downloading now." )
|
||||||
echo "$number new videos for download available, downloading now."
|
echo "$number new videos for download available, downloading now."
|
||||||
@ -31,7 +32,7 @@ fi
|
|||||||
|
|
||||||
if [ $number -eq 0 ]; then
|
if [ $number -eq 0 ]; then
|
||||||
echo "No new Videos"
|
echo "No new Videos"
|
||||||
notify-send "Channel Ripper" "No new Videos"
|
#notify-send "Channel Ripper" "No new Videos"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f /tmp/alreadydownloaded
|
rm -f /tmp/alreadydownloaded
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
alldata="/tmp/allfiles"
|
alldata="/tmp/allfiles"
|
||||||
videos="/tmp/videos"
|
videos="/tmp/videos"
|
||||||
du -a ~/vids/* --time | awk '!($1="")' | sort -bg | awk '!($1="")' | awk '!($1="")' | sed 's/^ //' | tac > $alldata
|
du -a ~/vids/* --time | awk '!($1="")' | sort -bgr | awk '!($1="")' | awk '!($1="")' | sed 's/^ //' > $alldata
|
||||||
touch $videos
|
touch $videos
|
||||||
while read line; do
|
while read -r line; do
|
||||||
[ -f "$line" ] && echo $line >> $videos
|
[ -f "$line" ] && echo "$line" >> $videos
|
||||||
done <$alldata
|
done <$alldata
|
||||||
cat $videos | dmenu -i -l 30 -p "Choose a video to watch:" | sed 's/^/\"/' | sed 's/$/\"/' | xargs -r xdg-open
|
dmenu -i -l 30 -p "Choose a video to watch:" <"$videos" | sed 's/^/\"/' | sed 's/$/\"/' | xargs -r rifle
|
||||||
rm "$alldata"
|
rm "$alldata"
|
||||||
rm "$videos"
|
rm "$videos"
|
||||||
|
Loading…
Reference in New Issue
Block a user