more customization

This commit is contained in:
Harry 2025-01-19 18:30:54 +01:00
parent 6ea7577261
commit e04301b9ff
4 changed files with 44 additions and 6 deletions

View file

@ -1,13 +1,13 @@
{ {
"layer": "top", "layer": "top",
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["wireplumber", "mpris"], "modules-center": [ ],
"modules-right": ["cpu", "bluetooth", "network", "clock", "privacy"], "modules-right": ["mpris", "wireplumber","cpu", "bluetooth", "network", "clock", "privacy"],
"clock": { "clock": {
"format-alt": "{:%a, %d. %b %H:%M}" "format-alt": "{:%a, %d. %b %H:%M}"
}, },
"wireplumber": { "wireplumber": {
"format": "{volume}%", "format": "{volume}%",
"format-muted": "", "format-muted": "",
"max-volume": 120, "max-volume": 120,
"scroll-step": 0.2 "scroll-step": 0.2
@ -33,6 +33,26 @@
"tooltip-icon-size": 24 "tooltip-icon-size": 24
} }
] ]
},
"cpu": {
"format": "{}%  "
},
"network": {
"interface": "wlp3s0",
"format": "{ifname}",
"format-wifi": "{essid} ({signalStrength}%)  ",
"format-ethernet": "{ipaddr}/{cidr} 󰊗",
"format-disconnected": "", //An empty format will hide the module.
"tooltip-format": "{ifname} via {gwaddr} 󰊗",
"tooltip-format-wifi": "{essid} ({signalStrength}%)  ",
"tooltip-format-ethernet": "{ifname}  ",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50
},
"bluetooth": {
"format": "",
"format-disabled": "",
"format-connected": ""
} }
} }

View file

@ -2,11 +2,11 @@
font-family: "CodeNewRoman Nerd Font"; font-family: "CodeNewRoman Nerd Font";
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
color: #fff; color: #000;
} }
window#waybar { window#waybar {
background-color: #000; background-color: #fff;
} }
@ -15,9 +15,15 @@ window#waybar {
} }
#workspaces button.focused { #workspaces button.focused {
background-color: #7b002c; border-bottom: solid 2px #7b002c;
border-radius: 0;
} }
#workspaces { #workspaces {
padding: 4px 0; padding: 4px 0;
} }
window#waybar {
min-height: 14px; /* set waybar's height to 18px */
font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */
}

View file

@ -63,6 +63,17 @@
pkgs.gammastep pkgs.gammastep
pkgs.lazygit pkgs.lazygit
pkgs.xfce.thunar
pkgs.gimp-with-plugins
pkgs.fzf
pkgs.why3
pkgs.alt-ergo
pkgs.cvc4
pkgs.z3
pkgs.prismlauncher
pkgs.audacious
pkgs.audacious-plugins
# # You can also create simple shell scripts directly inside your # # You can also create simple shell scripts directly inside your
# # configuration. For example, this adds a command 'my-hello' to your # # configuration. For example, this adds a command 'my-hello' to your
# # environment: # # environment:

View file

@ -4,6 +4,7 @@
services.pipewire.enable = false; services.pipewire.enable = false;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
hardware.pulseaudio.support32Bit = true; hardware.pulseaudio.support32Bit = true;
services.pipewire.wireplumber.enable = true;
environment.systemPackages = [ environment.systemPackages = [
pkgs.pwvucontrol pkgs.pwvucontrol