desktop/wm: reload qtile after autorandr switch

This commit is contained in:
Infinidoge 2023-10-02 19:22:14 -04:00
parent ae1dd1ed84
commit fa9109f525

View file

@ -29,6 +29,9 @@ in
enable = config.info.graphical; enable = config.info.graphical;
ignoreLid = true; ignoreLid = true;
defaultTarget = "horizontal"; defaultTarget = "horizontal";
hooks.postswitch = {
"reload_qtile" = "qtile cmd-obj -o cmd -f reload_config";
};
}; };
services.xserver.enable = true; services.xserver.enable = true;