Waybar: Remove tray & language.
This commit is contained in:
parent
9dc35a2b2f
commit
1a94f0e760
|
@ -20,7 +20,6 @@ in {
|
||||||
];
|
];
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"clock"
|
"clock"
|
||||||
# "sway/language"
|
|
||||||
"sway/scratchpad"
|
"sway/scratchpad"
|
||||||
"mpris"
|
"mpris"
|
||||||
];
|
];
|
||||||
|
@ -33,16 +32,10 @@ in {
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"custom/display"
|
"custom/display"
|
||||||
"custom/network"
|
"custom/network"
|
||||||
# "tray"
|
|
||||||
];
|
];
|
||||||
"sway/workspaces" = {
|
"sway/workspaces" = {
|
||||||
all-outputs = true;
|
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" = {
|
"sway/scratchpad" = {
|
||||||
format = "{icon} {count}";
|
format = "{icon} {count}";
|
||||||
on-click = "swaymsg 'scratchpad show'";
|
on-click = "swaymsg 'scratchpad show'";
|
||||||
|
@ -55,9 +48,6 @@ in {
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
tray = {
|
|
||||||
spacing = 8;
|
|
||||||
};
|
|
||||||
clock = {
|
clock = {
|
||||||
format-alt = "{:%H:%M %a %d %b}";
|
format-alt = "{:%H:%M %a %d %b}";
|
||||||
on-click-right = "xdg-open https://cloud.voronind.com/apps/calendar/";
|
on-click-right = "xdg-open https://cloud.voronind.com/apps/calendar/";
|
||||||
|
@ -104,8 +94,8 @@ in {
|
||||||
format-muted = "{format_source}";
|
format-muted = "{format_source}";
|
||||||
format-source = "";
|
format-source = "";
|
||||||
format-source-muted = " ";
|
format-source-muted = " ";
|
||||||
on-click = "pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
on-click = "pavucontrol";
|
||||||
on-click-middle = "pavucontrol";
|
on-click-middle = "pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||||
on-click-right = "pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
on-click-right = "pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
||||||
scroll-step = 5;
|
scroll-step = 5;
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,11 +24,9 @@ in {
|
||||||
#clock,
|
#clock,
|
||||||
#custom-display,
|
#custom-display,
|
||||||
#custom-network,
|
#custom-network,
|
||||||
#language,
|
|
||||||
#mpris,
|
#mpris,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#scratchpad,
|
#scratchpad {
|
||||||
#tray {
|
|
||||||
padding: ${paddingV} ${paddingH};
|
padding: ${paddingV} ${paddingH};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,11 +45,9 @@ in {
|
||||||
#custom-display:hover,
|
#custom-display:hover,
|
||||||
#custom-network:hover,
|
#custom-network:hover,
|
||||||
#hardware:hover,
|
#hardware:hover,
|
||||||
#language:hover,
|
|
||||||
#mpris:hover,
|
#mpris:hover,
|
||||||
#pulseaudio:hover,
|
#pulseaudio:hover,
|
||||||
#scratchpad:hover,
|
#scratchpad:hover,
|
||||||
#tray:hover,
|
|
||||||
#workspaces button: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});
|
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,
|
#custom-network,
|
||||||
#memory,
|
#memory,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#temperature,
|
#temperature {
|
||||||
#tray {
|
|
||||||
border-top: ${toString config.module.style.window.border}px solid transparent;
|
border-top: ${toString config.module.style.window.border}px solid transparent;
|
||||||
border-bottom: ${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,
|
#memory.critical,
|
||||||
#pulseaudio.muted,
|
#pulseaudio.muted,
|
||||||
#pulseaudio.source-muted,
|
#pulseaudio.source-muted,
|
||||||
#temperature.critical,
|
#temperature.critical {
|
||||||
#tray.needs-attention {
|
|
||||||
border-top: ${toString config.module.style.window.border}px solid #${config.module.style.color.accent};
|
border-top: ${toString config.module.style.window.border}px solid #${config.module.style.color.accent};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue