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:
		@@ -1,6 +1,7 @@
 | 
			
		||||
auto-reload yes
 | 
			
		||||
reload-time 900 
 | 
			
		||||
notify-program "/usr/bin/notify-send"
 | 
			
		||||
refresh-on-startup yes
 | 
			
		||||
reload-time 1 
 | 
			
		||||
notify-program "$HOME/.local/bin/notify-program"
 | 
			
		||||
notify-always yes 
 | 
			
		||||
 | 
			
		||||
unbind-key o
 | 
			
		||||
@@ -18,5 +19,5 @@ color listfocus_unread yellow default bold
 | 
			
		||||
color info red black bold
 | 
			
		||||
color article white default bold
 | 
			
		||||
 | 
			
		||||
browser "firefox -new-tab %u"
 | 
			
		||||
browser "$HOME/.local/bin/browser-x -new-tab %u"
 | 
			
		||||
player mpv
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -7,6 +7,7 @@
 | 
			
		||||
.cache/
 | 
			
		||||
.cert/
 | 
			
		||||
.config/
 | 
			
		||||
.config/newsboat/urlswork
 | 
			
		||||
.dbus/
 | 
			
		||||
.fehbg
 | 
			
		||||
.ghc/
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +1,6 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
set -x
 | 
			
		||||
#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
									
								
							
							
						
						
									
										4
									
								
								.local/bin/wsl-notify
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe "New-BurntToastNotification -Text \"$1\""
 | 
			
		||||
							
								
								
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							@@ -83,6 +83,7 @@ alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH"
 | 
			
		||||
alias vpnd="sudo /root/.local/bin/protonvpn d"
 | 
			
		||||
alias prolog="swipl"
 | 
			
		||||
alias tv="~/MEGA/tv/tv.sh"
 | 
			
		||||
alias newswork="newsboat --url=$HOME/.config/newsboat/urlswork"
 | 
			
		||||
 | 
			
		||||
# Cleaning-up
 | 
			
		||||
export KODI_DATA="$HOME/.config/kodi"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user