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
./hyprlock.nix
./hyprgrass.nix
./settings.nix
# ./utils.nix
];
@ -37,12 +38,6 @@
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 = [
"special:keepass,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, ... }:
{
home.packages = with pkgs; [ piper ];
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-gtk
fcitx5-chinese-addons
fcitx5-nord
];
enable = true;
type = "fcitx5";
fcitx5 = {
addons = with pkgs; [
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
./users.nix
./zsh.nix
./input.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 {
# serif = {
# package = pkgs.dejavu_fonts;
# name = "DejaVu Serif";
# };
# sansSerif = {
# package = pkgs.dejavu_fonts;
# name = "DejaVu Sans";
# };
serif = monospace;
sansSerif = monospace;
@ -42,7 +32,7 @@
};
emoji = {
package = pkgs.twitter-color-emoji;
package = pkgs.twemoji-color-font;
name = "Twemoji";
};
@ -52,6 +42,7 @@
popups = 12;
terminal = 14;
};
};
cursor = {
@ -60,5 +51,11 @@
size = 10;
};
};
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
source-han-sans
twemoji-color-font
];
};
}