summaryrefslogtreecommitdiff
path: root/.linux
diff options
context:
space:
mode:
authorMike Crute <crutem@amazon.com>2019-01-28 20:59:29 -0800
committerMike Crute <crutem@amazon.com>2019-01-28 20:59:29 -0800
commit227d3f67d765f8db721dc074b0f12bfd6ab3ff88 (patch)
tree23be6a730ca04465c3c326c834b75904b9b9b527 /.linux
parentd76ac8834de529c6ce733d50ee4119dc8e3aaebf (diff)
downloaddotfiles-227d3f67d765f8db721dc074b0f12bfd6ab3ff88.tar.bz2
dotfiles-227d3f67d765f8db721dc074b0f12bfd6ab3ff88.tar.xz
dotfiles-227d3f67d765f8db721dc074b0f12bfd6ab3ff88.zip
Add system-level systemd and udev
Diffstat (limited to '.linux')
-rw-r--r--.linux/README2
-rw-r--r--.linux/hwdb.d/99-touchpad-pressure.hwdb2
-rw-r--r--.linux/systemd-etc/logind.conf39
-rw-r--r--.linux/systemd-etc/sleep.conf2
4 files changed, 45 insertions, 0 deletions
diff --git a/.linux/README b/.linux/README
index f243924..6850a86 100644
--- a/.linux/README
+++ b/.linux/README
@@ -6,6 +6,8 @@ Copy or link files to these directories:
6 systemd/* -> ~/.config/systemd/user 6 systemd/* -> ~/.config/systemd/user
7 applications/* -> ~/.local/share/applications/ 7 applications/* -> ~/.local/share/applications/
8 xorg.conf/* -> /usr/share/X11/xorg.conf.d/ 8 xorg.conf/* -> /usr/share/X11/xorg.conf.d/
9 hwdb.d/* -> /etc/udev/hwdb.d/
10 systemd-etc/* -> /etc/systemd/
9 11
10The xorg.conf files require a restart of X: 12The xorg.conf files require a restart of X:
11 13
diff --git a/.linux/hwdb.d/99-touchpad-pressure.hwdb b/.linux/hwdb.d/99-touchpad-pressure.hwdb
new file mode 100644
index 0000000..0603eee
--- /dev/null
+++ b/.linux/hwdb.d/99-touchpad-pressure.hwdb
@@ -0,0 +1,2 @@
1libinput:name:*Magic Trackpad 2:dmi:*svnDellInc.:*pnXPS139380*
2 LIBINPUT_ATTR_PRESSURE_RANGE=4:0
diff --git a/.linux/systemd-etc/logind.conf b/.linux/systemd-etc/logind.conf
new file mode 100644
index 0000000..7ab834c
--- /dev/null
+++ b/.linux/systemd-etc/logind.conf
@@ -0,0 +1,39 @@
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7#
8# Entries in this file show the compile time defaults.
9# You can change settings by editing this file.
10# Defaults can be restored by simply deleting this file.
11#
12# See logind.conf(5) for details.
13
14[Login]
15#NAutoVTs=6
16#ReserveVT=6
17#KillUserProcesses=no
18#KillOnlyUsers=
19#KillExcludeUsers=root
20#InhibitDelayMaxSec=5
21#HandlePowerKey=poweroff
22HandlePowerKey=suspend-then-hibernate
23#HandleSuspendKey=suspend
24#HandleHibernateKey=hibernate
25#HandleLidSwitch=suspend
26HandleLidSwitch=suspend-then-hibernate
27#HandleLidSwitchDocked=ignore
28#PowerKeyIgnoreInhibited=no
29#SuspendKeyIgnoreInhibited=no
30#HibernateKeyIgnoreInhibited=no
31#LidSwitchIgnoreInhibited=yes
32#HoldoffTimeoutSec=30s
33#IdleAction=ignore
34#IdleActionSec=30min
35#RuntimeDirectorySize=10%
36#RemoveIPC=yes
37#InhibitorsMax=8192
38#SessionsMax=8192
39#UserTasksMax=33%
diff --git a/.linux/systemd-etc/sleep.conf b/.linux/systemd-etc/sleep.conf
new file mode 100644
index 0000000..37355e2
--- /dev/null
+++ b/.linux/systemd-etc/sleep.conf
@@ -0,0 +1,2 @@
1[Sleep]
2HibernateDelaySec=3600