Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-09-18 12:45:42 +02:00
parent 98ea485a6d
commit c4e543e710
Signed by: y0rune
GPG Key ID: F204C385F57EB348
5 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
KERNEL=$(uname -sr)
[[ $KERNEL =~ "Microsoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
[[ $KERNEL =~ "icrosoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
[[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox-bin "$@"
#brave-bin --force-device-scale-factor=1.2 "$@"&

View File

@ -20,7 +20,7 @@ function scanning(){
}
function folder(){
cd "$1" || exit
cd "$1"; git pull || exit
PACKAGES=()

View File

@ -18,8 +18,8 @@ then
sudo mount --types proc /proc /mnt/gentoo/gentoo/proc
sudo mount --rbind /sys /mnt/gentoo/gentoo/sys
sudo mount --make-rslave /mnt/gentoo/gentoo/sys
sudo mount --rbind /dev /mnt/gentoo/gentoo/dev
sudo mount --make-rslave /mnt/gentoo/gentoo/dev
#sudo mount --rbind /dev /mnt/gentoo/gentoo/dev
#sudo mount --make-rslave /mnt/gentoo/gentoo/dev
sleep 5
sudo chroot /mnt/gentoo/gentoo /bin/bash
# echo "Europe/Warsaw" > /etc/timezone

View File

@ -1,4 +1,4 @@
#!/bin/bash
KERNEL=$(uname -sr)
[[ $KERNEL =~ "Microsoft" ]] && $HOME/.local/bin/wsl-notify "$@"
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"

View File

@ -1,4 +1,4 @@
#!/bin/bash
KERNEL=$(uname -sr)
[[ $KERNEL =~ "Microsoft" ]] && nohup streamlink -p "/mnt/c/Program\ Files/VideoLAN/VLC/vlc.exe" $1 best > /dev/null 2>&1 &
[[ $KERNEL =~ "icrosoft" ]] && nohup streamlink -p "/mnt/c/Program\ Files/VideoLAN/VLC/vlc.exe" $1 best > /dev/null 2>&1 &
[[ $KERNEL =~ "gentoo" ]] && nohup streamlink -p mpv $1 best > /dev/null 2>&1 &