fonts and hyprland
This commit is contained in:
parent
34e16f9ccf
commit
abc75f79f8
6 changed files with 51 additions and 59 deletions
|
@ -45,19 +45,19 @@ in {
|
|||
package = pkgs.cozette;
|
||||
family = "CozetteVector";
|
||||
|
||||
size = 10;
|
||||
size = 13;
|
||||
};
|
||||
monospaceBitmap = mkFontOption "bitmap monospace" {
|
||||
package = pkgs.cozette;
|
||||
family = "Cozette";
|
||||
|
||||
size = 10;
|
||||
size = 13;
|
||||
};
|
||||
emoji = mkFontOption "emoji" {
|
||||
package = pkgs.twitter-color-emoji;
|
||||
family = "Twitter Color Emoji";
|
||||
|
||||
size = 10; # not applicable, but whatever
|
||||
size = 13; # not applicable, but whatever
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -62,8 +62,14 @@ in {
|
|||
|
||||
"$mod, Q, killactive, "
|
||||
"$mod, V, togglefloating, "
|
||||
"$mod, P, pseudo, "
|
||||
"$mod, J, togglesplit, "
|
||||
"$mod, P, pseudo, " # dwindle
|
||||
"$mod, J, togglesplit, " # dwindle
|
||||
|
||||
# move focus with mod + arrow keys
|
||||
"$mod, left, movefocus, l"
|
||||
"$mod, right, movefocus, r"
|
||||
"$mod, up, movefocus, u"
|
||||
"$mod, down, movefocus, d"
|
||||
|
||||
# scroll through workspaces with mod + scroll
|
||||
"$mod, mouse_down, workspace, e+1"
|
||||
|
@ -89,12 +95,13 @@ in {
|
|||
kb_layout = "us";
|
||||
|
||||
follow_mouse = 1;
|
||||
|
||||
sensitivity = 0; # -1.0 - 1.0, 0 means no modification
|
||||
};
|
||||
|
||||
monitor= [
|
||||
"DVI-D-1, 1920x1080@60, 0x0, 1"
|
||||
"DP-2, 1920x1080@60, 1920x0, 1"
|
||||
# "DP-2, modeline 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync, 1920x0, 1, bitdepth, 10"
|
||||
];
|
||||
|
||||
exec-once = [ "${lib.getExe pkgs.networkmanagerapplet}" ];
|
||||
|
@ -143,6 +150,10 @@ in {
|
|||
"workspace 4, class:vesktop"
|
||||
];
|
||||
|
||||
layerrule = [
|
||||
"animation slide, notifications"
|
||||
];
|
||||
|
||||
blurls = [
|
||||
"gtk-layer-shell" # nwg-drawer
|
||||
"waybar"
|
||||
|
@ -159,8 +170,8 @@ in {
|
|||
};
|
||||
|
||||
drop_shadow = false;
|
||||
#shadow_range = 4;
|
||||
#shadow_render_power = true;
|
||||
#shadow_range = 30;
|
||||
#shadow_render_power = 3;
|
||||
};
|
||||
|
||||
animations = {
|
||||
|
@ -181,8 +192,7 @@ in {
|
|||
};
|
||||
|
||||
dwindle = {
|
||||
pseudotile = "yes";
|
||||
|
||||
pseudotile = "yes"; # master swtich for pseudotiling. enabling is mod + P in the keybinds section
|
||||
preserve_split = "yes";
|
||||
};
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ in {
|
|||
mainBar = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
#spacing = 4;
|
||||
spacing = 4;
|
||||
height = 30;
|
||||
margin-top = 6;
|
||||
margin-left = 6;
|
||||
|
@ -116,7 +116,7 @@ in {
|
|||
rewrite = {
|
||||
"(.*) — Mozilla Firefox" = "$1"; # the dash here is SLIGHTLY different. Wow
|
||||
"(.*) - Visual Studio Code" = "$1";
|
||||
#"(.*\\.nix\\s.*)" = "";
|
||||
"(.*\\.nix\\s.*)" = " $1";
|
||||
"(\\S+\\.html\\s.*)" = " $1";
|
||||
"(\\S+\\.css\\s.*)" = " $1";
|
||||
"(\\S+\\.js\\s.*)" = " $1";
|
||||
|
|
|
@ -30,10 +30,10 @@ in {
|
|||
enableUpdateCheck = false;
|
||||
userSettings = with config.modules.desktop.fonts.fonts; {
|
||||
"editor.fontFamily" = "'${monospace.family}', monospace";
|
||||
"editor.fontSize" = monospace.size + 3; # needed??
|
||||
"editor.fontSize" = monospace.size;
|
||||
|
||||
"terminal.integrated.fontFamily" = "\"${monospace.family}\"";
|
||||
"terminal.integrated.fontSize" = monospace.size + 3; # needed??
|
||||
"terminal.integrated.fontSize" = monospace.size;
|
||||
|
||||
"telemetry.telemetryLevel" = "off";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue