foxygit / dotfiles Log in
commit ac54e6f7701c82458c018b3f79c59d61c71c693d
Author:     MrJensK <jens.se@icloud.com>
AuthorDate: Tue Jul 28 22:46:59 2026 +0200
Commit:     MrJensK <jens.se@icloud.com>
CommitDate: Tue Jul 28 22:46:59 2026 +0200

    Build dmenu from own repo instead of apt package

    Clones and installs MrJensK/dmenu so the centered box layout and
    sxbar-matched theme colors are applied instead of the stock distro build.
---
 install.sh | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index 515e067..828e7c5 100755
--- a/install.sh
+++ b/install.sh
@@ -4,6 +4,7 @@ set -e
 SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 SXWM_REPO="https://github.com/uint23/sxwm.git"
 SXBAR_REPO="https://github.com/MrJensK/sxbar.git"
+DMENU_REPO="https://github.com/MrJensK/dmenu.git"
 BUILD_DIR="/tmp/sxwm-sxbar-build"

 echo "==> Installerar beroenden..."
@@ -19,7 +20,6 @@ sudo apt-get install -y \
     xorg \
     xinit \
     firefox-esr \
-    dmenu \
     kitty \
     pipewire-audio \
     alsa-utils \
@@ -55,6 +55,16 @@ make
 sudo make install
 cd "$BUILD_DIR"

+echo "==> Klonar dmenu..."
+rm -rf dmenu
+git clone --depth=1 "$DMENU_REPO" dmenu
+
+echo "==> Bygger och installerar dmenu..."
+cd dmenu
+make
+sudo make install
+cd "$BUILD_DIR"
+
 echo "==> Kopierar konfigfiler..."
 mkdir -p "$HOME/.config/kitty" "$HOME/.config/sxbar"