Added waybar icons and allowed nonfree to fix epkowa issues.
This commit is contained in:
parent
e2d9cc37bb
commit
3797641ae0
|
|
@ -37,6 +37,9 @@
|
||||||
# Enable flakes.
|
# Enable flakes.
|
||||||
nix = { settings.experimental-features = [ "nix-command" "flakes" ]; };
|
nix = { settings.experimental-features = [ "nix-command" "flakes" ]; };
|
||||||
|
|
||||||
|
# Enable unfree packages.
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
networking.hostName = "randolph"; # Define your hostname.
|
networking.hostName = "randolph"; # Define your hostname.
|
||||||
networking.networkmanager.enable =
|
networking.networkmanager.enable =
|
||||||
true; # Easiest to use and most distros use this by default.
|
true; # Easiest to use and most distros use this by default.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
let terminalExec = "${pkgs.lib.getExe config.defaultPrograms.terminal} -e";
|
let terminalExec = "${pkgs.lib.getExe config.defaultPrograms.terminal} -e";
|
||||||
in
|
in
|
||||||
rec {
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = [{
|
settings = [{
|
||||||
|
|
@ -28,8 +28,8 @@ rec {
|
||||||
format = "{volume}% {icon} {format_source}";
|
format = "{volume}% {icon} {format_source}";
|
||||||
format-bluetooth = "{volume}% {icon} {format_source}";
|
format-bluetooth = "{volume}% {icon} {format_source}";
|
||||||
format-muted = "{volume}% 🔇 {format_source}";
|
format-muted = "{volume}% 🔇 {format_source}";
|
||||||
format-source = "{volume}% ";
|
format-source = "{volume}% 🎤";
|
||||||
format-source-muted = "{volume}% ";
|
format-source-muted = "{volume}% 🙊";
|
||||||
format-icons = [ "🔈" "🔊" ];
|
format-icons = [ "🔈" "🔊" ];
|
||||||
on-click = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
on-click = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
on-click-right = "exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle";
|
on-click-right = "exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle";
|
||||||
|
|
@ -39,17 +39,17 @@ rec {
|
||||||
};
|
};
|
||||||
network = {
|
network = {
|
||||||
format-wifi = "{essid} ({signalStrength}%) ";
|
format-wifi = "{essid} ({signalStrength}%) ";
|
||||||
format-ethernet = "{ipaddr}/{cidr} ";
|
format-ethernet = "{ipaddr}/{cidr} ";
|
||||||
tooltip-format = "{ifname} via {gwaddr} ";
|
tooltip-format = "{ifname} via {gwaddr}";
|
||||||
format-linked = "{ifname} (No IP) ";
|
format-linked = "{ifname} (No IP)";
|
||||||
format-disconnected = "Disconnected ⚠";
|
format-disconnected = "Disconnected ⚠";
|
||||||
format-alt = "{ifname}: {ipaddr}/{cidr}";
|
format-alt = "{ifname}: {ipaddr}/{cidr}";
|
||||||
on-click-right = "exec ${terminalExec} nmtui";
|
on-click-right = "exec ${terminalExec} nmtui";
|
||||||
};
|
};
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
format = " {status}";
|
format = "🔵🦷 {status}";
|
||||||
format-disabled = ""; # hide module
|
format-disabled = ""; # hide module
|
||||||
format-connected = " {num_connections}";
|
format-connected = "🔵🦷 {num_connections}";
|
||||||
tooltip-format = "{controller_alias} {controller_address}";
|
tooltip-format = "{controller_alias} {controller_address}";
|
||||||
tooltip-format-connected = ''
|
tooltip-format-connected = ''
|
||||||
{controller_alias} {controller_address}
|
{controller_alias} {controller_address}
|
||||||
|
|
@ -59,10 +59,10 @@ rec {
|
||||||
on-click = "exec blueman-manager";
|
on-click = "exec blueman-manager";
|
||||||
on-click-right = "exec bluetoothctl disconnect";
|
on-click-right = "exec bluetoothctl disconnect";
|
||||||
};
|
};
|
||||||
cpu = { format = "{usage}% 😀"; };
|
cpu = { format = "{usage}% 📈"; };
|
||||||
memory = { format = "{used:0.1f}GB/{total:0.1f}GB "; };
|
memory = { format = "{used:0.1f}GB/{total:0.1f}GB 💾"; };
|
||||||
disk = {
|
disk = {
|
||||||
format = "{used} ";
|
format = "{used} 💽";
|
||||||
path = "/";
|
path = "/";
|
||||||
};
|
};
|
||||||
battery = {
|
battery = {
|
||||||
|
|
@ -72,10 +72,10 @@ rec {
|
||||||
critical = 10;
|
critical = 10;
|
||||||
};
|
};
|
||||||
format = "{capacity}% {icon}";
|
format = "{capacity}% {icon}";
|
||||||
format-charging = "{capacity}% ";
|
format-charging = "{capacity}% ⚡";
|
||||||
format-plugged = "{capacity}% ";
|
format-plugged = "{capacity}% 🔌";
|
||||||
# format-alt = "{time} {icon}";
|
# format-alt = "{time} {icon}";
|
||||||
format-icons = [ "" "" "" "" "" ];
|
format-icons = [ "🪫" "🔋" ];
|
||||||
on-click = "";
|
on-click = "";
|
||||||
};
|
};
|
||||||
tray = {
|
tray = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue