Add last visual improvements

This commit is contained in:
thiloho
2023-06-06 00:19:37 +02:00
parent 6ad2bfa1ef
commit 6e1cded0e1
2 changed files with 18 additions and 4 deletions

View File

@@ -60,7 +60,11 @@
{ {
modules-left = [ "sway/workspaces" ]; modules-left = [ "sway/workspaces" ];
modules-center = [ "sway/window" ]; modules-center = [ "sway/window" ];
modules-right = [ "memory" "disk" "cpu" "clock" ]; modules-right = [ "user" "memory" "disk" "cpu" "clock" ];
user = {
format = "{user} - Uptime: {work_H}:{work_M}h";
};
memory = { memory = {
format = "Memory: {used}GiB"; format = "Memory: {used}GiB";
@@ -76,7 +80,7 @@
clock = { clock = {
interval = 60; interval = 60;
format = "{:%Y-%m-%d %H:%M}"; format = "{:%Y-%m-%d - %H:%M}";
}; };
} }
]; ];
@@ -92,7 +96,7 @@
color: #e6e6e6; color: #e6e6e6;
} }
#workspaces button, #memory, #disk, #cpu, #clock { #workspaces button, #user, #memory, #disk, #cpu, #clock {
padding-top: 0.125rem; padding-top: 0.125rem;
padding-bottom: 0.125rem; padding-bottom: 0.125rem;
padding-left: 0.5rem; padding-left: 0.5rem;

View File

@@ -30,8 +30,12 @@
security.rtkit.enable = true; security.rtkit.enable = true;
fonts = { fonts = {
enableDefaultFonts = true;
fonts = with pkgs; [ fonts = with pkgs; [
noto-fonts
noto-fonts-emoji
noto-fonts-cjk-sans
nerdfonts
roboto
jetbrains-mono jetbrains-mono
]; ];
}; };
@@ -50,6 +54,12 @@
# Home manager configuration # Home manager configuration
home-manager.users.thiloho = { pkgs, lib, ... }: { home-manager.users.thiloho = { pkgs, lib, ... }: {
programs = { programs = {
bash = {
enable = true;
shellAliases = {
rbs = "sudo nixos-rebuild switch --flake .";
};
};
helix = { helix = {
enable = true; enable = true;
settings = { settings = {