zenix: keyboard layout

This commit is contained in:
Tristan 2025-08-31 16:49:13 +01:00
parent 3c0e9c18de
commit b9cf040b74
2 changed files with 10 additions and 8 deletions

View file

@ -11,6 +11,7 @@
];
programs.waybar.settings.mainBar.modules-left = ["niri/workspaces" "niri/window"];
programs.waybar.settings.mainBar.modules-right = lib.mkBefore ["niri/language"];
programs.fuzzel = {
enable = true;
@ -32,8 +33,8 @@
programs.niri = {
settings = {
input.keyboard = {
xkb.layout = "us";
xkb.variant = "dvorak";
xkb.layout = "us,gb";
xkb.variant = "dvorak,";
xkb.options = "caps:escape";
};
input.mouse = {
@ -128,6 +129,7 @@
"Mod+M".action = switch-preset-column-width;
"Mod+G".action = toggle-window-floating;
"Mod+Shift+Ctrl+Alt+Space".action = switch-layout "next";
"Print".action = screenshot;

View file

@ -7,7 +7,7 @@
layer = "bottom";
position = "top";
height = 36;
modules-right = ["mpris" "power-profiles-daemon" "cpu" "idle_inhibitor" "pulseaudio" "clock" "tray" "battery"];
modules-right = ["mpris" "power-profiles-daemon" "cpu" "idle_inhibitor" "wireplumber" "clock" "tray" "battery"];
"cpu" = {
"format" = "{icon}";
"format-icons" = ["" "" "" "" "" "" "" ""];
@ -35,11 +35,11 @@
tooltip-format-activated = "system sleep inhibited";
tooltip-format-deactivated = "system will sleep when idle";
};
pulseaudio = {
format-muted = "🔇 {volume}";
format = "{icon} {volume}";
format-icons.default = ["🔈" "🔉" "🔊"];
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
wireplumber = {
format-muted = "🔇";
format = "{icon} {volume}%";
format-icons = ["🔈" "🔉" "🔊"];
on-click = "pwvucontrol";
};
mpris = {
format = "{player_icon} {title}";