mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 15:25:37 +00:00
comment out parts of polybar
This commit is contained in:
parent
5057f8d597
commit
8aa532eb20
@ -10,9 +10,6 @@
|
|||||||
playerctl # Media control
|
playerctl # Media control
|
||||||
];
|
];
|
||||||
|
|
||||||
# Icons for i3
|
|
||||||
fonts.fonts = with pkgs; [ font-awesome ];
|
|
||||||
|
|
||||||
home-manager.users.${identity.user}.xsession.windowManager.i3 = {
|
home-manager.users.${identity.user}.xsession.windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = let
|
config = let
|
||||||
@ -30,10 +27,10 @@
|
|||||||
in {
|
in {
|
||||||
modifier = modifier;
|
modifier = modifier;
|
||||||
assigns = {
|
assigns = {
|
||||||
"${ws1}" = [{ class = "^Firefox$"; }];
|
"${ws1}" = [{ class = "Firefox"; }];
|
||||||
"${ws2}" = [{ class = "^Alacritty$"; }];
|
"${ws2}" = [{ class = "Alacritty"; }];
|
||||||
"${ws3}" = [{ class = "^Discord$"; }];
|
"${ws3}" = [{ class = "Discord"; }];
|
||||||
"${ws4}" = [{ class = "^Steam$"; }];
|
"${ws4}" = [{ class = "Steam"; }];
|
||||||
};
|
};
|
||||||
bars = [{ command = "echo"; }]; # Disable i3bar
|
bars = [{ command = "echo"; }]; # Disable i3bar
|
||||||
colors = let
|
colors = let
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
polybarFull # Includes PulseAudio
|
polybarFull # Includes PulseAudio
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Used for icons
|
||||||
|
fonts.fonts = with pkgs; [ font-awesome ];
|
||||||
|
|
||||||
home-manager.users.${identity.user} = {
|
home-manager.users.${identity.user} = {
|
||||||
|
|
||||||
services.polybar = {
|
services.polybar = {
|
||||||
@ -23,7 +26,7 @@
|
|||||||
disabled = "#707880";
|
disabled = "#707880";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
"bar/example" = {
|
"bar/main" = {
|
||||||
width = "100%";
|
width = "100%";
|
||||||
height = "24pt";
|
height = "24pt";
|
||||||
radius = 6;
|
radius = 6;
|
||||||
@ -73,14 +76,14 @@
|
|||||||
type = "internal/xwindow";
|
type = "internal/xwindow";
|
||||||
label = "%title:0:60:...%";
|
label = "%title:0:60:...%";
|
||||||
};
|
};
|
||||||
"module/filesystem" = {
|
# "module/filesystem" = {
|
||||||
type = "internal/fs";
|
# type = "internal/fs";
|
||||||
interval = 25;
|
# interval = 25;
|
||||||
mount-0 = "/";
|
# mount-0 = "/";
|
||||||
label-mounted = "%{F#F0C674}%mountpoint%%{F-} %percentage_used%%";
|
# label-mounted = "%{F#F0C674}%mountpoint%%{F-} %percentage_used%%";
|
||||||
label-unmounted = "%mountpoint% not mounted";
|
# label-unmounted = "%mountpoint% not mounted";
|
||||||
label-unmounted-foreground = colors.disabled;
|
# label-unmounted-foreground = colors.disabled;
|
||||||
};
|
# };
|
||||||
"module/pulseaudio" = {
|
"module/pulseaudio" = {
|
||||||
type = "internal/pulseaudio";
|
type = "internal/pulseaudio";
|
||||||
format-volume-prefix = "VOL ";
|
format-volume-prefix = "VOL ";
|
||||||
@ -90,47 +93,47 @@
|
|||||||
label-muted = "muted";
|
label-muted = "muted";
|
||||||
label-muted-foreground = colors.disabled;
|
label-muted-foreground = colors.disabled;
|
||||||
};
|
};
|
||||||
"module/xkeyboard" = {
|
# "module/xkeyboard" = {
|
||||||
type = "internal/xkeyboard";
|
# type = "internal/xkeyboard";
|
||||||
blacklist-0 = "num lock";
|
# blacklist-0 = "num lock";
|
||||||
label-layout = "%layout%";
|
# label-layout = "%layout%";
|
||||||
label-layout-foreground = colors.primary;
|
# label-layout-foreground = colors.primary;
|
||||||
label-indicator-padding = 2;
|
# label-indicator-padding = 2;
|
||||||
label-indicator-margin = 1;
|
# label-indicator-margin = 1;
|
||||||
label-indicator-foreground = colors.background;
|
# label-indicator-foreground = colors.background;
|
||||||
label-indicator-background = colors.secondary;
|
# label-indicator-background = colors.secondary;
|
||||||
};
|
# };
|
||||||
"module/memory" = {
|
# "module/memory" = {
|
||||||
type = "internal/memory";
|
# type = "internal/memory";
|
||||||
interval = 2;
|
# interval = 2;
|
||||||
format-prefix = "RAM ";
|
# format-prefix = "RAM ";
|
||||||
format-prefix-foreground = colors.primary;
|
# format-prefix-foreground = colors.primary;
|
||||||
label = "%percentage_used:2%%";
|
# label = "%percentage_used:2%%";
|
||||||
};
|
# };
|
||||||
"module/cpu" = {
|
# "module/cpu" = {
|
||||||
type = "internal/cpu";
|
# type = "internal/cpu";
|
||||||
interval = 2;
|
# interval = 2;
|
||||||
format-prefix = "CPU ";
|
# format-prefix = "CPU ";
|
||||||
format-prefix-foreground = colors.primary;
|
# format-prefix-foreground = colors.primary;
|
||||||
label = "%percentage:2%%";
|
# label = "%percentage:2%%";
|
||||||
};
|
# };
|
||||||
"network-base" = {
|
# "network-base" = {
|
||||||
type = "internal/network";
|
# type = "internal/network";
|
||||||
interval = 5;
|
# interval = 5;
|
||||||
format-connected = "<label-connected>";
|
# format-connected = "<label-connected>";
|
||||||
format-disconnected = "<label-disconnected>";
|
# format-disconnected = "<label-disconnected>";
|
||||||
label-disconnected = "%{F#F0C674}%ifname%%{F#707880} disconnected";
|
# label-disconnected = "%{F#F0C674}%ifname%%{F#707880} disconnected";
|
||||||
};
|
# };
|
||||||
"module/wlan" = {
|
# "module/wlan" = {
|
||||||
"inherit" = "network-base";
|
# "inherit" = "network-base";
|
||||||
interface-type = "wireless";
|
# interface-type = "wireless";
|
||||||
label-connected = "%{F#F0C674}%ifname%%{F-} %essid% %local_ip%";
|
# label-connected = "%{F#F0C674}%ifname%%{F-} %essid% %local_ip%";
|
||||||
};
|
# };
|
||||||
"module/eth" = {
|
# "module/eth" = {
|
||||||
"inherit" = "network-base";
|
# "inherit" = "network-base";
|
||||||
interface-type = "wired";
|
# interface-type = "wired";
|
||||||
label-connected = "%{F#F0C674}%ifname%%{F-} %local_ip%";
|
# label-connected = "%{F#F0C674}%ifname%%{F-} %local_ip%";
|
||||||
};
|
# };
|
||||||
"module/date" = {
|
"module/date" = {
|
||||||
type = "internal/date";
|
type = "internal/date";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user