Compare commits

...

2 commits

Author SHA1 Message Date
Lilith
2f96994cf2
poetrade 2025-06-26 17:09:05 +02:00
Lilith
cd44fa3afc
poetrade 2025-06-26 16:58:58 +02:00
6 changed files with 59 additions and 23 deletions

View file

@ -5,6 +5,7 @@
./hyprpaper.nix ./hyprpaper.nix
./hyprlock.nix ./hyprlock.nix
./hyprgrass.nix ./hyprgrass.nix
./settings.nix
# ./utils.nix # ./utils.nix
]; ];
@ -37,12 +38,6 @@
exec = [ "[workspace special:keepass silent] keepassxc" ]; exec = [ "[workspace special:keepass silent] keepassxc" ];
windowrule = [
"workspace special:keepass,class:org.keepassxc.KeePassXC,title:^(.*)(KeePassXC)(.*)$"
"workspace unset,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC"
"noanim, class:^ueberzugpp_(.*)$"
];
workspace = [ workspace = [
"special:keepass,gapsout:45" "special:keepass,gapsout:45"
"special:magic,gapsout:45" "special:magic,gapsout:45"

View file

@ -0,0 +1,21 @@
{ ... }:
{
wayland.windowManager.hyprland.settings.windowrule = [
"workspace special:keepass,class:org.keepassxc.KeePassXC,title:^(.*)(KeePassXC)(.*)$"
"workspace unset,class:org.keepassxc.KeePassXC,title:Unlock Database - KeePassXC"
"noanim, class:^ueberzugpp_(.*)$"
"float,title:^(awakened-poe-trade)$"
"noblur,title:^(awakened-poe-trade)$"
"noborder,title:^(awakened-poe-trade)$"
"stayfocused,title:^(steam_app_238960)$"
];
wayland.windowManager.hyprland.settings.bind = [
"SHIFT,Space,pass,^(awakened-poe-trade)$"
"CTRL,D,pass,^(awakened-poe-trade)$"
"CTRL ALT,D,pass,^(awakened-poe-trade)$"
"SUPER, mouse_down, sendshortcut, , mouse:272"
];
}

View file

@ -1,11 +1,29 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ piper ];
i18n.inputMethod = { i18n.inputMethod = {
enabled = "fcitx5"; enable = true;
fcitx5.addons = with pkgs; [ type = "fcitx5";
fcitx5-gtk fcitx5 = {
fcitx5-chinese-addons addons = with pkgs; [
fcitx5-nord fcitx5-gtk
]; fcitx5-chinese-addons
fcitx5-nord
];
ignoreUserConfig = true;
settings = {
inputMethod = {
GroupOrder."0" = "Default";
"Groups/0" = {
Name = "Default";
"Default Layout" = "us";
DefaultIM = "pinyin";
};
"Groups/0/Items/0".Name = "keyboard-us";
"Groups/0/Items/1".Name = "pinyin";
};
};
};
}; };
} }

View file

@ -17,6 +17,7 @@
./power.nix ./power.nix
./users.nix ./users.nix
./zsh.nix ./zsh.nix
./input.nix
./virtualization.nix ./virtualization.nix
]; ];

4
system/core/input.nix Normal file
View file

@ -0,0 +1,4 @@
{ ... }:
{
services.ratbagd.enable = true;
}

View file

@ -23,16 +23,6 @@
}; };
fonts = rec { fonts = rec {
# serif = {
# package = pkgs.dejavu_fonts;
# name = "DejaVu Serif";
# };
# sansSerif = {
# package = pkgs.dejavu_fonts;
# name = "DejaVu Sans";
# };
serif = monospace; serif = monospace;
sansSerif = monospace; sansSerif = monospace;
@ -42,7 +32,7 @@
}; };
emoji = { emoji = {
package = pkgs.twitter-color-emoji; package = pkgs.twemoji-color-font;
name = "Twemoji"; name = "Twemoji";
}; };
@ -52,6 +42,7 @@
popups = 12; popups = 12;
terminal = 14; terminal = 14;
}; };
}; };
cursor = { cursor = {
@ -60,5 +51,11 @@
size = 10; size = 10;
}; };
}; };
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
source-han-sans
twemoji-color-font
];
}; };
} }