blob: 172f9640d9ff95c539b0d86b62b0850f482ff060 (
plain)
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
31
32
33
34
35
36
|
{ config, pkgs, lib, ... }:
{
imports = [ ./bar ./keybindings.nix ./startup.nix ];
xsession.windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
config = rec {
assigns = {
"8: media" = [{ class = "^Steam$"; }];
"9: social" = [ { class = "^Thunderbird$"; } { class = "^Signal$"; } ];
};
window.border = 0;
gaps = {
inner = 15;
outer = 5;
};
};
};
home.file.".config/i3/i3status.sh" = {
text = ''
#!${pkgs.bash}/bin/sh
${pkgs.i3status}/bin/i3status | while :
do
read line
echo "☼ $(${pkgs.brightnessctl}/bin/brightnessctl -m | cut -d',' -f4) |\
$line" || exit 1
done
'';
executable = true;
};
}
|