tangled
alpha
login
or
join now
stau.space
/
nixos
0
fork
atom
My NixOS configuration.
0
fork
atom
overview
issues
pulls
pipelines
feat: Changed the padding around windows.
Diego A. Estrada Rivera
1 year ago
f8202491
0d2cccb0
+12
-3
1 changed file
expand all
collapse all
unified
split
homeManagerModules
skins
nier
sway.nix
+12
-3
homeManagerModules/skins/nier/sway.nix
···
2
2
let cfg = config.rice.nier; in
3
3
{
4
4
config = lib.mkIf cfg.enable {
5
5
+
programs.eww = {
6
6
+
enable = true;
7
7
+
};
5
8
home.packages = with pkgs; [
6
9
wl-clipboard
7
10
tofi
···
12
15
package = pkgs.swayfx;
13
16
checkConfig = false;
14
17
config = rec {
18
18
+
bars = [
19
19
+
{ command = "${pkgs.eww}/bin/eww open bar"; }
20
20
+
{ command = "${pkgs.eww}/bin/eww open clock"; }
21
21
+
{ command = "${pkgs.eww}/bin/eww open battery"; }
22
22
+
];
15
23
modifier = "Mod4";
16
24
terminal = "alacritty";
17
25
startup = [
···
22
30
left = "h";
23
31
menu = "tofi-run | xargs swaymsg exec --";
24
32
gaps = {
25
25
-
inner = 2;
26
26
-
outer = 2;
33
33
+
top = 6;
34
34
+
inner = 4;
35
35
+
outer = 10;
27
36
};
28
37
input = {
29
38
"1:1:AT_Translated_Set_2_keyboard" = {
···
59
68
};
60
69
};
61
70
extraConfig = ''
62
62
-
corner_radius 2
71
71
+
corner_radius 7
63
72
smart_corner_radius on
64
73
shadows on
65
74
blur enable