Add sway config back to Northstar
This commit is contained in:
parent
de34acca12
commit
a47b3c4ef9
|
@ -1,5 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [../../home/personal.nix];
|
||||
imports = [
|
||||
../../home/personal.nix
|
||||
../../home/gui/firefox.nix
|
||||
../../home/desktop/sway.nix
|
||||
];
|
||||
home.username = "xenia";
|
||||
home.homeDirectory = "/home/xenia";
|
||||
home.stateVersion = "22.11";
|
||||
|
@ -11,4 +15,49 @@
|
|||
|
||||
services.syncthing.enable = true;
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
config = {
|
||||
input = {
|
||||
"*" = {xkb_layout = "gb";};
|
||||
"touch" = {map_to_output = "DSI-1";};
|
||||
"touchpad" = {click_method = "clickfinger";};
|
||||
"10182:3632:hid-over-i2c_27C6:0E30" = {map_to_output = "DSI-1";};
|
||||
};
|
||||
modifier = "Mod1";
|
||||
terminal = "{pkgs.foot}/bin/foot";
|
||||
output = {
|
||||
DSI-1 = {
|
||||
scale = "2.0";
|
||||
transform = "270";
|
||||
bg = "~/nixos/wallpaper.jpg fill";
|
||||
};
|
||||
};
|
||||
gaps = {
|
||||
inner = 5;
|
||||
top = 5;
|
||||
bottom = 5;
|
||||
left = 20;
|
||||
right = 20;
|
||||
};
|
||||
startup = [
|
||||
{command = "dunst";}
|
||||
{command = "waybar";}
|
||||
# {command = "rot8";}
|
||||
];
|
||||
};
|
||||
};
|
||||
programs.waybar = {
|
||||
settings = {
|
||||
main = {
|
||||
"include" = [
|
||||
"~/.config/waybar/modules.json"
|
||||
"~/.config/waybar/layout.json"
|
||||
];
|
||||
"modules-left" = ["sway/workspaces"];
|
||||
"modules-center" = ["clock#compact"];
|
||||
"modules-right" = ["network#compact" "backlight" "battery" "tray"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue