2nd commit : edit of waybar now in overlay mode
This commit is contained in:
parent
a57c4c068f
commit
89be70159a
5 changed files with 71 additions and 95 deletions
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
"reload_style_on_change": true,
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
"margin-top": 0,
|
||||
"margin-left": 5,
|
||||
"margin-right": 5,
|
||||
"ipc": true,
|
||||
"layer": "overlay",
|
||||
"position": "bottom",
|
||||
"output": "eDP-1",
|
||||
"margin-top": 1,
|
||||
"margin-left": 41,
|
||||
"margin-right": 41,
|
||||
"margin-bottom": 0,
|
||||
|
||||
|
||||
|
|
@ -26,19 +27,6 @@
|
|||
"modules": ["sway/workspaces"]
|
||||
},
|
||||
|
||||
|
||||
"group/left3": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
"custom/screenrecording-indicator"
|
||||
]
|
||||
},
|
||||
|
||||
"group/left4": {
|
||||
"orientation": "inherit",
|
||||
"modules": []
|
||||
},
|
||||
|
||||
"modules-left": [
|
||||
"group/left0",
|
||||
"group/left1",
|
||||
|
|
@ -89,7 +77,7 @@
|
|||
"on-click-right": "",
|
||||
"tooltip-format": "L’université n’est pas une usine à fabriquer des diplômes, à la façon des usines à saucisses qui fabriquent des saucisses. \n\nC’est le lieu où une chance est donnée à des hommes de devenir qui ils sont vraiment. \n\nSimon Leys"
|
||||
},
|
||||
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
|
|
@ -260,7 +248,7 @@
|
|||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 12,
|
||||
"icon-size": 19,
|
||||
"spacing": 10
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
* {
|
||||
font-family: 'JetBrainsMono Nerd Font';
|
||||
font-size: 16px;
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
min-height: 0px;
|
||||
border-radius:7px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* --- Waybar ---*/
|
||||
|
|
@ -18,9 +18,9 @@
|
|||
}
|
||||
|
||||
#waybar > box {
|
||||
margin: 2px 6px;
|
||||
margin: 0px 50px;
|
||||
padding: 0px;
|
||||
background-color: @base;
|
||||
background-color: transparent;
|
||||
border: 0px solid alpha(@highlightMed, 0.3);
|
||||
box-shadow:
|
||||
inset 3px 0 0 0px @iris,
|
||||
|
|
@ -32,35 +32,32 @@
|
|||
#left0, #left1, #left2, #left3, #left4,
|
||||
#right1, #right2,
|
||||
.modules-center {
|
||||
margin: 0px 2px;
|
||||
padding: 0 5px;
|
||||
margin: 0px 3px;
|
||||
padding: 0 4px;
|
||||
transition: all 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
#left0 {
|
||||
background-color: @overlay;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
#left1 {
|
||||
background-color: @overlay;
|
||||
background-color: @base;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
#left2 {
|
||||
background-color: @overlay;
|
||||
box-shadow: inset 0 -3px 0 0 @love;
|
||||
padding: 0px;
|
||||
#left1 {
|
||||
background-color: @base;
|
||||
border-radius: 5px;
|
||||
box-shadow: inset 0px -3px 0px 0px @pine;
|
||||
}
|
||||
|
||||
#left3 {
|
||||
background-color: @surface;
|
||||
box-shadow: inset 0 -3px 0 0 @pine;
|
||||
#left2 {
|
||||
background-color: @base;
|
||||
box-shadow: inset 0 -3px 0 0 @love;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
color: @plum;
|
||||
background-color: @surface;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 -3px 0 0 @foam;
|
||||
padding: 0px;
|
||||
}
|
||||
|
|
@ -68,6 +65,7 @@ background-color: @surface;
|
|||
#right1 {
|
||||
background-color: @surface;
|
||||
box-shadow: inset 0 -3px 0 0 @subtle;
|
||||
margin-left: 2;
|
||||
}
|
||||
|
||||
#right2 {
|
||||
|
|
@ -154,14 +152,12 @@ window#waybar.empty #window {
|
|||
#custom-debian,
|
||||
#custom-screenrecording-indicator,
|
||||
#custom-updatespacman {
|
||||
min-width: 16px;
|
||||
min-width: 22px;
|
||||
margin: 0 2px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
#custom-update {
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
|
||||
/* --- Module-Group-Colors --- */
|
||||
|
||||
|
|
@ -188,14 +184,6 @@ window#waybar.empty #window {
|
|||
color: @love;
|
||||
}
|
||||
|
||||
#custom-idle-indicator,
|
||||
#custom-notification-silencing-indicator {
|
||||
min-width: 12px;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
font-size: 12px;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
|
||||
/* Specific Module */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue