Keyd: Add OnlyOffice keys.
This commit is contained in:
parent
024b78416d
commit
2c6c123569
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
file = (pkgs.formats.ini { }).generate "KeydChromiumConfig" {
|
||||
file = (pkgs.formats.ini { }).generate "keyd-chromium-config" {
|
||||
"chromium-browser" = {
|
||||
"alt.capslock" = "C-t"; # New tab.
|
||||
"alt.x" = "C-w"; # Close tab.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
file = (pkgs.formats.ini { }).generate "KeydDrgConfig" {
|
||||
steam-app-548430 = {
|
||||
file = (pkgs.formats.ini { }).generate "keyd-drg-config" {
|
||||
"steam-app-548430" = {
|
||||
"alt.1" =
|
||||
"macro(enter 10ms L e t ' s 10ms space d o 10ms space t h i s 10ms space T e x a s 10ms space s t y l e ! 10ms enter)";
|
||||
"alt.2" = "macro(enter 10ms H e c k space y e s ! enter)";
|
||||
|
|
|
@ -25,5 +25,5 @@ in
|
|||
value = builtins.listToAttrs keySets;
|
||||
}) apps;
|
||||
in
|
||||
(pkgs.formats.ini { }).generate "KeydDisableConfig" (builtins.listToAttrs appSets);
|
||||
(pkgs.formats.ini { }).generate "keyd-disable-config" (builtins.listToAttrs appSets);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
file = (pkgs.formats.ini { }).generate "KeydFirefoxConfig" {
|
||||
file = (pkgs.formats.ini { }).generate "keyd-firefox-config" {
|
||||
"firefox-esr" = {
|
||||
"alt.capslock" = "C-t"; # New tab.
|
||||
"alt.x" = "C-w"; # Close tab.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
file = (pkgs.formats.ini { }).generate "KeydJetbrainsConfig" {
|
||||
file = (pkgs.formats.ini { }).generate "keyd-jetbrains-config" {
|
||||
"jetbrains-*" = {
|
||||
"alt.b" = "C-f8"; # Toggle line breakpoint.
|
||||
"alt.equal" = "C-A-l"; # Reformat.
|
||||
|
|
23
home/file/keyd/module/OnlyOffice.nix
Normal file
23
home/file/keyd/module/OnlyOffice.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
file = (pkgs.formats.ini { }).generate "keyd-onlyoffice-config" {
|
||||
"onlyoffice-desktop-editors" = {
|
||||
"alt.a" = "home";
|
||||
"alt.b" = "pageup";
|
||||
"alt.d" = "end";
|
||||
"alt.e" = "A-pagedown";
|
||||
"alt.f" = "pagedown";
|
||||
"alt.h" = "left";
|
||||
"alt.i" = "f2";
|
||||
"alt.j" = "down";
|
||||
"alt.k" = "up";
|
||||
"alt.l" = "right";
|
||||
"alt.q" = "A-pageup";
|
||||
"alt.r" = "C-y";
|
||||
"alt.s" = "C-end";
|
||||
"alt.u" = "C-z";
|
||||
"alt.v" = "S-space";
|
||||
"alt.w" = "C-home";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue