waybar fix center, no event
This commit is contained in:
@@ -166,6 +166,7 @@ if __name__ == "__main__":
|
|||||||
margin-bottom = 0;
|
margin-bottom = 0;
|
||||||
margin-right = 0;
|
margin-right = 0;
|
||||||
spacing = 10;
|
spacing = 10;
|
||||||
|
fixed-center = true;
|
||||||
modules-left = [
|
modules-left = [
|
||||||
# "cpu"
|
# "cpu"
|
||||||
# "memory"
|
# "memory"
|
||||||
@@ -180,7 +181,7 @@ if __name__ == "__main__":
|
|||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"custom/mode"
|
"custom/mode"
|
||||||
"custom/caldav_event"
|
# "custom/caldav_event"
|
||||||
"custom/cclock"
|
"custom/cclock"
|
||||||
"tray"
|
"tray"
|
||||||
];
|
];
|
||||||
@@ -203,6 +204,7 @@ if __name__ == "__main__":
|
|||||||
format = "${sep}{}";
|
format = "${sep}{}";
|
||||||
exec = "caldav_event";
|
exec = "caldav_event";
|
||||||
restart-interval = 60;
|
restart-interval = 60;
|
||||||
|
max-width = 60;
|
||||||
};
|
};
|
||||||
"custom/mode" = {
|
"custom/mode" = {
|
||||||
exec = "cat /tmp/waybar-mode";
|
exec = "cat /tmp/waybar-mode";
|
||||||
@@ -302,6 +304,10 @@ if __name__ == "__main__":
|
|||||||
color: rgb(${f accent.bright});
|
color: rgb(${f accent.bright});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
font-family: ${rice.font.code.name};
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
color: rgb(${f accent.base});
|
color: rgb(${f accent.base});
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
@@ -326,7 +332,7 @@ if __name__ == "__main__":
|
|||||||
color: rgb(${f red.base});
|
color: rgb(${f red.base});
|
||||||
}
|
}
|
||||||
|
|
||||||
#window, #custom-ctimeremaining {
|
#window, #custom-caldav_event {
|
||||||
font-family: ${rice.font.base.name}, ${rice.font.code.name};
|
font-family: ${rice.font.base.name}, ${rice.font.code.name};
|
||||||
color: rgb(${f tertiary.bright});
|
color: rgb(${f tertiary.bright});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user