feat(hyprland): migrate static Lua compositor settings
This commit was merged in pull request #154.
This commit is contained in:
@@ -33,7 +33,35 @@
|
|||||||
configType = "lua";
|
configType = "lua";
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
config.general.layout = "dwindle";
|
config = {
|
||||||
|
input = {
|
||||||
|
kb_layout = config.services.xserver.xkb.layout;
|
||||||
|
repeat_delay = 250;
|
||||||
|
repeat_rate = 45;
|
||||||
|
accel_profile = "flat";
|
||||||
|
touchpad = {
|
||||||
|
natural_scroll = true;
|
||||||
|
tap_to_click = true;
|
||||||
|
disable_while_typing = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
general = {
|
||||||
|
gaps_in = 4;
|
||||||
|
gaps_out = 8;
|
||||||
|
border_size = 2;
|
||||||
|
layout = "dwindle";
|
||||||
|
};
|
||||||
|
|
||||||
|
decoration = {
|
||||||
|
rounding = 6;
|
||||||
|
blur.enabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
xwayland.force_zero_scaling = true;
|
||||||
|
|
||||||
|
dwindle.preserve_split = true;
|
||||||
|
};
|
||||||
|
|
||||||
bind = lib.mapAttrsToList (_name: keybind: {
|
bind = lib.mapAttrsToList (_name: keybind: {
|
||||||
_args = [
|
_args = [
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ in
|
|||||||
modules.network.ssh.userKey.sopsFile = hostSecrets;
|
modules.network.ssh.userKey.sopsFile = hostSecrets;
|
||||||
|
|
||||||
services.xserver.xkb.layout = "us";
|
services.xserver.xkb.layout = "us";
|
||||||
services.xserver.xkb.options = "caps:escape_shifted_capslock";
|
|
||||||
console.useXkbConfig = true;
|
console.useXkbConfig = true;
|
||||||
|
|
||||||
sops.defaultSopsFile = ../../secrets/shared.yaml;
|
sops.defaultSopsFile = ../../secrets/shared.yaml;
|
||||||
|
|||||||
Reference in New Issue
Block a user