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
64
{proportion = 1. / 2.;}
65
65
{proportion = 2. / 3.;}
66
66
];
67
67
+
67
68
focus-ring = {
68
69
active = {color = "#a7c080";};
69
70
inactive = {color = "#232a2e";};
···
129
130
}
130
131
];
131
132
132
132
-
binds = {
133
133
+
binds = let
134
134
+
noctalia = cmd: ["noctalia-shell" "ipc" "call"] ++ (pkgs.lib.splitString " " cmd);
135
135
+
in {
133
136
"Mod+Shift+Slash".action.show-hotkey-overlay = [];
134
137
"Mod+grave" = {
135
138
action.spawn = "ghostty";
···
140
143
hotkey-overlay = {title = "fuzzel";};
141
144
};
142
145
"Super+Alt+L" = {
143
143
-
action.spawn = "swaylock";
146
146
+
action.spawn = noctalia "sessionMenu lock";
144
147
hotkey-overlay = {title = "Lock screen";};
145
148
};
146
149
"XF86AudioRaiseVolume" = {
147
147
-
action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+"];
150
150
+
action.spawn = noctalia "volume increase";
148
151
allow-when-locked = true;
149
152
};
150
153
"XF86AudioLowerVolume" = {
151
151
-
action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05-"];
154
154
+
action.spawn = noctalia "volume decrease";
152
155
allow-when-locked = true;
153
156
};
154
157
"XF86AudioMute" = {
155
155
-
action.spawn = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];
158
158
+
action.spawn = noctalia "volume muteOutput";
156
159
allow-when-locked = true;
157
160
};
158
161
"XF86AudioPlay" = {
159
159
-
action.spawn = ["playerctl" "play-pause"];
162
162
+
action.spawn = noctalia "media playPause";
160
163
allow-when-locked = true;
161
164
};
162
165
"XF86MonBrightnessUp" = {
163
163
-
action.spawn = ["brightnessctl" "--class=backlight" "set" "+10%"];
166
166
+
action.spawn = noctalia "brightness increase";
164
167
allow-when-locked = true;
165
168
};
166
169
"XF86MonBrightnessDown" = {
167
167
-
action.spawn = ["brightnessctl" "--class=backlight" "set" "10%-"];
170
170
+
action.spawn = noctalia "brightness decrease";
168
171
allow-when-locked = true;
169
172
};
170
173
"Mod+O" = {