Add tray
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-left": ["sway/workspaces"],
|
"modules-left": ["sway/workspaces"],
|
||||||
"modules-right": ["pulseaudio", "sway/language", "network", "clock"],
|
"modules-right": ["pulseaudio", "sway/language", "network", "clock", "tray"],
|
||||||
|
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"all-output": true,
|
"all-output": true,
|
||||||
@@ -24,5 +24,9 @@
|
|||||||
"format": "{:%d %b %H:%M, %A}",
|
"format": "{:%d %b %H:%M, %A}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"on-click": "firefox https://calendar.google.com"
|
"on-click": "firefox https://calendar.google.com"
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 16,
|
||||||
|
"spacing": 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ window#waybar {
|
|||||||
background: #191e2a;
|
background: #191e2a;
|
||||||
color: #cbccc6;
|
color: #cbccc6;
|
||||||
font-family: "Fira Code", "Font Awesome 5 Free Solid";
|
font-family: "Fira Code", "Font Awesome 5 Free Solid";
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
@@ -32,7 +33,8 @@ window#waybar {
|
|||||||
#clock,
|
#clock,
|
||||||
#network,
|
#network,
|
||||||
#language,
|
#language,
|
||||||
#pulseaudio {
|
#pulseaudio,
|
||||||
|
#tray {
|
||||||
background: #202734;
|
background: #202734;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
@@ -42,9 +44,3 @@ window#waybar {
|
|||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
color: #ffa759;
|
color: #ffa759;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network,
|
|
||||||
#language,
|
|
||||||
#pulseaudio {
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user