Waybar: Remove tray & language.

This commit is contained in:
Dmitry Voronin 2024-12-13 11:59:15 +03:00
parent 9dc35a2b2f
commit 1a94f0e760
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 5 additions and 21 deletions

View file

@ -20,7 +20,6 @@ in {
];
modules-left = [
"clock"
# "sway/language"
"sway/scratchpad"
"mpris"
];
@ -33,16 +32,10 @@ in {
"pulseaudio"
"custom/display"
"custom/network"
# "tray"
];
"sway/workspaces" = {
all-outputs = true;
};
"sway/language" = {
on-click = "swaymsg 'input * xkb_switch_layout next'";
on-click-right = "xdg-open https://translate.yandex.ru/";
tooltip = false;
};
"sway/scratchpad" = {
format = "{icon} {count}";
on-click = "swaymsg 'scratchpad show'";
@ -55,9 +48,6 @@ in {
""
];
};
tray = {
spacing = 8;
};
clock = {
format-alt = "{:%H:%M %a %d %b}";
on-click-right = "xdg-open https://cloud.voronind.com/apps/calendar/";
@ -104,8 +94,8 @@ in {
format-muted = "󰸈{format_source}";
format-source = "";
format-source-muted = " 󰍭";
on-click = "pactl set-sink-mute @DEFAULT_SINK@ toggle";
on-click-middle = "pavucontrol";
on-click = "pavucontrol";
on-click-middle = "pactl set-sink-mute @DEFAULT_SINK@ toggle";
on-click-right = "pactl set-source-mute @DEFAULT_SOURCE@ toggle";
scroll-step = 5;
};

View file

@ -24,11 +24,9 @@ in {
#clock,
#custom-display,
#custom-network,
#language,
#mpris,
#pulseaudio,
#scratchpad,
#tray {
#scratchpad {
padding: ${paddingV} ${paddingH};
}
@ -47,11 +45,9 @@ in {
#custom-display:hover,
#custom-network:hover,
#hardware:hover,
#language:hover,
#mpris:hover,
#pulseaudio:hover,
#scratchpad:hover,
#tray:hover,
#workspaces button:hover {
background-color: rgba(${config.module.style.color.borderR},${config.module.style.color.borderG},${config.module.style.color.borderB},${toString config.module.style.opacity.desktop});
}
@ -63,8 +59,7 @@ in {
#custom-network,
#memory,
#pulseaudio,
#temperature,
#tray {
#temperature {
border-top: ${toString config.module.style.window.border}px solid transparent;
border-bottom: ${toString config.module.style.window.border}px solid transparent;
}
@ -77,8 +72,7 @@ in {
#memory.critical,
#pulseaudio.muted,
#pulseaudio.source-muted,
#temperature.critical,
#tray.needs-attention {
#temperature.critical {
border-top: ${toString config.module.style.window.border}px solid #${config.module.style.color.accent};
}