mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-23 21:58:49 +01:00
Fix switchable and dual keyboard layout configurations
This commit is contained in:
parent
f4c143795e
commit
93b2dede38
@ -7,7 +7,8 @@ let
|
||||
browser cpuType gpuType
|
||||
wallpaperDir borderAnim
|
||||
theKBDLayout terminal
|
||||
theSecondKBDLayout sdl-videodriver;
|
||||
theSecondKBDLayout
|
||||
theKBDVariant sdl-videodriver;
|
||||
in with lib; {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
@ -34,7 +35,7 @@ in with lib; {
|
||||
}
|
||||
|
||||
input {
|
||||
kb_layout = ${theKBDLayout},${theSecondKBDLayout}
|
||||
kb_layout = ${theKBDLayout}, ${theSecondKBDLayout}
|
||||
kb_options = grp:alt_shift_toggle
|
||||
kb_options=caps:super
|
||||
follow_mouse = 1
|
||||
|
@ -1,12 +1,13 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
let inherit (import ../../options.nix) theKBDLayout; in
|
||||
let inherit (import ../../options.nix) theKBDVariant
|
||||
theKBDLayout theSecondKBDLayout; in
|
||||
{
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
xkb = {
|
||||
variant = "";
|
||||
layout = "${theKBDLayout}";
|
||||
variant = "${theKBDVariant}";
|
||||
layout = "${theKBDLayout}, ${theSecondKBDLayout}";
|
||||
};
|
||||
libinput.enable = true;
|
||||
displayManager.sddm = {
|
||||
|
@ -34,7 +34,8 @@ in {
|
||||
clock24h = false;
|
||||
theLocale = "en_US.UTF-8";
|
||||
theKBDLayout = "us";
|
||||
theSecondKBDLayout = "pl";
|
||||
theSecondKBDLayout = "de";
|
||||
theKBDVariant = "";
|
||||
theLCVariables = "en_US.UTF-8";
|
||||
theTimezone = "America/Chicago";
|
||||
theShell = "bash"; # Possible options: bash, zsh
|
||||
|
Loading…
Reference in New Issue
Block a user