This commit is contained in:
js0ny 2025-12-16 18:41:18 +00:00
parent c15c383679
commit a799c465db
5 changed files with 111 additions and 8 deletions

View file

@ -6,8 +6,14 @@
"Maple Mono NF CN"
"JetBrainsMono Nerd Font"
];
serif = ["LXGW WenKai"];
sansSerif = ["LXGW Neo XiHei"];
serif = [
"LXGW WenKai"
"Noto Serif CJK SC"
];
sansSerif = [
"LXGW Neo XiHei"
"Noto Sans CJK SC"
];
};
};
}

View file

@ -66,14 +66,12 @@ in {
warp-terminal
# PDF Viewer
kdePackages.okular # default
kdePackages.okular
sioyek
# Image Viewer
loupe # SUPER FAST 有催人跑的感觉 w/ GPU Accel.
kdePackages.elisa
# Email
protonmail-bridge
thunderbird
@ -83,8 +81,6 @@ in {
papirus-icon-theme
pcloud
materialgram
ayugram-desktop
signal-desktop
# Use Wayland for Jetbrains
# (jetbrains.idea-ultimate.override {

View file

@ -227,6 +227,8 @@ in {
"Mod+Escape".allow-inhibiting = false;
"Mod+Escape".action = toggle-keyboard-shortcuts-inhibit;
"Mod+Grave".action = focus-workspace-previous;
"Ctrl+Alt+Delete".action = quit;
};
}

View file

@ -0,0 +1,98 @@
{
pkgs,
lib,
...
}: let
shortcuts = builtins.toJSON [
{
command = "previous_chat";
keys = "alt+k";
}
{
command = "next_chat";
keys = "alt+j";
}
{
command = "self_chat";
keys = "alt+0";
}
{
command = "pinned_chat1";
keys = "alt+1";
}
{
command = "all_chats";
keys = "alt+1";
}
{
command = "pinned_chat2";
keys = "alt+2";
}
{
command = "folder1";
keys = "alt+2";
}
{
command = "pinned_chat3";
keys = "alt+3";
}
{
command = "folder2";
keys = "alt+3";
}
{
command = "pinned_chat4";
keys = "alt+4";
}
{
command = "folder3";
keys = "alt+4";
}
{
command = "pinned_chat5";
keys = "alt+5";
}
{
command = "folder4";
keys = "alt+5";
}
{
command = "pinned_chat6";
keys = "alt+6";
}
{
command = "folder5";
keys = "alt+6";
}
{
command = "pinned_chat7";
keys = "alt+7";
}
{
command = "folder6";
keys = "alt+7";
}
{
command = "pinned_chat8";
keys = "alt+8";
}
{
command = "last_folder";
keys = "alt+8";
}
{
command = "show_archive";
keys = "alt+9";
}
];
in {
home.packages = with pkgs; [
ayugram-desktop
materialgram
];
xdg.dataFile = {
"AyuGramDesktop/tdata/shortcuts-custom.json".text = shortcuts;
"materialgram/tdata/shortcuts-custom.json".text = shortcuts;
"TelegramDesktop/tdata/shortcuts-custom.json".text = shortcuts;
};
}

View file

@ -38,7 +38,7 @@ in {
./programs/firefox
./programs/emacs.nix
./programs/vscode.nix
# ./programs/xilinx.nix
./programs/xilinx.nix
./programs/mime.nix
./programs/zed-editor.nix
./programs/rime.nix
@ -76,6 +76,7 @@ in {
./programs/celluloid.nix
./programs/picard.nix
./programs/cider-2.nix
./programs/telegram.nix
# Desktop Linux
./programs/desktop/gnome