waybar tweaks :3

This commit is contained in:
CDaut 2024-04-26 10:39:18 +02:00
parent fbbc23b72e
commit af84369e19
Signed by: clara
GPG key ID: 223391B52FAD4463
5 changed files with 16 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, pkgs, ... }:
{
wayland.windowManager.sway = let mod = "Mod4"; in {
enable = true;
@ -14,6 +14,7 @@
xkb_layout = "de";
};
};
output."*".bg = "${../media/wallpaper.png} fill";
menu = "${pkgs.rofi}/bin/rofi -show combi -config ~/.config/rofi/config.rasi";
modifier = mod; # Super key
gaps = {
@ -112,7 +113,7 @@
always = true;
}
{
command = "blueman-tray";
command = "blueman-applet";
always = true;
}
];

View file

@ -18,6 +18,7 @@
mkhl.direnv
ms-vscode.cmake-tools
twxs.cmake
tomoki1207.pdf
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "shader";

View file

@ -13,9 +13,9 @@
height = 30;
spacing = 20;
modules-left = [ "sway/workspaces" ];
modules-right = [ "disk" "pulseaudio" "cpu" "network#eth" "network#wireless" "eth" "battery" "temperature" "clock" "tray" ];
modules-right = [ "disk" "pulseaudio" "cpu" "network#eth" "network#wireless" "battery" "temperature" "clock" "tray" ];
"tray" = {
"tray" = {
spacing = 10;
icon-size = 20;
};
@ -48,7 +48,7 @@
critical-threshold = 70;
format = "{temperatureC}°C";
interval = 2;
hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp1_input";
hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input";
};
"network#eth" = {

View file

@ -29,6 +29,11 @@ window#waybar {
background: rgb(111.5, 39, 49);
}
#battery.charging {
background: rgb(39, 111.5, 49);
}
#network.wireless {
border-bottom: 4px solid #9f78e1;
}