mirror of
https://github.com/AlexBocken/mykb.git
synced 2024-11-21 10:49:38 +01:00
added LaptopSetup
This commit is contained in:
parent
d9e33fc1de
commit
6f9e095d7f
25
docs/LaptopSetup.md
Normal file
25
docs/LaptopSetup.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# LaptopSetup
|
||||||
|
|
||||||
|
General Tips and tricks for setting up Laptops in particular. Assuming Arch Linux/systemd.
|
||||||
|
|
||||||
|
## Power/Hibernation
|
||||||
|
|
||||||
|
We want to not edit pacman-provided files but provide drop-ins.
|
||||||
|
Hence create the folder `/etc/systemd/logind.conf.d` if not already present.
|
||||||
|
|
||||||
|
All the following settings will be written into `/etc/systemd/logind.conf.d/logind.conf`
|
||||||
|
|
||||||
|
### Let DWM handle PowerOff
|
||||||
|
|
||||||
|
```conf
|
||||||
|
[Login]
|
||||||
|
HandlePowerKey=ignore
|
||||||
|
```
|
||||||
|
|
||||||
|
### Hibernate on Lid close
|
||||||
|
|
||||||
|
```conf
|
||||||
|
[Login]
|
||||||
|
HandleLidSwitch=hibernate
|
||||||
|
HandleLidSwitchExternalPower=hibernate
|
||||||
|
```
|
1
index.md
1
index.md
@ -3,6 +3,7 @@ Install instructions, configuration methods and much more for the setup of an us
|
|||||||
Happy to accept pull requests for new topics!
|
Happy to accept pull requests for new topics!
|
||||||
|
|
||||||
# Desktop Programs
|
# Desktop Programs
|
||||||
|
- [Laptop Setup](docs/LaptopSetup.md) General tips and tricks around the quirks of Arch on a Laptop.
|
||||||
- [qutebrowser](docs/qutebrowser.md)
|
- [qutebrowser](docs/qutebrowser.md)
|
||||||
highly customizable keyboard focused webbrowser using vim bindings
|
highly customizable keyboard focused webbrowser using vim bindings
|
||||||
- [vimwiki](docs/vimwiki.md)
|
- [vimwiki](docs/vimwiki.md)
|
||||||
|
Loading…
Reference in New Issue
Block a user