1
1
Fork 0

Compare commits

..

No commits in common. "ef8f3957e80969ca85f67e84539f11a008c15744" and "15f127814298228e351e4d0f2bc39498259ede38" have entirely different histories.

7 changed files with 19 additions and 34 deletions

View file

@ -107,7 +107,6 @@ in {
(key "B" "Mod" (spawn config.custom.browser.command))
(key "Backslash" "Mod" (spawn inhibit))
(key "Backslash" "Mod+Shift" (spawn power))
(key "Backspace" "Mod" center-column)
(key "Bracketleft" "Mod" (switch-layout "prev"))
(key "Bracketright" "Mod" (switch-layout "next"))
(key "C" "Mod" (spawn [walker "--modules" "clipboard"]))
@ -138,6 +137,7 @@ in {
(key "R" "Mod" focus-window-or-workspace-down)
(key "R" "Mod+Shift" move-window-down-or-to-workspace-down)
(key "Return" "Mod" maximize-column)
(key "Return" "Mod+Ctrl" center-column)
(key "Return" "Mod+Shift" fullscreen-window)
(key "Right" "Mod" (spawn [playerctl "next"]))
(key "S" "Mod" focus-column-or-monitor-right)

View file

@ -24,8 +24,8 @@ in {
border = {
enable = true;
width = 1;
active.color = "#002b36";
inactive.color = "#002b36";
active.color = "#073642";
inactive.color = "#073642";
};
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingslayoutcenter-focused-column

View file

@ -39,9 +39,9 @@ in {
# https://ghostty.org/docs/config/reference#font-size
font-size = 14;
# https://ghostty.org/docs/config/reference#freetype-load-flags
# https://github.com/ghostty-org/ghostty/discussions/3515
#// freetype-load-flags = "no-force-autohint";
# https://ghostty.org/docs/config/reference#freetype-load-flags
freetype-load-flags = "no-force-autohint";
# https://ghostty.org/docs/config/reference#gtk-titlebar
gtk-titlebar = false;

View file

@ -12,7 +12,7 @@ in {
git = mkOption {default = false;};
index = mkOption {default = true;};
service = mkOption {default = false;};
terminal = mkOption {default = "ghostty";};
terminal = mkOption {default = "kitty";};
};
config = mkIf cfg.enable {

View file

@ -40,15 +40,15 @@ in {
# https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/configSchema.json
settings = {
control-center-height = builtins.floor (config.custom.height * 0.75); # 75%
control-center-height = builtins.floor (config.custom.height / 2);
control-center-positionY = "bottom";
control-center-width = 750;
control-center-width = builtins.floor (750 * config.custom.scale);
fit-to-screen = false;
hide-on-clear = true;
notification-2fa-action = false;
notification-icon-size = 32;
#// notification-inline-replies = true;
notification-window-width = 500;
notification-window-width = builtins.floor (500 * config.custom.scale);
positionX = "center";
positionY = "top";
timeout = 5; # normal

View file

@ -9,12 +9,11 @@ with lib; let
in {
options.custom.settings.fonts = {
enable = mkOption {default = false;};
emoji = mkOption {default = "Blobmoji";};
emoji = mkOption {default = "Noto Color Emoji";};
fallback = mkOption {default = "Unifont";};
monospace = mkOption {default = "IosevkaTermSlab NFP Medium";};
sans-serif = mkOption {default = "Afacad";};
serif = mkOption {default = "Lora";};
weight = mkOption {default = "500";};
monospace = mkOption {default = "IosevkaTerm NFP SemiBold";};
sans-serif = mkOption {default = "Outfit";};
serif = mkOption {default = "Liberation Serif";};
};
config = mkIf cfg.enable {
@ -32,34 +31,26 @@ in {
iosevka-term
iosevka-term-slab
jetbrains-mono
shure-tech-mono
space-mono
zed-mono
]
++ (with pkgs; [
### Sans Serif
(google-fonts.override {
fonts = [
### Sans Serif
# Text
"Afacad"
"Jost"
"Lexend"
"Outfit"
"Urbanist"
# Condensed
"Oswald"
# Pixel
"Geo"
"Silkscreen"
### Serif
"Lora"
];
})
### Emoji
noto-fonts-emoji-blob-bin
### Other
# Microsoft
corefonts
@ -69,7 +60,7 @@ in {
unifont
]);
#?? fc-list : family | sort
#?? fc-list --brief | grep family: | sort
fontconfig.defaultFonts = {
emoji = [cfg.emoji];
monospace = [cfg.monospace];

View file

@ -11,19 +11,13 @@ in {
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
gtk = let
css = ''
* {
font-weight: ${config.custom.settings.fonts.weight};
}
${readFile ./style.css}
'';
css = readFile ./style.css;
in {
enable = true;
font = with config.custom.settings.fonts; {
name = sans-serif;
size = 14;
size = 12;
};
cursorTheme = with config.custom.settings.icons.cursor; {