1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
config,
...
}:
{
config = {
programs.swayr = {
enable = true;
extraConfig = ''
[format]
window_format = "{app_name} - {title} - Workspace: {workspace_name}\u0000icon\u001f{app_icon}"
''; # We do this here because `settings` does weird string escapism shenanigans that break backslashes; '\\' -> '\\\\'
settings = {
menu = {
executable = "${config.programs.fuzzel.package}/bin/fuzzel";
args = [
"--dmenu"
"--lines=30"
"--prompt=Select Window: "
"--width=150"
];
};
};
systemd.enable = true;
};
};
}