newsboat, bashrc, rofi
This commit is contained in:
parent
8fc87f5624
commit
427c60082d
|
@ -91,6 +91,7 @@ export PATH="$PATH:$GOBIN"
|
|||
# Install Ruby Gems to ~/gems
|
||||
export GEM_HOME="$HOME/gems"
|
||||
export PATH="$HOME/gems/bin:$PATH"
|
||||
export PATH="$HOME/.config/rofi/scripts:$PATH"
|
||||
export CALIBRE_USE_DARK_PALETTE=1
|
||||
#pfetch &
|
||||
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# save the image and open it with ucollage in fullscreen
|
||||
if [ ! -z $(echo $1 | grep -E '.jpg$|.jpeg$|.png$') ]; then
|
||||
gwenview $1
|
||||
#curl $1 --output /tmp/img_newsboat && tmux new-window\; send-keys "gwenview /tmp/img_newsboat" Enter\; send-keys Enter
|
||||
# open videos or youtube with mpv
|
||||
elif [ ! -z $(echo $1 | grep -E 'youtube.com|.mpg$|.mpeg$|.mp4$|.avi$|.mov$') ]; then
|
||||
mpv $1
|
||||
# open any other link type with librewolf
|
||||
else
|
||||
firefox $1
|
||||
fi
|
|
@ -51,7 +51,8 @@ show-title-bar yes
|
|||
#confirm-exit yes
|
||||
#cleanup-on-quit yes
|
||||
#delete-read-articles-on-quit no
|
||||
browser "firefox %u"
|
||||
#browser "firefox %u"
|
||||
browser "~/.config/newsboat/browser"
|
||||
external-url-viewer "urlscan"
|
||||
player "mpv"
|
||||
#download-retries 4
|
||||
|
|
|
@ -15,7 +15,7 @@ while [ $num = 0 ]; do
|
|||
|
||||
if [[ $choice = "Edit file" ]]; then
|
||||
touch $path/$filename.md
|
||||
echo -e "---\ntitle: $title\nheader: $title\ndescription: $description\ntags: $tags\npermalink: /blog/$filen/\nlayout: post\ndate: $today $(date +"%T") -0600\nhost: fosstodon.org\nusername: joel\ncom_id: idcomments\n---">> $path/$filename.md
|
||||
echo -e "---\ntitle: $title\nheader: $title\ndescription: $description\ntags: $tags\npermalink: /blog/$filen/\nlayout: post\ndate: $today $(date +"%T") -0500\nhost: benign.town\nusername: joel\ncom_id: idcomments\n---">> $path/$filename.md
|
||||
num=1
|
||||
alacritty -e nvim $path/$filename.md & disown
|
||||
#cp $path/$filename.md ~/Documents
|
||||
|
|
Loading…
Reference in New Issue