tangled
alpha
login
or
join now
haripm.com
/
seafoam
0
fork
atom
Nix config files for my laptop and servers
0
fork
atom
overview
issues
2
pulls
pipelines
Switch to noctalia-shell ipc for binds
haripm.com
2 weeks ago
ca1b3ef9
4c848b57
verified
This commit was signed with the committer's
known signature
.
haripm.com
SSH Key Fingerprint:
SHA256:ZTpS3XMWH3PIjWXEDMx28M7YKmd9xpeOpqUD6gqb1pg=
+11
-8
1 changed file
expand all
collapse all
unified
split
modules
home
desktops
niri.nix
+11
-8
modules/home/desktops/niri.nix
···
64
{proportion = 1. / 2.;}
65
{proportion = 2. / 3.;}
66
];
0
67
focus-ring = {
68
active = {color = "#a7c080";};
69
inactive = {color = "#232a2e";};
···
129
}
130
];
131
132
-
binds = {
0
0
133
"Mod+Shift+Slash".action.show-hotkey-overlay = [];
134
"Mod+grave" = {
135
action.spawn = "ghostty";
···
140
hotkey-overlay = {title = "fuzzel";};
141
};
142
"Super+Alt+L" = {
143
-
action.spawn = "swaylock";
144
hotkey-overlay = {title = "Lock screen";};
145
};
146
"XF86AudioRaiseVolume" = {
147
-
action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+"];
148
allow-when-locked = true;
149
};
150
"XF86AudioLowerVolume" = {
151
-
action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05-"];
152
allow-when-locked = true;
153
};
154
"XF86AudioMute" = {
155
-
action.spawn = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];
156
allow-when-locked = true;
157
};
158
"XF86AudioPlay" = {
159
-
action.spawn = ["playerctl" "play-pause"];
160
allow-when-locked = true;
161
};
162
"XF86MonBrightnessUp" = {
163
-
action.spawn = ["brightnessctl" "--class=backlight" "set" "+10%"];
164
allow-when-locked = true;
165
};
166
"XF86MonBrightnessDown" = {
167
-
action.spawn = ["brightnessctl" "--class=backlight" "set" "10%-"];
168
allow-when-locked = true;
169
};
170
"Mod+O" = {
···
64
{proportion = 1. / 2.;}
65
{proportion = 2. / 3.;}
66
];
67
+
68
focus-ring = {
69
active = {color = "#a7c080";};
70
inactive = {color = "#232a2e";};
···
130
}
131
];
132
133
+
binds = let
134
+
noctalia = cmd: ["noctalia-shell" "ipc" "call"] ++ (pkgs.lib.splitString " " cmd);
135
+
in {
136
"Mod+Shift+Slash".action.show-hotkey-overlay = [];
137
"Mod+grave" = {
138
action.spawn = "ghostty";
···
143
hotkey-overlay = {title = "fuzzel";};
144
};
145
"Super+Alt+L" = {
146
+
action.spawn = noctalia "sessionMenu lock";
147
hotkey-overlay = {title = "Lock screen";};
148
};
149
"XF86AudioRaiseVolume" = {
150
+
action.spawn = noctalia "volume increase";
151
allow-when-locked = true;
152
};
153
"XF86AudioLowerVolume" = {
154
+
action.spawn = noctalia "volume decrease";
155
allow-when-locked = true;
156
};
157
"XF86AudioMute" = {
158
+
action.spawn = noctalia "volume muteOutput";
159
allow-when-locked = true;
160
};
161
"XF86AudioPlay" = {
162
+
action.spawn = noctalia "media playPause";
163
allow-when-locked = true;
164
};
165
"XF86MonBrightnessUp" = {
166
+
action.spawn = noctalia "brightness increase";
167
allow-when-locked = true;
168
};
169
"XF86MonBrightnessDown" = {
170
+
action.spawn = noctalia "brightness decrease";
171
allow-when-locked = true;
172
};
173
"Mod+O" = {