1
0
Fork 0

Fix hotkeys

This commit is contained in:
Malte Brandy 2021-10-13 19:00:44 +02:00
parent a98f2c8ecc
commit 4a890bb638
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 72 additions and 62 deletions

View file

@ -4,24 +4,27 @@ let
let let
fork = cmd: "fork ${cmd}"; fork = cmd: "fork ${cmd}";
in in
[
{
Orga = [
{ Kassandra2 = fork "kassandra2"; }
{ Kassandra = fork "kassandra"; }
{ Kalendar = "ikhal"; }
{ Habitica = fork "firefox https://habitica.com"; }
{ Tasks = "tasksh"; }
{ Meditate = "meditate"; }
{ Pythia = "pythia"; }
];
}
{ Research = { Zotero = fork "zotero"; }; }
{ {
Orga = {
Kassandra2 = fork "kassandra2";
Kassandra = fork "kassandra";
Kalendar = "ikhal";
Habitica = fork "firefox https://habitica.com";
Tasks = "tasksh";
Meditate = "meditate";
Pythia = "pythia";
};
Research = {
Zotero = fork "zotero";
};
Power = { Power = {
Shutdown = "systemctl poweroff"; Shutdown = "systemctl poweroff";
Suspend = "systemctl suspend"; Suspend = "systemctl suspend";
Reboot = "systemctl reboot"; Reboot = "systemctl reboot";
}; };
}
{
SSH = SSH =
let let
ssh = host: fork "kitty +kitten ssh ${host}"; ssh = host: fork "kitty +kitten ssh ${host}";
@ -34,6 +37,8 @@ let
cysec = ssh "borg.cysec.de"; cysec = ssh "borg.cysec.de";
shells = ssh "shells"; shells = ssh "shells";
}; };
}
{
Sound = { Sound = {
MPD = "ncmpcpp"; MPD = "ncmpcpp";
"Lautstärke" = "ncpamixer"; "Lautstärke" = "ncpamixer";
@ -43,6 +48,8 @@ let
disconnect = "bluetoothctl disconnect AC:12:2F:4F:EB:FA"; disconnect = "bluetoothctl disconnect AC:12:2F:4F:EB:FA";
}; };
}; };
}
{
Web = { Web = {
Browser = fork "firefox"; Browser = fork "firefox";
"Private Browser" = fork "firefox --private-window"; "Private Browser" = fork "firefox --private-window";
@ -52,22 +59,25 @@ let
}; };
Deluge = fork "deluge"; Deluge = fork "deluge";
}; };
Files = fork "nautilus"; }
Passmenu = "pass clip -f"; { Files = fork "nautilus"; }
"Select Mode" = "select-mode"; { Passmenu = "pass clip -f"; }
Communication = { { "Select Mode" = "select-mode"; }
Matrix = fork "element-desktop"; {
Mutt = "neomutt"; Communication = [
Mumble = fork "mumble mumble://maralorn@mumble.hax404.de"; { Matrix = fork "element-desktop"; }
Weechat = "weechat"; { Mutt = "neomutt"; }
Signal = fork "signal-desktop"; { Mumble = fork "mumble mumble://maralorn@mumble.hax404.de"; }
Zoom = fork "zoom"; { Weechat = "weechat"; }
Telegram = fork "telegram-desktop"; { Signal = fork "signal-desktop"; }
Discord = fork "Discord"; { Zoom = fork "zoom"; }
Jabber = fork "dino"; { Telegram = fork "telegram-desktop"; }
}; { Discord = fork "Discord"; }
"Monitor (htop)" = "htop"; { Jabber = fork "dino"; }
}; ];
}
{ "Monitor (htop)" = "htop"; }
];
mkTuple = lib.hm.gvariant.mkTuple; mkTuple = lib.hm.gvariant.mkTuple;
statusScript = pkgs.writeHaskellScript statusScript = pkgs.writeHaskellScript
{ {

View file

@ -2,7 +2,7 @@
"haskell-dialog": { "haskell-dialog": {
"branch": "main", "branch": "main",
"repo": "git@hera.m-0.eu:haskell-dialog", "repo": "git@hera.m-0.eu:haskell-dialog",
"rev": "66354c1cf519957c5acae1b14a99ba8c941a06c6", "rev": "ec9a33de9e00965f460c1a9388393d0c1616615c",
"type": "git" "type": "git"
}, },
"hexa-nur-packages": { "hexa-nur-packages": {