updates
This commit is contained in:
parent
a71ae793b2
commit
d442e9edc1
3 changed files with 21 additions and 4 deletions
|
|
@ -7,10 +7,7 @@ gnome-disk-utility
|
||||||
perl
|
perl
|
||||||
bluez
|
bluez
|
||||||
upower
|
upower
|
||||||
|
libavcodec-extra
|
||||||
# WiFi
|
|
||||||
iwd
|
|
||||||
systemd-resolved
|
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
fonts-jetbrains-mono
|
fonts-jetbrains-mono
|
||||||
|
|
|
||||||
0
scripts/setup/setup-nice-limit
Normal file → Executable file
0
scripts/setup/setup-nice-limit
Normal file → Executable file
20
scripts/setup/setup-shell
Executable file
20
scripts/setup/setup-shell
Executable file
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
bsys="/etc/bash.bashrc"
|
||||||
|
busr="$HOME/.config/shell/bashrc"
|
||||||
|
|
||||||
|
psys="/etc/profile.d/custom.sh"
|
||||||
|
pusr="$HOME/.config/shell/profile.d"
|
||||||
|
|
||||||
|
printf 'if [ -f "%s" ]; then
|
||||||
|
. "%s"
|
||||||
|
fi
|
||||||
|
' "$busr" "$busr" | sudo tee -a "$bsys"
|
||||||
|
|
||||||
|
printf 'for p in %s/*; do
|
||||||
|
if [ -f "$p" ]; then
|
||||||
|
. "$p"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
unset p
|
||||||
|
' "$pusr" | sudo tee -a "$psys"
|
||||||
Loading…
Reference in a new issue