mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
sway/waybar: add scratchpad module to panel
This commit is contained in:
parent
8f3fd54044
commit
2b37856369
|
@ -84,11 +84,16 @@
|
|||
#workspaces,
|
||||
#mode,
|
||||
#submap,
|
||||
#scratchpad,
|
||||
#tray,
|
||||
#clock,
|
||||
#hardware {
|
||||
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;
|
||||
padding: 0px 10px 0px 10px;
|
||||
}
|
||||
|
@ -151,6 +156,13 @@
|
|||
"sway/window" = {
|
||||
"max-length" = 100;
|
||||
};
|
||||
"sway/scratchpad" = {
|
||||
"format" = "{icon} {count}";
|
||||
"show-empty" = false;
|
||||
"format-icons" = ["" ""];
|
||||
"tooltip" = true;
|
||||
"tooltip-format" = "{app}: {title}";
|
||||
};
|
||||
"river/window" = {
|
||||
"max-length" = 100;
|
||||
};
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
programs.waybar = {
|
||||
settings = {
|
||||
mainBar = {
|
||||
modules-left = ["sway/workspaces" "sway/mode"];
|
||||
modules-left = ["sway/workspaces" "sway/scratchpad" "sway/mode" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue