fix ly complaint, move sway_config to its own file
This commit is contained in:
@@ -6,7 +6,17 @@
|
||||
...
|
||||
}: let
|
||||
background-path = ".config/sway/background.png";
|
||||
sway_config = builtins.toFile "sway_config" ''
|
||||
sway_config =
|
||||
pkgs.substitute
|
||||
{
|
||||
src = ./sway_config;
|
||||
substitutions = [
|
||||
"--replace"
|
||||
"@backgroundImagePath@"
|
||||
"${config.home.homeDirectory}/${background-path}"
|
||||
];
|
||||
};
|
||||
sway_config' = builtins.toFile "sway_config" ''
|
||||
set $mod Mod4
|
||||
set $left h
|
||||
set $down j
|
||||
|
||||
Reference in New Issue
Block a user