mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Add last visual improvements
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user