diff --git a/arch-root/_install/custom/laptop.sh.yrz.am.sh b/arch-root/_install/custom/laptop.sh.yrz.am.sh index b1c5f3d..1733ddf 100644 --- a/arch-root/_install/custom/laptop.sh.yrz.am.sh +++ b/arch-root/_install/custom/laptop.sh.yrz.am.sh @@ -1,5 +1,5 @@ #!/bin/bash -pacman -S --needed brightnessctl intel-media-driver intel-ucode mesa tlp libreoffice-still +pacman -S --needed brightnessctl intel-media-driver intel-ucode mesa tlp libreoffice-still sof-firmware cp_chown custom/laptop-tlp.conf /etc/tlp.conf root:root 644 systemctl restart tlp file_has_line "/etc/profile" "export FEAT_BRIGHTNESS=brightnessctl" diff --git a/arch-root/install.sh b/arch-root/install.sh index 86c8efa..59114ed 100644 --- a/arch-root/install.sh +++ b/arch-root/install.sh @@ -5,8 +5,9 @@ cd "$(dirname "$0")/_install" PACKAGES=( # system - linux base linux-firmware lvm2 sudo polkit # basic - openssh networkmanager man-db restic htop # admin utils + linux base linux-firmware lvm2 sudo polkit # base + pulseaudio pamixer networkmanager # system + openssh man-db restic htop # admin utils # cli programs vifm vim # navigation & editors diff --git a/arch-user/scripts/current-font-glyphs.sh b/arch-user/bin/current-font-glyphs.sh similarity index 100% rename from arch-user/scripts/current-font-glyphs.sh rename to arch-user/bin/current-font-glyphs.sh diff --git a/arch-user/scripts/gpg-reencrypt-to-sym.sh b/arch-user/bin/gpg-reencrypt-to-sym.sh similarity index 100% rename from arch-user/scripts/gpg-reencrypt-to-sym.sh rename to arch-user/bin/gpg-reencrypt-to-sym.sh diff --git a/arch-user/config/i3blocks/battery b/arch-user/bin/i3blocks/battery.sh similarity index 86% rename from arch-user/config/i3blocks/battery rename to arch-user/bin/i3blocks/battery.sh index dd389c5..eac2276 100755 --- a/arch-user/config/i3blocks/battery +++ b/arch-user/bin/i3blocks/battery.sh @@ -7,8 +7,8 @@ read -r curr &1 && exit 1 ####### file structure ######### -mkdir -p ~/tmp ~/know ~/scripts ~/dev +mkdir -p \ + ~/.local/bin ~/.local/share \ + ~/tmp ~/know ~/dev ~/dl ################################ ########## scripts ############# -cp -rf scripts/* ~/scripts +cp -rf bin/* ~/.local/bin ################################ ########### config ############# @@ -23,29 +30,29 @@ cp_subst() { envsubst "$VARS" < "$1" > "$2" } -# xdg simple +# simple cp -rf config/i3blocks ~/.config cp -rf config/git ~/.config cp -rf config/vim ~/.config cp -rf config/xkb ~/.config - -# non-xdg cp -rf config/bash/bashrc ~/.bashrc # templated cp_subst config/sway/config.tmpl ~/.config/sway/config -cp -rf config/sway/*.sh ~/.config/sway cp_subst config/foot/foot.ini.tmpl ~/.config/foot/foot.ini cp_subst config/mako/config.tmpl ~/.config/mako/config cp_subst config/qutebrowser/config.py.tmpl ~/.config/qutebrowser/config.py -cp_subst config/qutebrowser/start.html.tmpl ~/.config/qutebrowser/start.html # dynamic -cp -rf config/profile ~/.profile +cp -rf config/profile.part ~/.profile # shellcheck disable=SC2129 echo -e "\n# GENERATED" >> ~/.profile sed '/^#/d' config/theme.sh >> ~/.profile sed '/^#/d' config/bemenu/config.sh >> ~/.profile ################################ +############# data ############ +cp_subst data/qutebrowser/start.html.tmpl ~/.local/share/qutebrowser/start.html +############################### + swaymsg reload