chore: update and minify config
This commit is contained in:
parent
6efa74ea62
commit
f893a5d054
1634 changed files with 1974 additions and 281623 deletions
66
.config/waybar/config.jsonc
Normal file
66
.config/waybar/config.jsonc
Normal file
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
// "layer": "top", // Waybar at top layer
|
||||
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 24, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
"spacing": 0, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-right": ["cpu", "memory", "sway/language", "tray", "clock"],
|
||||
// Modules configuration
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"format": "{icon}",
|
||||
"persistent_workspaces": {
|
||||
"1": ["DP-2"],
|
||||
"2": ["DP-3"],
|
||||
"3": ["DP-2"],
|
||||
"4": ["DP-3"],
|
||||
"5": ["DP-2"],
|
||||
"6": ["DP-3"],
|
||||
"7": ["DP-2"],
|
||||
"8": ["DP-3"]
|
||||
},
|
||||
"format-icons": {
|
||||
"1": "䷀",
|
||||
"2": "䷁",
|
||||
"3": "䷂",
|
||||
"4": "䷃",
|
||||
"5": "䷄",
|
||||
"6": "䷅",
|
||||
"7": "䷆",
|
||||
"8": "䷇",
|
||||
"urgent": ""
|
||||
//"focused": "",
|
||||
//"default": ""
|
||||
}
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
//"idle_inhibitor": {
|
||||
//"format": "{icon}",
|
||||
//"format-icons": {
|
||||
//"activated": "",
|
||||
//"deactivated": ""
|
||||
//}
|
||||
//},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
// "timezone": "America/New_York",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format-alt": "{:%Y-%m-%d}"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% ",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% "
|
||||
}
|
||||
}
|
43
.config/waybar/style.css
Normal file
43
.config/waybar/style.css
Normal file
|
@ -0,0 +1,43 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: "Ubuntu Nerd Font";
|
||||
font-size: 13px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#window {
|
||||
font-weight: bold;
|
||||
font-family: "Ubuntu";
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background: transparent;
|
||||
color: white;
|
||||
border-top: 2px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: #BD93F9;
|
||||
border-top: 2px solid #BD93F9;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: #64727D;
|
||||
border-bottom: 3px solid white;
|
||||
}
|
||||
|
||||
#clock, #cpu, #memory, #language, #tray, #mode {
|
||||
padding: 0 3px;
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
font-weight: bold;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue