From c4e543e7107e1f9d387d05915c31e09d50be526c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 18 Sep 2020 12:45:42 +0200 Subject: [PATCH] Added MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .local/bin/browser-x | 2 +- .local/bin/checking-repo | 2 +- .local/bin/gentoo-test | 4 ++-- .local/bin/notify-program | 4 ++-- .local/bin/stream | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.local/bin/browser-x b/.local/bin/browser-x index 35a74ba..a1ad1e8 100755 --- a/.local/bin/browser-x +++ b/.local/bin/browser-x @@ -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 "$@"& diff --git a/.local/bin/checking-repo b/.local/bin/checking-repo index a49a109..962f467 100755 --- a/.local/bin/checking-repo +++ b/.local/bin/checking-repo @@ -20,7 +20,7 @@ function scanning(){ } function folder(){ - cd "$1" || exit + cd "$1"; git pull || exit PACKAGES=() diff --git a/.local/bin/gentoo-test b/.local/bin/gentoo-test index b7f070c..6d8563e 100755 --- a/.local/bin/gentoo-test +++ b/.local/bin/gentoo-test @@ -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 diff --git a/.local/bin/notify-program b/.local/bin/notify-program index 84fd7e3..5621842 100755 --- a/.local/bin/notify-program +++ b/.local/bin/notify-program @@ -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 "$@" diff --git a/.local/bin/stream b/.local/bin/stream index 022287c..0982051 100755 --- a/.local/bin/stream +++ b/.local/bin/stream @@ -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 &