Merge branch 'development' of git.malice.zone:alisceon/nixos_config into development
This commit is contained in:
commit
c9e047a1af
1 changed files with 7 additions and 4 deletions
|
|
@ -154,8 +154,11 @@
|
||||||
}
|
}
|
||||||
]; # end events
|
]; # end events
|
||||||
}; # end swayidle
|
}; # end swayidle
|
||||||
}
|
}
|
||||||
else {};
|
else {};
|
||||||
|
hostnameInputs =
|
||||||
|
if hostName == "tower" then "us,se"
|
||||||
|
else "se,us";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
|
|
@ -188,7 +191,7 @@
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
};
|
};
|
||||||
"*" = {
|
"*" = {
|
||||||
xkb_layout = "us,se";
|
xkb_layout = hostnameInputs;
|
||||||
xkb_options = "grp:win_space_toggle";
|
xkb_options = "grp:win_space_toggle";
|
||||||
};
|
};
|
||||||
}; # end input
|
}; # end input
|
||||||
|
|
@ -274,8 +277,8 @@
|
||||||
"XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -3%'";
|
"XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -3%'";
|
||||||
"XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'";
|
"XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'";
|
||||||
"XF86AudioPlay" = "exec 'playerctl play-pause'";
|
"XF86AudioPlay" = "exec 'playerctl play-pause'";
|
||||||
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 10";
|
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 9";
|
||||||
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 10";
|
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 3";
|
||||||
}; # end keybindings
|
}; # end keybindings
|
||||||
window = {
|
window = {
|
||||||
titlebar = false;
|
titlebar = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue