Config: Actually lock the screen before going to sleep, using systemd

This commit is contained in:
Riyyi
2022-09-02 15:52:56 +02:00
parent c3811b7f78
commit cf417d95b2
5 changed files with 28 additions and 5 deletions
+7 -2
View File
@@ -65,8 +65,8 @@ $ sudo EDITOR=vim visudo
Add user:
#+BEGIN_SRC shell-script
$ useradd -m -G wheel -s /bin/bash <username>
$ passwd <username>
$ useradd -m -G wheel -s /bin/bash <user>
$ passwd <user>
#+END_SRC
Pacman colors:
@@ -99,6 +99,11 @@ $ git config --global user.email "<email address>"
$ git config --global user.name "<name>"
#+END_SRC
Lock before sleep:
#+BEGIN_SRC shell-script
$ sudo systemctl enable i3lock@<user>
#+END_SRC
Tlp:
#+BEGIN_SRC shell-script
$ systemctl enable tlp.service