diff --git a/rofi.sh b/rofi.sh index 43c358e..400e5b9 100644 --- a/rofi.sh +++ b/rofi.sh @@ -19,7 +19,7 @@ # This only wokrs for generic package names, like neovim, or vim, or tmux etc.. # not every package packagemanager has the same packagenames for their packages.. source-script() { - i="https://git.k4li.de/scripts/imports/raw/branch/main/dream.sh" + i="$1" import="$(mktemp)" if command_exists curl; then curl -fsSL $i -o $import @@ -43,7 +43,7 @@ # │ automagically be pulled via the $pkgArray[$distro] variable │ # ╰─────────────────────────────────────────────────────────────────────────╯ depsDebian=(git build-essential gcc meson flex bison autoconf automake pkg-config libgdk-pixbuf-xlib-2.0-dev libgdk-pixbuf2.0-dev libxkbcommon-dev libxkbcommon-x11-dev libxcb-xkb-dev libxcb-util-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-randr0-dev libxcb-cursor-dev libxcb-xinerama0-dev libglib2.0-dev libpango1.0-dev libstartup-notification0-dev wayland-protocols librust-wayland-protocols-dev) - depsFedora=() + # depsFedora=(git make autoconf bison flex pkgconf-pkg-config) depsOpensuse=() depsArch=(git base-devel libstartup-notification-1.0) depsAlpine=() @@ -51,7 +51,7 @@ declare -A deps=( [debian]="depsDebian" [ubuntu]="depsDebian" - [fedora]="depsFedora" + # [fedora]="depsFedora" [arch]="depsArch" # [alpine]="depsAlpine" # [opensuse]="depsOpensuse" @@ -65,7 +65,7 @@ declare -n pkgArray="${deps[$distro]}" case "$distro" in - debian | ubuntu | arch | fedora | alpine | opensuse) + debian | ubuntu | arch) # pen bold blue "Installing missing dependencies.." spin bold blue "Instaling missing packages.." if run -err err check-and-install ${pkgArray[@]}; then