dwm ags bar 1

This commit is contained in:
Sakooooo 2024-11-09 23:12:12 +04:00
parent 6adef27fb9
commit 192a0fbc58
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 12 additions and 16 deletions

View file

@ -250,8 +250,8 @@ function Bar(monitor = 0) {
name: `bar-${monitor}`, // name has to be unique name: `bar-${monitor}`, // name has to be unique
class_name: "bar", class_name: "bar",
monitor, monitor,
anchor: ["bottom", "left", "right"], anchor: ["top", "left", "right"],
margins: [0, 10, 0, 10], margins: [0, 0, 0, 0],
exclusivity: "exclusive", exclusivity: "exclusive",
child: Widget.CenterBox({ child: Widget.CenterBox({
start_widget: Left(), start_widget: Left(),

View file

@ -4,22 +4,18 @@
} }
window.bar { window.bar {
/* background-color: @theme_bg_color; */ /* background-color: @theme_bg_color; */
background: rgba(0, 0, 0, .1); background: #222222;
color: @theme_fg_color; color: @theme_fg_color;
min-height: 10rem;
border: 2px solid #ea4c88;
border-bottom: none;
border-radius: 6px 6px 0px 0px;
} }
button { button {
min-width: 0; min-width: 0;
/* padding-top: 0; padding-top: 0;
padding-bottom: 0; */ padding-bottom: 0;
background-color: transparent; background-color: transparent;
padding: 5px; padding: 5px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
border: none; border: none;
background: none; background: none;
@ -51,7 +47,7 @@ label {
padding-bottom: 0; padding-bottom: 0;
margin: 0; margin: 0;
background-color: transparent; background-color: transparent;
padding-bottom: 2px; padding-bottom: 2px;
} }
.workspace-inactive { .workspace-inactive {
@ -69,5 +65,5 @@ label {
levelbar block, levelbar block,
highlight { highlight {
min-height: 10px; min-height: 10px;
} }