mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-06-25 06:23:59 +02:00
update waybar with new logout/power module
This commit is contained in:
parent
8cca098f5a
commit
0e5213a687
@ -85,9 +85,13 @@ in with lib; {
|
|||||||
"custom/themeselector" = {
|
"custom/themeselector" = {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
format = "";
|
format = "";
|
||||||
# exec = "theme-selector";
|
|
||||||
on-click = "sleep 0.1 && theme-selector";
|
on-click = "sleep 0.1 && theme-selector";
|
||||||
};
|
};
|
||||||
|
"custom/exit" = {
|
||||||
|
tooltip = false;
|
||||||
|
format = "";
|
||||||
|
on-click = "sleep 0.1 && wlogout";
|
||||||
|
};
|
||||||
"custom/startmenu" = {
|
"custom/startmenu" = {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
format = " ";
|
format = " ";
|
||||||
@ -541,6 +545,24 @@ in with lib; {
|
|||||||
padding: 2px 10px;
|
padding: 2px 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
''}
|
''}
|
||||||
|
}
|
||||||
|
#custom-exit {
|
||||||
|
color: #${palette.base0E};
|
||||||
|
${if slickbar == true || slickbar-num == true then ''
|
||||||
|
background: #${palette.base00};
|
||||||
|
border-radius: 15px 50px 15px 50px;
|
||||||
|
margin: 5px;
|
||||||
|
padding: 2px 20px;
|
||||||
|
'' else if simplebar == true then ''
|
||||||
|
color: #${config.colorScheme.colors.base05};
|
||||||
|
background: transparent;
|
||||||
|
margin: 4px;
|
||||||
|
'' else ''
|
||||||
|
background: #${palette.base01};
|
||||||
|
margin: 4px;
|
||||||
|
padding: 2px 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
''}
|
||||||
} ''
|
} ''
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user