update

update
This commit is contained in:
cho
2023-07-02 16:41:21 +07:00
parent 20e21fbc3a
commit a542cb199b
23 changed files with 334 additions and 76 deletions

View File

@ -1,6 +1,6 @@
{
// "layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"position": "bottom", // Waybar position (top|bottom|left|right)
"height": 20, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules
@ -12,14 +12,26 @@
},
// Modules configuration
"sway/workspaces": {
"persistent_workspaces": {
"1": ["HDMI-A-1"],
"2": ["HDMI-A-1"],
"3": ["HDMI-A-1"],
"4": ["HDMI-A-1"],
"5": ["HDMI-A-1"],
"6": ["DVI-D-1"],
"7": ["DVI-D-1"],
"8": ["DVI-D-1"],
"9": ["DVI-D-1"],
"10": ["DVI-D-1"]
},
// "disable-scroll": true,
"all-outputs": true,
"all-outputs": false,
"format": "{icon}",
"format-icons": {
"1": "1-em", // emacs
"2": "2-se", // search/web
"3": "3-tm", // terminal
"4": "4",
"4": "4-gm",
"5": "5",
"6": "6",
"7": "7",

View File

@ -7,11 +7,40 @@
min-height: 0;
}
#workspaces {
margin: 0 4px;
}
#workspaces button {
/*background-color: #6B313D;*/
/*color: #bbbbbb;*/
background-color: #444444;
color: #bbbbbb;
padding: 0 8px;
min-width: 0;
}
#workspaces button.persistent {
/*background-color: #000000;*/
background-color: #222222;
color: #bbbbbb;
}
#workspaces button.focused {
color: #000000;
background-color: #888888;
}
#workspaces button.visible {
color: #000000;
background-color: #888888;
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
window#waybar {
background-color: #000;
/*background-color: #000;*/
background-color: #222222;
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
/*transition-property: background-color;*/
/*transition-duration: .5s;*/
}
window#waybar.hidden {
@ -36,27 +65,6 @@ window#waybar.chromium {
border: none;
}
#workspaces button {
padding: 0 8px;
background-color: #6B313D;
color: #bbbbbb;
/* background-color: transparent;
color: #ffffff;*/
min-width: 0;
}
#workspaces button.focused {
/*colorful*/
color: #000000;
background-color: #888888;
/*background-color: #424242;
color: #ffffff;
box-shadow: inset 2px 2px #555555, inset -2px -2px #555555;*/
}
#workspaces button.urgent {
background-color: #eb4d4b;
}
#mode {
background-color: #64727D;
@ -91,9 +99,6 @@ window#waybar.chromium {
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
@ -136,11 +141,11 @@ window#waybar.chromium {
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
/*animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-direction: alternate;*/
}
label:focus {