comment out parts of polybar

This commit is contained in:
Noah Masur 2022-04-30 17:40:24 -04:00
parent 5057f8d597
commit 8aa532eb20
2 changed files with 57 additions and 57 deletions

View File

@ -10,9 +10,6 @@
playerctl # Media control
];
# Icons for i3
fonts.fonts = with pkgs; [ font-awesome ];
home-manager.users.${identity.user}.xsession.windowManager.i3 = {
enable = true;
config = let
@ -30,10 +27,10 @@
in {
modifier = modifier;
assigns = {
"${ws1}" = [{ class = "^Firefox$"; }];
"${ws2}" = [{ class = "^Alacritty$"; }];
"${ws3}" = [{ class = "^Discord$"; }];
"${ws4}" = [{ class = "^Steam$"; }];
"${ws1}" = [{ class = "Firefox"; }];
"${ws2}" = [{ class = "Alacritty"; }];
"${ws3}" = [{ class = "Discord"; }];
"${ws4}" = [{ class = "Steam"; }];
};
bars = [{ command = "echo"; }]; # Disable i3bar
colors = let

View File

@ -7,6 +7,9 @@
polybarFull # Includes PulseAudio
];
# Used for icons
fonts.fonts = with pkgs; [ font-awesome ];
home-manager.users.${identity.user} = {
services.polybar = {
@ -23,7 +26,7 @@
disabled = "#707880";
};
in {
"bar/example" = {
"bar/main" = {
width = "100%";
height = "24pt";
radius = 6;
@ -73,14 +76,14 @@
type = "internal/xwindow";
label = "%title:0:60:...%";
};
"module/filesystem" = {
type = "internal/fs";
interval = 25;
mount-0 = "/";
label-mounted = "%{F#F0C674}%mountpoint%%{F-} %percentage_used%%";
label-unmounted = "%mountpoint% not mounted";
label-unmounted-foreground = colors.disabled;
};
# "module/filesystem" = {
# type = "internal/fs";
# interval = 25;
# mount-0 = "/";
# label-mounted = "%{F#F0C674}%mountpoint%%{F-} %percentage_used%%";
# label-unmounted = "%mountpoint% not mounted";
# label-unmounted-foreground = colors.disabled;
# };
"module/pulseaudio" = {
type = "internal/pulseaudio";
format-volume-prefix = "VOL ";
@ -90,47 +93,47 @@
label-muted = "muted";
label-muted-foreground = colors.disabled;
};
"module/xkeyboard" = {
type = "internal/xkeyboard";
blacklist-0 = "num lock";
label-layout = "%layout%";
label-layout-foreground = colors.primary;
label-indicator-padding = 2;
label-indicator-margin = 1;
label-indicator-foreground = colors.background;
label-indicator-background = colors.secondary;
};
"module/memory" = {
type = "internal/memory";
interval = 2;
format-prefix = "RAM ";
format-prefix-foreground = colors.primary;
label = "%percentage_used:2%%";
};
"module/cpu" = {
type = "internal/cpu";
interval = 2;
format-prefix = "CPU ";
format-prefix-foreground = colors.primary;
label = "%percentage:2%%";
};
"network-base" = {
type = "internal/network";
interval = 5;
format-connected = "<label-connected>";
format-disconnected = "<label-disconnected>";
label-disconnected = "%{F#F0C674}%ifname%%{F#707880} disconnected";
};
"module/wlan" = {
"inherit" = "network-base";
interface-type = "wireless";
label-connected = "%{F#F0C674}%ifname%%{F-} %essid% %local_ip%";
};
"module/eth" = {
"inherit" = "network-base";
interface-type = "wired";
label-connected = "%{F#F0C674}%ifname%%{F-} %local_ip%";
};
# "module/xkeyboard" = {
# type = "internal/xkeyboard";
# blacklist-0 = "num lock";
# label-layout = "%layout%";
# label-layout-foreground = colors.primary;
# label-indicator-padding = 2;
# label-indicator-margin = 1;
# label-indicator-foreground = colors.background;
# label-indicator-background = colors.secondary;
# };
# "module/memory" = {
# type = "internal/memory";
# interval = 2;
# format-prefix = "RAM ";
# format-prefix-foreground = colors.primary;
# label = "%percentage_used:2%%";
# };
# "module/cpu" = {
# type = "internal/cpu";
# interval = 2;
# format-prefix = "CPU ";
# format-prefix-foreground = colors.primary;
# label = "%percentage:2%%";
# };
# "network-base" = {
# type = "internal/network";
# interval = 5;
# format-connected = "<label-connected>";
# format-disconnected = "<label-disconnected>";
# label-disconnected = "%{F#F0C674}%ifname%%{F#707880} disconnected";
# };
# "module/wlan" = {
# "inherit" = "network-base";
# interface-type = "wireless";
# label-connected = "%{F#F0C674}%ifname%%{F-} %essid% %local_ip%";
# };
# "module/eth" = {
# "inherit" = "network-base";
# interface-type = "wired";
# label-connected = "%{F#F0C674}%ifname%%{F-} %local_ip%";
# };
"module/date" = {
type = "internal/date";
interval = 1;