aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-08-15 13:02:05 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-08-15 13:02:05 +0200
commit567c309656a3833aca82563853a739139f9045a5 (patch)
treea5ead7afd2ec1654a4919feaac50b910bd909868 /system
parent91f745b19d9e38b65103fb22b84fd246d84a5aff (diff)
downloadmyconfigs-567c309656a3833aca82563853a739139f9045a5.tar.gz
myconfigs-567c309656a3833aca82563853a739139f9045a5.tar.bz2
myconfigs-567c309656a3833aca82563853a739139f9045a5.zip
Drop system configuration (applicable only to desktop)
Diffstat (limited to 'system')
-rwxr-xr-xsystem/etc/acpi/handler.sh79
-rw-r--r--system/etc/issue13
-rwxr-xr-xsystem/etc/pm/sleep.d/10lock13
-rw-r--r--system/etc/profile.d/path.sh1
-rw-r--r--system/etc/pulse/system.pa103
5 files changed, 0 insertions, 209 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 baddcb4..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 /tmp/i3-* -name ipc-socket.*`; do
- i3-msg -s $socket "exec i3lock -d -c 000000"
- done
- ;;
- *) exit $NA
- ;;
-esac
diff --git a/system/etc/profile.d/path.sh b/system/etc/profile.d/path.sh
deleted file mode 100644
index ae00916..0000000
--- a/system/etc/profile.d/path.sh
+++ /dev/null
@@ -1 +0,0 @@
-PATH="$PATH:/usr/sbin:/sbin"
diff --git a/system/etc/pulse/system.pa b/system/etc/pulse/system.pa
deleted file mode 100644
index 38d1245..0000000
--- a/system/etc/pulse/system.pa
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/usr/bin/pulseaudio -nF
-#
-# This file is part of PulseAudio.
-#
-# PulseAudio is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# PulseAudio is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
-
-# This startup script is used only if PulseAudio is started in system
-# mode.
-
-.fail
-
-### Automatically restore the volume of streams and devices
-load-module module-device-restore
-load-module module-stream-restore
-load-module module-card-restore
-
-### Automatically augment property information from .desktop files
-### stored in /usr/share/application
-load-module module-augment-properties
-
-### Should be after module-*-restore but before module-*-detect
-load-module module-switch-on-port-available
-
-### Load audio drivers statically
-### (it's probably better to not load these drivers manually, but instead
-### use module-udev-detect -- see below -- for doing this automatically)
-#load-module module-alsa-sink
-#load-module module-alsa-source device=hw:1,0
-#load-module module-null-sink
-#load-module module-pipe-sink
-
-### Automatically load driver modules depending on the hardware available
-.ifexists module-udev-detect.so
-load-module module-udev-detect
-.else
-### Use the static hardware detection module (for systems that lack udev/hal support)
-load-module module-detect
-.endif
-
-### Automatically connect sink and source if JACK server is present
-.ifexists module-jackdbus-detect.so
-.nofail
-load-module module-jackdbus-detect channels=2
-.fail
-.endif
-
-### Automatically load driver modules for Bluetooth hardware
-load-module module-bluetooth-policy
-load-module module-bluetooth-discover
-
-### Load several protocols
-.ifexists module-esound-protocol-unix.so
-load-module module-esound-protocol-unix
-.endif
-load-module module-native-protocol-unix
-
-
-### Automatically restore the default sink/source when changed by the user
-### during runtime
-### NOTE: This should be loaded as early as possible so that subsequent modules
-### that look up the default sink/source get the right value
-load-module module-default-device-restore
-
-### Automatically move streams to the default sink if the sink they are
-### connected to dies, similar for sources
-load-module module-rescue-streams
-
-### Make sure we always have a sink around, even if it is a null sink.
-load-module module-always-sink
-
-### Honour intended role device property
-load-module module-intended-roles
-
-### Automatically suspend sinks/sources that become idle for too long
-load-module module-suspend-on-idle
-
-### Enable positioned event sounds
-load-module module-position-event-sounds
-
-### Cork music/video streams when a phone stream is active
-load-module module-role-cork
-
-### Modules to allow autoloading of filters (such as echo cancellation)
-### on demand. module-filter-heuristics tries to determine what filters
-### make sense, and module-filter-apply does the heavy-lifting of
-### loading modules and rerouting streams.
-load-module module-filter-heuristics
-load-module module-filter-apply
-
-### Make some devices default
-#set-default-sink output
-#set-default-source input