home(gui): add desktop background

This commit is contained in:
514fpv 2024-01-03 15:38:52 +08:00
parent edb67df19e
commit e83ef935c3
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -8,6 +8,8 @@ in mkIf config.passthrough.gui {
enable = true;
config = {
modifier = "Mod4";
menu = "wofi -show drun -modi drun";
keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier;
in mkOptionDefault {
@ -20,7 +22,9 @@ in mkIf config.passthrough.gui {
"${modifier}+q" = "exec google-chrome-stable";
};
menu = "wofi -show drun -modi drun";
input."*".natural_scroll = "enabled";
input."type:touchpad".tap = "enabled";
output."*".bg = "${../../share/54345906_p0.jpg} fill";
};
};