1
1
Fork 0

Compare commits

...

6 commits

Author SHA1 Message Date
d634fa40bb
waybar: remove tooltip text shadow
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 17:35:07 +00:00
ca26a0094f
starship: modify character symbols
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 17:34:50 +00:00
dbe64b7bff
kitty: revert font size
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 17:34:15 +00:00
54e90ffa14
niri: modify default proportions
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 17:34:06 +00:00
76904b62ba
font: switch default typeface
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 17:33:47 +00:00
fa69a8a747
niri: add output options
Signed-off-by: Myned <dev@bjork.tech>
2024-12-30 17:33:20 +00:00
9 changed files with 48 additions and 25 deletions

View file

@ -13,6 +13,7 @@
width = 3440;
height = 1440;
refresh = 100;
desktops.niri.output.connectors = ["DP-1"];
programs.looking-glass = {
enable = true;

View file

@ -1,11 +1,8 @@
{
config,
inputs,
pkgs,
...
}: let
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
in {
}: {
imports = [
inputs.nixos-hardware.nixosModules.framework-13-7040-amd
@ -18,6 +15,7 @@ in {
width = 2256;
height = 1504;
scale = 1.5;
desktops.niri.output.connectors = ["eDP-1"];
# BUG: Phoenix support not currently functional
# https://github.com/Cryolitia/ryzen_smu/issues/1
@ -54,19 +52,6 @@ in {
};
home-manager.users.${config.custom.username} = {
programs.niri.settings.outputs = {
"eDP-1" = {
background-color = "#073642";
mode = with config.custom; {
inherit width height;
refresh = refresh + 0.0;
};
scale = config.custom.scale;
};
};
wayland.windowManager.hyprland.settings = {
device = [
{

View file

@ -63,7 +63,7 @@ in {
font = {
emoji = mkOption {default = "Noto Color Emoji";};
monospace = mkOption {default = "IosevkaTermSlab NFP Medium";};
monospace = mkOption {default = "IosevkaTerm NFP SemiBold";};
sans-serif = mkOption {default = "Outfit";};
serif = mkOption {default = "Liberation Serif";};
};

View file

@ -24,6 +24,7 @@ in {
input.enable = true;
layout.enable = true;
misc.enable = true;
output.enable = true;
rules.enable = true;
};

View file

@ -17,7 +17,7 @@ in {
gap = config.custom.gap / 2;
in {
gaps = gap;
center-focused-column = mkIf config.custom.ultrawide "always";
#// center-focused-column = mkIf config.custom.ultrawide "always";
always-center-single-column = true;
# TODO: Uncomment after next release > v1.10.1
@ -25,12 +25,12 @@ in {
#// empty-workspace-above-first = true;
preset-column-widths = [
{proportion = 0.75;}
{proportion = 0.5;}
{proportion = 0.3;}
{proportion = 0.7;} # Default
{proportion = 0.25;}
];
default-column-width = {proportion = 0.7;};
default-column-width = {}; # Window-defined
preset-window-heights = [
{proportion = 0.7;}

View file

@ -0,0 +1,35 @@
{
config,
lib,
...
}:
with lib; let
cfg = config.custom.desktops.niri.output;
in {
options.custom.desktops.niri.output = {
enable = mkOption {default = false;};
connectors = mkOption {default = [];};
};
config = mkIf cfg.enable {
home-manager.sharedModules = [
{
# https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
programs.niri.settings.outputs = listToAttrs (forEach cfg.connectors (connector: {
name = connector;
value = {
background-color = "#073642";
mode = with config.custom; {
inherit width height;
refresh = refresh + 0.0; # Convert to float
};
scale = config.custom.scale;
};
}));
}
];
};
}

View file

@ -17,7 +17,7 @@ in {
font = {
name = config.custom.font.monospace;
size = 13;
size = 14;
};
# https://sw.kovidgoyal.net/kitty/conf/

View file

@ -88,8 +88,8 @@ in {
# https://starship.rs/config/#character
character = {
error_symbol = "[](bold red) ";
success_symbol = "[](bold) ";
error_symbol = "[](bold red)";
success_symbol = "[](bold)";
};
# https://starship.rs/config/#command-duration

View file

@ -76,6 +76,7 @@ in {
font: 18px '${font}';
margin: 0;
padding: 0;
text-shadow: none;
}
.horizontal > box {