From 4c25b6d461de96ef1f5ed9196904846b25d53de8 Mon Sep 17 00:00:00 2001 From: Florian Schrofner Date: Thu, 4 Jan 2024 16:06:16 +0100 Subject: [PATCH] fix issue with i3 config, install additional packages --- configs/configs.clj | 1 + packages/packages.clj | 14 ++++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/configs/configs.clj b/configs/configs.clj index b9e55c3..d78508e 100755 --- a/configs/configs.clj +++ b/configs/configs.clj @@ -52,6 +52,7 @@ (safe-sh-as-user "gsettings" "set" "org.mate.Marco.general" "titlebar-font" "Fira Code Bold 10.0") (safe-sh-as-user "gsettings" "set" "org.mate.caja.desktop" "font" "Fira Code Regular 10.0") (safe-sh-as-user "ln" "-fs" (str script-base-dir "/configs/config-files/gtk-config") "~/.gtkrc-2.0") + (safe-sh-as-user "mkdir" "-p" "~/.config/i3") (safe-sh-as-user "ln" "-fs" (str script-base-dir "/configs/config-files/i3-config") "~/.config/i3/config") (println "linking wallpaper..") (safe-sh-as-user "ln" "-fs" (str script-base-dir "/configs/config-files/wallpaper.jpg") "~/Pictures/wallpaper.jpg") diff --git a/packages/packages.clj b/packages/packages.clj index 8cde5cc..2188445 100755 --- a/packages/packages.clj +++ b/packages/packages.clj @@ -11,9 +11,11 @@ (def user (System/getenv "SUDO_USER")) (def home (str "/home/" user)) +(safe-sh "xbps-install" "-Sy" "void-repo-nonfree") + (def packages { - :base ["bluez" "chromium" "curl" "emacs-gtk3" "engrampa" "feh" "fish-shell" "firefox" "flameshot" "flatpak" "font-firacode" "gimp" "git" "htop" "i3" "i3status" "mate" "mate-power-manager" "mate-terminal" "mate-utils" "pass" "ranger" "Signal-Desktop" "thunar-archive-plugin" "unzip" "wget" "xbindkeys" "xclip" "xz"] - :work ["kotlin-bin" "scrcpy"] + :base ["bluez" "chromium" "curl" "emacs-gtk3" "engrampa" "feh" "fish-shell" "firefox" "flameshot" "flatpak" "font-firacode" "gimp" "git" "htop" "intel-ucode" "i3" "i3status" "mate" "mate-power-manager" "mate-terminal" "mate-utils" "pass" "ranger" "Signal-Desktop" "steam" "thunar-archive-plugin" "unzip" "wget" "xbindkeys" "xclip" "xz"] + :work ["git-lfs" "kotlin-bin" "scrcpy"] }) (def flatpak-packages { @@ -74,5 +76,9 @@ #(safe-sh "unzip" %1 "-d" %2))) (println "http toolkit installed")) -;;(install-jetbrains-toolbox) -;;(install-http-toolkit) +(let [applications-dir (str home "/Applications")] + (fs/create-dirs applications-dir) + (safe-sh "chown" (str user ":" user) "-R" applications-dir)) + +(install-jetbrains-toolbox) +(install-http-toolkit)