summaryrefslogtreecommitdiffstats
path: root/usecases
diff options
context:
space:
mode:
Diffstat (limited to 'usecases')
-rw-r--r--usecases/desktop/graphical/sway.nix45
1 files changed, 16 insertions, 29 deletions
diff --git a/usecases/desktop/graphical/sway.nix b/usecases/desktop/graphical/sway.nix
index 1f0c1d1..17bc5b8 100644
--- a/usecases/desktop/graphical/sway.nix
+++ b/usecases/desktop/graphical/sway.nix
@@ -150,9 +150,9 @@ _inputs: {
150 "${modifier}+Shift+ccedilla" = "move container to workspace 9"; 150 "${modifier}+Shift+ccedilla" = "move container to workspace 9";
151 "${modifier}+Shift+agrave" = "move container to workspace 10"; 151 "${modifier}+Shift+agrave" = "move container to workspace 10";
152 152
153 "${modifier}+comma" = "exec fnottctl dismiss"; 153 "${modifier}+comma" = "exec makoctl dismiss";
154 "${modifier}+Shift+comma" = "exec fnottctl dismiss all"; 154 "${modifier}+Shift+comma" = "exec makoctl dismiss --all";
155 "${modifier}+period" = "exec fnottctl actions"; 155 "${modifier}+period" = "exec makoctl menu rofi -dmenu -no-custom";
156 156
157 "${modifier}+m" = "exec ${pkgs.swaylock}/bin/swaylock"; 157 "${modifier}+m" = "exec ${pkgs.swaylock}/bin/swaylock";
158 158
@@ -172,6 +172,10 @@ _inputs: {
172 output."*".bg = "${../../../res/wallpapers/wallpaper-1920x1080-kernel-card-black.png} fill"; 172 output."*".bg = "${../../../res/wallpapers/wallpaper-1920x1080-kernel-card-black.png} fill";
173 173
174 startup = [ 174 startup = [
175 {
176 command = "mako";
177 always = true;
178 }
175 {command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";} 179 {command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";}
176 ]; 180 ];
177 181
@@ -184,37 +188,20 @@ _inputs: {
184 }; 188 };
185 }; 189 };
186 190
187 services.fnott = { 191 programs.mako = with osConfig.theme.colors; {
188 enable = true; 192 enable = true;
189 extraFlags = ["-s"]; 193 backgroundColor = background0;
190 settings = let 194 borderColor = lightBackground;
191 color = c: (lib.removePrefix "#" c) + "ff"; 195 borderSize = 2;
192 in 196 progressColor = neutralBlue;
193 with osConfig.theme.colors; { 197 textColor = foreground;
194 main = {
195 title-color = color foreground;
196 summary-color = color foreground;
197 body-color = color foreground;
198 198
199 border-size = 1; 199 margin = "15";
200 border-color = color background0; 200 padding = "7";
201 201
202 min-width = 300; 202 groupBy = "app-name";
203
204 notification-margin = 5;
205
206 selection-helper = "${config.programs.rofi.finalPackage}/bin/rofi -dmenu -no-custom";
207 };
208
209 normal.background = color lightBackground;
210 low.background = color background;
211 critical.background = color brightRed;
212 };
213 }; 203 };
214 204
215 # TODO: upstream
216 systemd.user.services.fnott.Install.WantedBy = ["graphical-session.target"];
217
218 services.wlsunset = { 205 services.wlsunset = {
219 enable = true; 206 enable = true;
220 latitude = "48.864716"; 207 latitude = "48.864716";