1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Add more portals to wayland/sway and fix fonts

This commit is contained in:
Stefan Ellmauthaler 2022-08-17 23:45:24 +02:00
parent bdba6b0c79
commit f81d99efbd
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256
4 changed files with 45 additions and 5 deletions

View File

@ -23,7 +23,10 @@ with lib; {
enable = true;
wlr.enable = true;
# gtk portal needed to make gtk apps happy
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-wlr
];
gtkUsePortal = true;
};

View File

@ -29,7 +29,7 @@
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-family: Hasklug Nerd Font, FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
border: none;
border-radius: 0;

View File

@ -48,9 +48,46 @@
enable = true;
settings = {
window = {
decorations = "full";
decorations = "none";
};
alt_send_esc = true;
font = {
normal.family = "Hasklug Nerd Font";
size = 14;
};
# colors = {
# primary = {
# background = "#282828"; # base3
# foreground = "#dfbf8e"; # base00
# };
# cursor = {
# text = "CellBackground";
# cursor = "CellForeground";
# };
# normal = {
# black = "#665c54"; # base02
# red = "#ea6962"; # red
# green = "#a9b665"; # green
# yellow = "#e78a4e"; # yellow
# blue = "#7daea3"; # blue
# magenta = "#d3869b"; # magenta
# cyan = "#89b482"; # cyan
# white = "#dfbf8e"; # base2
# };
# bright = {
# black = "#928374"; # base03
# red = "#ea6962"; # orange
# green = "#a6b665"; # base01
# yellow = "#e3a84e"; # base00
# blue = "#7daea3"; # base0
# magenta = "#d3869b"; # violet
# cyan = "#89b482"; # base1
# white = "#dfbf8e"; # base3
# };
# };
};
};

View File

@ -5,8 +5,8 @@
enable = true;
iconPath = "${pkgs.numix-icon-theme}";
font = "Hasklug Nerd Font 10";
defaultTimeout = 50000;
ignoreTimeout = true;
defaultTimeout = 8000;
# ignoreTimeout = true;
};