config: updates and fixup~
This commit is contained in:
parent
9defb280e1
commit
2c44e010bb
3 changed files with 11 additions and 3 deletions
|
@ -35,8 +35,11 @@
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable espanso, when possible.
|
# Enable espanso, when not on wayland.
|
||||||
services.espanso.enable = true;
|
services.espanso = {
|
||||||
|
enable = true;
|
||||||
|
wayland = false;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wtype
|
wtype
|
||||||
|
|
|
@ -45,6 +45,11 @@ let
|
||||||
if verb == "lights/off":
|
if verb == "lights/off":
|
||||||
print("[I] Got a 'lights out' request. Making things quiet.")
|
print("[I] Got a 'lights out' request. Making things quiet.")
|
||||||
|
|
||||||
|
# Turn off monitors for any X11 anything.
|
||||||
|
for auth in g`/tmp/xauth_*`:
|
||||||
|
print(f"[I] Turning off monitors on X instance with auth file {auth}.")
|
||||||
|
!(env DISPLAY=:0 XAUTHORITY=@(auth) xset dpms force off)
|
||||||
|
|
||||||
# Turn off monitors on each niri session,
|
# Turn off monitors on each niri session,
|
||||||
sockets = g`/var/run/user/1000/niri*.sock`
|
sockets = g`/var/run/user/1000/niri*.sock`
|
||||||
for socket in sockets:
|
for socket in sockets:
|
||||||
|
|
|
@ -210,7 +210,7 @@ font_overrides = {
|
||||||
hinata = 16,
|
hinata = 16,
|
||||||
valere = 10,
|
valere = 10,
|
||||||
utol = 13,
|
utol = 13,
|
||||||
trailblazer = 12,
|
trailblazer = 10,
|
||||||
kanbaru = 12,
|
kanbaru = 12,
|
||||||
aigis = 12;
|
aigis = 12;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue