Added
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
98ea485a6d
commit
c4e543e710
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
KERNEL=$(uname -sr)
|
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 "$@"
|
[[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox-bin "$@"
|
||||||
#brave-bin --force-device-scale-factor=1.2 "$@"&
|
#brave-bin --force-device-scale-factor=1.2 "$@"&
|
||||||
|
@ -20,7 +20,7 @@ function scanning(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function folder(){
|
function folder(){
|
||||||
cd "$1" || exit
|
cd "$1"; git pull || exit
|
||||||
|
|
||||||
PACKAGES=()
|
PACKAGES=()
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ then
|
|||||||
sudo mount --types proc /proc /mnt/gentoo/gentoo/proc
|
sudo mount --types proc /proc /mnt/gentoo/gentoo/proc
|
||||||
sudo mount --rbind /sys /mnt/gentoo/gentoo/sys
|
sudo mount --rbind /sys /mnt/gentoo/gentoo/sys
|
||||||
sudo mount --make-rslave /mnt/gentoo/gentoo/sys
|
sudo mount --make-rslave /mnt/gentoo/gentoo/sys
|
||||||
sudo mount --rbind /dev /mnt/gentoo/gentoo/dev
|
#sudo mount --rbind /dev /mnt/gentoo/gentoo/dev
|
||||||
sudo mount --make-rslave /mnt/gentoo/gentoo/dev
|
#sudo mount --make-rslave /mnt/gentoo/gentoo/dev
|
||||||
sleep 5
|
sleep 5
|
||||||
sudo chroot /mnt/gentoo/gentoo /bin/bash
|
sudo chroot /mnt/gentoo/gentoo /bin/bash
|
||||||
# echo "Europe/Warsaw" > /etc/timezone
|
# echo "Europe/Warsaw" > /etc/timezone
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
KERNEL=$(uname -sr)
|
KERNEL=$(uname -sr)
|
||||||
[[ $KERNEL =~ "Microsoft" ]] && $HOME/.local/bin/wsl-notify "$@"
|
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
|
||||||
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
|
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
KERNEL=$(uname -sr)
|
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 &
|
[[ $KERNEL =~ "gentoo" ]] && nohup streamlink -p mpv $1 best > /dev/null 2>&1 &
|
||||||
|
Loading…
Reference in New Issue
Block a user