root: add elogind
This commit is contained in:
parent
0951afb313
commit
d28ecaaea8
|
@ -23,10 +23,16 @@ actions:
|
||||||
|
|
||||||
greetd_install: |
|
greetd_install: |
|
||||||
sudo chown -R greeter:greeter /etc/greetd/
|
sudo chown -R greeter:greeter /etc/greetd/
|
||||||
|
elogind_install: >
|
||||||
|
{
|
||||||
|
sv restart elogind ||
|
||||||
|
rc-service elogind restart
|
||||||
|
} < /dev/null & disown
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
dotfiles: # Just a bunch of paths and action mappings
|
dotfiles:
|
||||||
###############################################################
|
###############################################################
|
||||||
|
|
||||||
greetd:
|
greetd:
|
||||||
|
@ -35,6 +41,12 @@ dotfiles: # Just a bunch of paths and action mappings
|
||||||
actions:
|
actions:
|
||||||
- greetd_install
|
- greetd_install
|
||||||
|
|
||||||
|
elogind:
|
||||||
|
src: elogind.conf
|
||||||
|
dst: /etc/elogind/logind.conf
|
||||||
|
actions:
|
||||||
|
- elogind_install
|
||||||
|
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
profiles:
|
profiles:
|
||||||
|
|
|
@ -0,0 +1,52 @@
|
||||||
|
# {{@@ header() @@}}
|
||||||
|
# _____ _ _ _
|
||||||
|
# | ____| | ___ __ _(_)_ __ __| |
|
||||||
|
# | _| | |/ _ \ / _` | | '_ \ / _` |
|
||||||
|
# | |___| | (_) | (_| | | | | | (_| |
|
||||||
|
# |_____|_|\___/ \__, |_|_| |_|\__,_|
|
||||||
|
# |___/
|
||||||
|
|
||||||
|
|
||||||
|
[Login]
|
||||||
|
#KillUserProcesses=no
|
||||||
|
#KillOnlyUsers=
|
||||||
|
#KillExcludeUsers=root
|
||||||
|
#InhibitDelayMaxSec=5
|
||||||
|
HandlePowerKey=suspend
|
||||||
|
#HandleSuspendKey=suspend
|
||||||
|
#HandleHibernateKey=hibernate
|
||||||
|
#HandleLidSwitch=ignore
|
||||||
|
HandleLidSwitchExternalPower=suspend
|
||||||
|
HandleLidSwitchDocked=ignore
|
||||||
|
#PowerKeyIgnoreInhibited=no
|
||||||
|
#SuspendKeyIgnoreInhibited=no
|
||||||
|
#HibernateKeyIgnoreInhibited=no
|
||||||
|
#LidSwitchIgnoreInhibited=yes
|
||||||
|
#HoldoffTimeoutSec=30s
|
||||||
|
#IdleAction=ignore
|
||||||
|
#IdleActionSec=30min
|
||||||
|
#RuntimeDirectorySize=10%
|
||||||
|
#RuntimeDirectoryInodes=400k
|
||||||
|
#RemoveIPC=yes
|
||||||
|
#InhibitorsMax=8192
|
||||||
|
#SessionsMax=8192
|
||||||
|
|
||||||
|
[Sleep]
|
||||||
|
#AllowSuspend=yes
|
||||||
|
#AllowHibernation=yes
|
||||||
|
#AllowSuspendThenHibernate=yes
|
||||||
|
#AllowHybridSleep=yes
|
||||||
|
#AllowPowerOffInterrupts=no
|
||||||
|
#BroadcastPowerOffInterrupts=yes
|
||||||
|
#AllowSuspendInterrupts=no
|
||||||
|
#BroadcastSuspendInterrupts=yes
|
||||||
|
#HandleNvidiaSleep=no
|
||||||
|
#SuspendState=mem standby freeze
|
||||||
|
#SuspendMode=
|
||||||
|
#HibernateState=disk
|
||||||
|
#HibernateMode=platform shutdown
|
||||||
|
#HybridSleepState=disk
|
||||||
|
#HybridSleepMode=suspend platform shutdown
|
||||||
|
#HibernateDelaySec=10800
|
||||||
|
|
||||||
|
# vim: ft=ini
|
Reference in New Issue