Waybar: Remove tray & language.
This commit is contained in:
parent
4797f3ac5b
commit
6acea071ef
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue