merge
This commit is contained in:
parent
e6a12adc45
commit
69f056cf66
1 changed files with 7 additions and 4 deletions
|
|
@ -153,8 +153,11 @@
|
|||
}
|
||||
]; # end events
|
||||
}; # end swayidle
|
||||
}
|
||||
}
|
||||
else {};
|
||||
hostnameInputs =
|
||||
if hostName == "tower" then "us,se"
|
||||
else "se,us";
|
||||
in
|
||||
{
|
||||
wayland.windowManager.sway = {
|
||||
|
|
@ -186,7 +189,7 @@
|
|||
accel_profile = "flat";
|
||||
};
|
||||
"*" = {
|
||||
xkb_layout = "us,se";
|
||||
xkb_layout = hostnameInputs;
|
||||
xkb_options = "grp:win_space_toggle";
|
||||
};
|
||||
}; # end input
|
||||
|
|
@ -265,8 +268,8 @@
|
|||
"XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -3%'";
|
||||
"XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'";
|
||||
"XF86AudioPlay" = "exec 'playerctl play-pause'";
|
||||
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 10";
|
||||
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 10";
|
||||
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 9";
|
||||
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 3";
|
||||
}; # end keybindings
|
||||
window = {
|
||||
titlebar = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue