This commit is contained in:
Vorthas 2024-10-15 18:14:54 -04:00 committed by GitHub
commit 8f86be8184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#!/bin/sh -e
. ../../common-script.sh
# Function to install drivers for Epson printers
installEpsonPrinterDriver() {
clear
case "$PACKAGER" in
pacman)
"${AUR_HELPER}" -S --noconfirm epson-inkjet-printer-escpr
;;
apt-get | nala)
"$ESCALATION_TOOL" "${PACKAGER}" install -y printer-driver-escpr
;;
dnf)
"$ESCALATION_TOOL" "${PACKAGER}" install -y epson-inkjet-printer-escpr
;;
*) ;;
esac
}
checkEnv
checkEscalationTool
checkAURHelper
installEpsonPrinterDriver

View File

@ -76,6 +76,14 @@ name = "Set Resolution"
description = "This script is designed to change the resolution of monitors connected to your system" description = "This script is designed to change the resolution of monitors connected to your system"
script = "monitor-control/set_resolutions.sh" script = "monitor-control/set_resolutions.sh"
[[data]]
name = "Printers"
[[data.entries]]
name = "Install EPSON printer drivers"
script = "printers/install-epson-printer-drivers.sh"
task_list = "I"
[[data]] [[data]]
name = "User Account Manager" name = "User Account Manager"