1
1
Fork 0

Compare commits

...

7 commits

Author SHA1 Message Date
ef8f3957e8
fonts: add typefaces and weight option
Signed-off-by: Myned <dev@bjork.tech>
2025-01-11 11:53:06 -06:00
4cc5db838f
gtk: force font-weight
Signed-off-by: Myned <dev@bjork.tech>
2025-01-11 11:52:38 -06:00
85bc980e12
swaync: remove width scaling
Signed-off-by: Myned <dev@bjork.tech>
2025-01-11 11:52:13 -06:00
4bfe083b80
nautilus: switch to ghostty
Signed-off-by: Myned <dev@bjork.tech>
2025-01-11 11:51:54 -06:00
9186d72672
ghostty: disable hinting fix
Signed-off-by: Myned <dev@bjork.tech>
2025-01-11 11:51:44 -06:00
d7a6d64a4d
niri: modify border color
Signed-off-by: Myned <dev@bjork.tech>
2025-01-11 11:51:26 -06:00
5c9f535ed5
niri: modify center-column bind
Signed-off-by: Myned <dev@bjork.tech>
2025-01-11 11:51:17 -06:00
7 changed files with 34 additions and 19 deletions

View file

@ -107,6 +107,7 @@ 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"]))
@ -137,7 +138,6 @@ 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 = "#073642";
inactive.color = "#073642";
active.color = "#002b36";
inactive.color = "#002b36";
};
# 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://github.com/ghostty-org/ghostty/discussions/3515
# https://ghostty.org/docs/config/reference#freetype-load-flags
freetype-load-flags = "no-force-autohint";
# https://github.com/ghostty-org/ghostty/discussions/3515
#// 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 = "kitty";};
terminal = mkOption {default = "ghostty";};
};
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 / 2);
control-center-height = builtins.floor (config.custom.height * 0.75); # 75%
control-center-positionY = "bottom";
control-center-width = builtins.floor (750 * config.custom.scale);
control-center-width = 750;
fit-to-screen = false;
hide-on-clear = true;
notification-2fa-action = false;
notification-icon-size = 32;
#// notification-inline-replies = true;
notification-window-width = builtins.floor (500 * config.custom.scale);
notification-window-width = 500;
positionX = "center";
positionY = "top";
timeout = 5; # normal

View file

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

View file

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