Split "workstation" dotfiles into "extra" and "system" subgroups
This commit is contained in:
parent
cbcf253aeb
commit
c957034dfb
@ -5,6 +5,7 @@ CORE=0
|
|||||||
DEV=0
|
DEV=0
|
||||||
EXTRA=0
|
EXTRA=0
|
||||||
WORKSTATION=0
|
WORKSTATION=0
|
||||||
|
SYSTEM=0
|
||||||
|
|
||||||
|
|
||||||
if [[ -n "$DISPLAY" ]] && command -v meld &> /dev/null;
|
if [[ -n "$DISPLAY" ]] && command -v meld &> /dev/null;
|
||||||
@ -43,6 +44,9 @@ while true; do
|
|||||||
-w | --workstation)
|
-w | --workstation)
|
||||||
WORKSTATION=1
|
WORKSTATION=1
|
||||||
;;
|
;;
|
||||||
|
-s | --system)
|
||||||
|
SYSTEM=1
|
||||||
|
;;
|
||||||
--)
|
--)
|
||||||
shift
|
shift
|
||||||
break
|
break
|
||||||
@ -56,4 +60,5 @@ if [ "${ALL}" -eq 1 ]; then
|
|||||||
WORKSTATION=1
|
WORKSTATION=1
|
||||||
EXTRA=1
|
EXTRA=1
|
||||||
DEV=1
|
DEV=1
|
||||||
|
SYSTEM=1
|
||||||
fi
|
fi
|
||||||
|
@ -134,17 +134,22 @@ if [ "${WORKSTATION}" -eq 1 ]; then
|
|||||||
install .xinitrc
|
install .xinitrc
|
||||||
install .config/i3/config
|
install .config/i3/config
|
||||||
install .config/i3status-rust/config.toml
|
install .config/i3status-rust/config.toml
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${SYSTEM}" -eq 1 ] && [ "${WORKSTATION}" -eq 1 ]; then
|
||||||
install -r etc/modprobe.d/nobeep.conf
|
install -r etc/modprobe.d/nobeep.conf
|
||||||
install -r etc/systemd/logind.conf
|
install -r etc/systemd/logind.conf
|
||||||
install -r etc/acpi/handler.sh
|
install -r etc/acpi/handler.sh
|
||||||
install -r etc/acpi/toggle_mute.sh
|
install -r etc/acpi/toggle_mute.sh
|
||||||
install -r etc/acpi/volume.sh
|
install -r etc/acpi/volume.sh
|
||||||
install -r usr/share/X11/xorg.conf.d/40-libinput.conf
|
install -r usr/share/X11/xorg.conf.d/40-libinput.confxml
|
||||||
|
install -r etc/udev/rules.d/backlight.rules
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${EXTRA}" -eq 1 ] && [ "${WORKSTATION}" -eq 1 ]; then
|
||||||
install .config/darktable/darktablerc
|
install .config/darktable/darktablerc
|
||||||
install -r usr/share/darktable/noiseprofiles.json
|
install -r usr/share/darktable/noiseprofiles.json
|
||||||
install -r usr/share/lensfun/version_1/compact-sony.xml
|
install -r usr/share/lensfun/version_1/compact-sony.
|
||||||
install -r etc/udev/rules.d/backlight.rules
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${DEV}" -eq 1 ] && [ "${WORKSTATION}" -eq 1 ]; then
|
if [ "${DEV}" -eq 1 ] && [ "${WORKSTATION}" -eq 1 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user