Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
31acf0a234 |
|||
|
9905b46153 |
1 changed files with 31 additions and 31 deletions
|
|
@ -45,7 +45,7 @@ let
|
|||
}
|
||||
|
||||
.control-center {
|
||||
background: @theme_bg_color;
|
||||
background: shade(@theme_bg_color, 1.1);
|
||||
}
|
||||
|
||||
.notification-row .notification-background .notification,
|
||||
|
|
@ -86,8 +86,7 @@ let
|
|||
}
|
||||
'';
|
||||
|
||||
session-programs = lib.getExe (
|
||||
pkgs.writeShellApplication {
|
||||
session-programs = pkgs.writeShellApplication {
|
||||
name = "session-programs";
|
||||
runtimeInputs = with pkgs; [
|
||||
procps
|
||||
|
|
@ -112,12 +111,13 @@ let
|
|||
restart 'bin/swayosd-server ' ${lib.getExe' pkgs.swayosd "swayosd-server"} --style ${osd-style}
|
||||
restart 'bin/swaync ' ${lib.getExe' swaync "swaync"} --style ${swaync-style} --config ${swaync-config}
|
||||
'';
|
||||
}
|
||||
);
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ inputs.fht-compositor.nixosModules.default ];
|
||||
|
||||
environment.systemPackages = [ session-programs ];
|
||||
|
||||
# Prefer the GNOME portal (e.g. Nautilus as the file picker), falling back to GTK. This replaces
|
||||
# the portal config fht-compositor ships.
|
||||
xdg.portal.config.fht-compositor = {
|
||||
|
|
@ -195,7 +195,7 @@ in
|
|||
'';
|
||||
|
||||
environment.etc.${filename}.source = (pkgs.formats.toml { }).generate "config.toml" {
|
||||
autostart = [ session-programs ];
|
||||
autostart = [ "session-programs" ];
|
||||
|
||||
general = {
|
||||
focus-follows-mouse = true;
|
||||
|
|
@ -217,7 +217,7 @@ in
|
|||
Super-Ctrl-q = "quit";
|
||||
Super-Ctrl-r = {
|
||||
action = "run-command";
|
||||
arg = "fht-compositor ipc action reload-config; ${session-programs}";
|
||||
arg = "fht-compositor ipc action reload-config; session-programs";
|
||||
};
|
||||
|
||||
# Runs when Super is tapped on its own (patched in, see lone-modifier.patch)
|
||||
|
|
|
|||
Loading…
Reference in a new issue