Start workspaces with 1

This commit is contained in:
Dmitriy Holkin 2019-09-20 02:08:15 +04:00
parent 551dd1e2ba
commit c60db2e0a7

View File

@ -164,12 +164,12 @@ in {
"--release button2" = "kill"; "--release button2" = "kill";
"--whole-window ${modifier}+button2" = "kill"; "--whole-window ${modifier}+button2" = "kill";
} // builtins.listToAttrs (builtins.genList (x: { } // builtins.listToAttrs (builtins.genList (x: {
name = "${modifier}+${toString x}"; name = "${modifier}+${toString (x + 1)}";
value = "workspace ${toString x}"; value = "workspace ${toString (x + 1)}";
}) 10) // builtins.listToAttrs (builtins.genList (x: { }) 9) // builtins.listToAttrs (builtins.genList (x: {
name = "${modifier}+Shift+${toString x}"; name = "${modifier}+Shift+${toString (x + 1)}";
value = "move container to workspace ${toString x}"; value = "move container to workspace ${toString (x + 1)}";
}) 10)); }) 9));
keycodebindings = { keycodebindings = {
"122" = "exec ${pkgs.pamixer}/bin/pamixer -d 5"; "122" = "exec ${pkgs.pamixer}/bin/pamixer -d 5";
"123" = "exec ${pkgs.pamixer}/bin/pamixer -i 5"; "123" = "exec ${pkgs.pamixer}/bin/pamixer -i 5";