Skip to content

Commit

Permalink
WIP waybar
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonasOnatsu committed Oct 16, 2024
1 parent fdf903f commit f1bef50
Show file tree
Hide file tree
Showing 21 changed files with 1,869 additions and 328 deletions.
7 changes: 5 additions & 2 deletions modules/desktop/graphics/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
config,
lib,
...
}:{
}: {
imports = [
./sway/sway.nix
./sway/sway.ini.nix
#./sway/sway.ini.nix
./sway/rofi
./sway/waybar
./sway/wlogout
./fonts.nix
];
}
24 changes: 17 additions & 7 deletions modules/desktop/graphics/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,22 @@
}: let
sway = config.ghaf.graphics.sway;
in {
config = {
fonts.packages = with pkgs;
lib.lists.optionals sway.enable [
font-awesome_5
font-awesome
hack-font
];
config = lib.mkIf sway.enable {
fonts.packages = with pkgs; [
# Font Awesome are web icon fonts
font-awesome # Version 6
font-awesome_5 # Version 5

hack-font

(nerdfonts.override {
fonts = [
#"Hack"
"JetBrainsMono"
"RobotoMono"
];
})
];
fonts.fontconfig.enable = true;
};
}
203 changes: 0 additions & 203 deletions modules/desktop/graphics/sway/config

This file was deleted.

Loading

0 comments on commit f1bef50

Please sign in to comment.