From: paperbenni Date: Tue, 28 Jul 2020 19:44:30 +0000 (+0200) Subject: remove depend.sh X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6ccdd4f8719c62ad543326c98a5a902d820e62ec;p=instantos%2FinstantOS.git remove depend.sh --- diff --git a/depend.sh b/depend.sh deleted file mode 100755 index c32030f..0000000 --- a/depend.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -# installs dependencies for instantOS -# this is deprecated - -export LINK="https://raw.githubusercontent.com/instantos/instantos/master" - -# install on arch based system -pacinstall() { - for i in "$@"; do - { pacman -iQ "$i" || command -v "$i"; } &>/dev/null && continue - echo "Installing $i" - sudo pacman -S --noconfirm "$i" &>/dev/null - done -} - -if ! command -v pacman &>/dev/null; then - echo "distro not supported" - exit -fi - -# cross distro install command -ipkg() { - pacinstall "$@" -} - -# on arch instantARCH takes care of this -if cat /etc/os-release | grep -qi 'manjaro'; then - if hwinfo --gfxcard --short | grep -iE 'nvidia.*(gtx|rtx|titan)'; then - echo "installing nvidia graphics drivers" - sudo mhwd -a pci nonfree 0300 - if grep -Eiq 'instantos|manjaro' /etc/os-release; then - if pacman -iQ linux54; then - pacinstall linux54-nvidia-440x - fi - - if pacman -iQ linux419; then - pacinstall linux419-nvidia-440xx - fi - else - if pacman -iQ linux-lts; then - pacinstall nvidia-lts - fi - pacinstall nvidia - fi - fi -else - pacinstall xdg-desktop-portal-gtk -fi diff --git a/programs/ilayout b/programs/ilayout index 510187d..db0a190 100755 --- a/programs/ilayout +++ b/programs/ilayout @@ -32,10 +32,13 @@ $(cat layouts) [ -z "$CHOICE" ] && exit if grep "^$CHOICE$" layouts; then LAYOUTCHOICE="$(echo ">>h $CHOICE -:b Move up -:b Move down :r Delete :b Back" | instantmenu -c -l 20 -h -1 -bw 4 -q "layout options: $CHOICE")" + + # todo feaures + #:b Move up + #:b Move down + case "$LAYOUTCHOICE" in *Delete) echo "deleting $CHOICE"