Enable newsboat in WSL and change it if I run windows or Linux.

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-07-30 15:44:43 +02:00
parent 33e6c2899d
commit b57512dc46
5 changed files with 14 additions and 4 deletions

View File

@ -1,6 +1,7 @@
auto-reload yes auto-reload yes
reload-time 900 refresh-on-startup yes
notify-program "/usr/bin/notify-send" reload-time 1
notify-program "$HOME/.local/bin/notify-program"
notify-always yes notify-always yes
unbind-key o unbind-key o
@ -18,5 +19,5 @@ color listfocus_unread yellow default bold
color info red black bold color info red black bold
color article white default bold color article white default bold
browser "firefox -new-tab %u" browser "$HOME/.local/bin/browser-x -new-tab %u"
player mpv player mpv

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
.cache/ .cache/
.cert/ .cert/
.config/ .config/
.config/newsboat/urlswork
.dbus/ .dbus/
.fehbg .fehbg
.ghc/ .ghc/

View File

@ -1,3 +1,6 @@
#!/bin/bash #!/bin/bash
set -x
#GDK_DPI_SCALE="1.3" firefox #GDK_DPI_SCALE="1.3" firefox
brave-bin --force-device-scale-factor=1.2& KERNEL=$(uname -sr)
[[ $KERNEL =~ "Microsoft" ]] && $HOME/.brave.exe "$@"
[[ $KERNEL =~ "gentoo" ]] && brave-bin --force-device-scale-factor=1.2 "$@"&

4
.local/bin/wsl-notify Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe "New-BurntToastNotification -Text \"$1\""

1
.zshrc
View File

@ -83,6 +83,7 @@ alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH"
alias vpnd="sudo /root/.local/bin/protonvpn d" alias vpnd="sudo /root/.local/bin/protonvpn d"
alias prolog="swipl" alias prolog="swipl"
alias tv="~/MEGA/tv/tv.sh" alias tv="~/MEGA/tv/tv.sh"
alias newswork="newsboat --url=$HOME/.config/newsboat/urlswork"
# Cleaning-up # Cleaning-up
export KODI_DATA="$HOME/.config/kodi" export KODI_DATA="$HOME/.config/kodi"