diff options
-rwxr-xr-x | system/etc/acpi/handler.sh | 79 | ||||
-rw-r--r-- | system/etc/issue | 13 | ||||
-rwxr-xr-x | system/etc/pm/sleep.d/10lock | 13 | ||||
-rwxr-xr-x | system_install | 5 |
4 files changed, 0 insertions, 110 deletions
diff --git a/system/etc/acpi/handler.sh b/system/etc/acpi/handler.sh deleted file mode 100755 index 1cc28ff..0000000 --- a/system/etc/acpi/handler.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash -# Default acpi script that takes an entry for all actions - -case "$1" in - button/power) - case "$2" in - PBTN|PWRF) - logger 'PowerButton pressed' - ;; - *) - logger "ACPI action undefined: $2" - ;; - esac - ;; - button/sleep) - case "$2" in - SLPB|SBTN) - pm-suspend - logger 'SuspendButton pressed' - ;; - *) - logger "ACPI action undefined: $2" - ;; - esac - ;; - ac_adapter) - case "$2" in - AC|ACAD|ADP0) - case "$4" in - 00000000) - logger 'AC unpluged' - echo 1000 > /sys/class/backlight/intel_backlight/brightness - ;; - 00000001) - logger 'AC pluged' - echo 5273 > /sys/class/backlight/intel_backlight/brightness - ;; - esac - ;; - *) - logger "ACPI action undefined: $2" - ;; - esac - ;; - battery) - case "$2" in - BAT0) - case "$4" in - 00000000) - logger 'Battery online' - ;; - 00000001) - logger 'Battery offline' - ;; - esac - ;; - CPU0) - ;; - *) logger "ACPI action undefined: $2" ;; - esac - ;; - button/lid) - case "$3" in - close) - logger 'LID closed' - pm-suspend - ;; - open) - logger 'LID opened' - ;; - *) - logger "ACPI action undefined: $3" - ;; - esac - ;; - *) - logger "ACPI group/action undefined: $1 / $2" - ;; -esac diff --git a/system/etc/issue b/system/etc/issue deleted file mode 100644 index 9de90ce..0000000 --- a/system/etc/issue +++ /dev/null @@ -1,13 +0,0 @@ -\e{blue} - . - .vir. d$b - .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b. - $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b. - Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$ - "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$ - d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P - $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P" - `Q$$P" """ -\e{reset} -\e{green}\n\e{reset} (\s \r) \e{red}\l\e{reset} - diff --git a/system/etc/pm/sleep.d/10lock b/system/etc/pm/sleep.d/10lock deleted file mode 100755 index da7c018..0000000 --- a/system/etc/pm/sleep.d/10lock +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# -# 10sleep: lock i3 season before suspend - -case "$1" in - hibernate|suspend) - for socket in `find /run/user/*/i3 -name ipc-socket*`; do - i3-msg -s $socket "exec i3lock -d -c 000000" - done - ;; - *) exit $NA - ;; -esac diff --git a/system_install b/system_install index 5f231a8..223355e 100755 --- a/system_install +++ b/system_install @@ -17,11 +17,6 @@ git submodule update --init || (echo "Submodule update failed!"; exit 5) ################################################################################# -if ask "Laptop ACPI and pm"; then - inst system/etc/acpi/handler.sh /etc/acpi/handler.sh - inst system/etc/pm/sleep.d/10lock /etc/pm/sleep.d/10lock -fi - if ask "System PATH profile"; then inst system/etc/profile.d/path.sh /etc/profile.d/path.sh fi |