mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 22:51:54 -05:00
sway/waybar: add scratchpad module to panel
This commit is contained in:
parent
8f3fd54044
commit
2b37856369
|
@ -84,11 +84,16 @@
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#mode,
|
#mode,
|
||||||
#submap,
|
#submap,
|
||||||
|
#scratchpad,
|
||||||
#tray,
|
#tray,
|
||||||
#clock,
|
#clock,
|
||||||
#hardware {
|
#hardware {
|
||||||
border-radius: 10;
|
border-radius: 10;
|
||||||
background: rgba ${if config.alyraffauf.desktop.theme.colors.preferDark then "(35, 38, 52, 0.8);" else "(220, 224, 232, 0.8);"}
|
background: rgba ${
|
||||||
|
if config.alyraffauf.desktop.theme.colors.preferDark
|
||||||
|
then "(35, 38, 52, 0.8);"
|
||||||
|
else "(220, 224, 232, 0.8);"
|
||||||
|
}
|
||||||
margin: 5px 10px 0px 10px;
|
margin: 5px 10px 0px 10px;
|
||||||
padding: 0px 10px 0px 10px;
|
padding: 0px 10px 0px 10px;
|
||||||
}
|
}
|
||||||
|
@ -151,6 +156,13 @@
|
||||||
"sway/window" = {
|
"sway/window" = {
|
||||||
"max-length" = 100;
|
"max-length" = 100;
|
||||||
};
|
};
|
||||||
|
"sway/scratchpad" = {
|
||||||
|
"format" = "{icon} {count}";
|
||||||
|
"show-empty" = false;
|
||||||
|
"format-icons" = ["" ""];
|
||||||
|
"tooltip" = true;
|
||||||
|
"tooltip-format" = "{app}: {title}";
|
||||||
|
};
|
||||||
"river/window" = {
|
"river/window" = {
|
||||||
"max-length" = 100;
|
"max-length" = 100;
|
||||||
};
|
};
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
modules-left = ["sway/workspaces" "sway/mode"];
|
modules-left = ["sway/workspaces" "sway/scratchpad" "sway/mode" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue