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:
2020-07-30 15:44:43 +02:00
parent 33e6c2899d
commit b57512dc46
5 changed files with 14 additions and 4 deletions

View File

@ -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
View File

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