desktop/wm: setup picom
This commit is contained in:
parent
154dd87905
commit
75d4a7b30a
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,13 @@ in
|
||||||
monitors = mkDefault 1;
|
monitors = mkDefault 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Compositor to prevent screen tearing
|
||||||
|
services.picom = {
|
||||||
|
enable = true;
|
||||||
|
backend = "glx";
|
||||||
|
vSync = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Automatically attach/detatch connected/disconnected monitors
|
# Automatically attach/detatch connected/disconnected monitors
|
||||||
services.autorandr = {
|
services.autorandr = {
|
||||||
enable = config.info.graphical;
|
enable = config.info.graphical;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue